blob: e3d03033a7e2749c30eb5f18e28ec45adf42d096 [file] [log] [blame]
Christian Daudt8ac49e02012-11-19 09:46:10 -08001#
Markus Mayer257b49e2013-06-24 15:39:33 -07002# Copyright (C) 2012-2013 Broadcom Corporation
Christian Daudt8ac49e02012-11-19 09:46:10 -08003#
4# This program is free software; you can redistribute it and/or
5# modify it under the terms of the GNU General Public License as
6# published by the Free Software Foundation version 2.
7#
8# This program is distributed "as is" WITHOUT ANY WARRANTY of any
9# kind, whether express or implied; without even the implied warranty
10# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12
Christian Daudt959faee2013-08-07 11:27:05 -070013obj-$(CONFIG_ARCH_BCM) := board_bcm281xx.o bcm_kona_smc.o bcm_kona_smc_asm.o kona.o
Christian Daudtb8eb35f2013-02-26 21:48:49 -080014plus_sec := $(call as-instr,.arch_extension sec,+sec)
15AFLAGS_bcm_kona_smc_asm.o :=-Wa,-march=armv7-a$(plus_sec)