2 # Copyright (C) 2012 Broadcom Corporation
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.
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.
13 obj-
$(CONFIG_ARCH_BCM
) := board_bcm.o bcm_kona_smc.o bcm_kona_smc_asm.o
14 plus_sec
:= $(call as-instr
,.arch_extension sec
,+sec
)
15 AFLAGS_bcm_kona_smc_asm.o
:=-Wa
,-march
=armv7-a
$(plus_sec
)