Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 1 | # |
Markus Mayer | 257b49e | 2013-06-24 15:39:33 -0700 | [diff] [blame] | 2 | # Copyright (C) 2012-2013 Broadcom Corporation |
Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 3 | # |
| 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 Daudt | badb9238 | 2013-09-23 10:20:33 -0700 | [diff] [blame] | 13 | obj-$(CONFIG_ARCH_BCM_MOBILE) := board_bcm281xx.o bcm_kona_smc.o bcm_kona_smc_asm.o kona.o |
Christian Daudt | b8eb35f | 2013-02-26 21:48:49 -0800 | [diff] [blame] | 14 | plus_sec := $(call as-instr,.arch_extension sec,+sec) |
| 15 | AFLAGS_bcm_kona_smc_asm.o :=-Wa,-march=armv7-a$(plus_sec) |