Makefile 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #
  2. # Copyright (C) 2012-2015 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. # Cygnus
  13. obj-$(CONFIG_ARCH_BCM_CYGNUS) += bcm_cygnus.o
  14. # Hurricane 2
  15. obj-$(CONFIG_ARCH_BCM_HR2) += bcm_hr2.o
  16. # Northstar Plus
  17. obj-$(CONFIG_ARCH_BCM_NSP) += bcm_nsp.o
  18. ifeq ($(CONFIG_ARCH_BCM_NSP),y)
  19. obj-$(CONFIG_SMP) += platsmp.o
  20. endif
  21. # BCM281XX
  22. obj-$(CONFIG_ARCH_BCM_281XX) += board_bcm281xx.o
  23. # BCM21664
  24. obj-$(CONFIG_ARCH_BCM_21664) += board_bcm21664.o
  25. # BCM23550
  26. obj-$(CONFIG_ARCH_BCM_23550) += board_bcm23550.o
  27. # BCM281XX, BCM21664 and BCM23550 SMP support
  28. obj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += platsmp.o
  29. # BCM281XX and BCM21664 L2 cache control
  30. obj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o
  31. # Support for secure monitor traps
  32. obj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o
  33. # BCM2835
  34. ifeq ($(CONFIG_ARCH_BCM2835),y)
  35. obj-y += board_bcm2835.o
  36. obj-y += bcm2711.o
  37. ifeq ($(CONFIG_ARM),y)
  38. obj-$(CONFIG_SMP) += platsmp.o
  39. endif
  40. endif
  41. # BCM5301X
  42. obj-$(CONFIG_ARCH_BCM_5301X) += bcm_5301x.o
  43. ifeq ($(CONFIG_ARCH_BCM_5301X),y)
  44. obj-$(CONFIG_SMP) += platsmp.o
  45. endif
  46. # BCM63XXx
  47. ifeq ($(CONFIG_ARCH_BCM_63XX),y)
  48. obj-y += bcm63xx.o
  49. obj-$(CONFIG_SMP) += bcm63xx_smp.o bcm63xx_pmb.o
  50. endif
  51. ifeq ($(CONFIG_ARCH_BRCMSTB),y)
  52. CFLAGS_platsmp-brcmstb.o += -march=armv7-a
  53. obj-y += brcmstb.o
  54. obj-$(CONFIG_SMP) += platsmp-brcmstb.o
  55. endif