summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/Makefile
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2011-10-13 16:42:21 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:01:56 +0200
commit5882e9e8c3c28b981753ec43967f39287ded66dd (patch)
tree8f121d4b37592fbf095d7f7a987e3089454e4ebc /arch/arm/mach-ux500/Makefile
parent5fc23b5cf069f02cf4ff8a70492469d2370f0e87 (diff)
ux500: Change makefile to support ux500 soc
Change the Makefile and Kconfig to support both db8500 and db5500 -soc in the same build. ST-Ericsson Linux next: OK ST-Ericsson ID: 342253 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Robert Marklund <robert.marklund@stericsson.com> Change-Id: Iad191d021a1df362e232a696347a99c7c47ff574 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24726 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/Makefile')
-rw-r--r--arch/arm/mach-ux500/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/Makefile b/arch/arm/mach-ux500/Makefile
index ee9806e9a44..cb6cd527361 100644
--- a/arch/arm/mach-ux500/Makefile
+++ b/arch/arm/mach-ux500/Makefile
@@ -7,11 +7,15 @@ obj-y := clock.o cpu.o devices.o \
id.o pins.o usb.o timer.o reboot_reasons.o
obj-y += pm/
obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o
-obj-$(CONFIG_UX500_SOC_DB5500) += cpu-db5500.o dma-db5500.o prcmu-db5500.o \
+ifeq ($(CONFIG_UX500_SOC_DB5500), y)
+obj-$(CONFIG_UX500_SOC_DBX500) += cpu-db5500.o dma-db5500.o prcmu-db5500.o \
devices-db5500.o
-obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o devices-db8500.o \
+endif
+ifeq ($(CONFIG_UX500_SOC_DB8500), y)
+obj-$(CONFIG_UX500_SOC_DBX500) += cpu-db8500.o devices-db8500.o \
prcmu-db8500.o clock-db8500.o \
regulator-db8500.o
+endif
obj-$(CONFIG_MACH_MOP500) += board-mop500.o board-mop500-sdi.o \
board-mop500-regulators.o \