4c38674c73ecb15d92702ca58b4d0f95bf2888fe
[kvmfornfv.git] / kernel / arch / arm / mach-bcm / Makefile
1 #
2 # Copyright (C) 2012-2014 Broadcom Corporation
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
13 # Cygnus
14 obj-$(CONFIG_ARCH_BCM_CYGNUS) +=  bcm_cygnus.o
15
16 # BCM281XX
17 obj-$(CONFIG_ARCH_BCM_281XX)    += board_bcm281xx.o
18
19 # BCM21664
20 obj-$(CONFIG_ARCH_BCM_21664)    += board_bcm21664.o
21
22 # BCM281XX and BCM21664 SMP support
23 obj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += kona_smp.o
24
25 # BCM281XX and BCM21664 L2 cache control
26 obj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o
27
28 # Support for secure monitor traps
29 obj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o
30 ifeq ($(call as-instr,.arch_extension sec,as_has_sec),as_has_sec)
31 CFLAGS_bcm_kona_smc.o           += -Wa,-march=armv7-a+sec -DREQUIRES_SEC
32 endif
33
34 # BCM2835
35 obj-$(CONFIG_ARCH_BCM2835)      += board_bcm2835.o
36
37 # BCM5301X
38 obj-$(CONFIG_ARCH_BCM_5301X)    += bcm_5301x.o
39
40 # BCM63XXx
41 obj-$(CONFIG_ARCH_BCM_63XX)     := bcm63xx.o
42
43 ifeq ($(CONFIG_ARCH_BRCMSTB),y)
44 CFLAGS_platsmp-brcmstb.o        += -march=armv7-a
45 obj-y                           += brcmstb.o
46 obj-$(CONFIG_SMP)               += headsmp-brcmstb.o platsmp-brcmstb.o
47 endif