aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-spear/Makefile
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-12-06 14:51:56 +0100
committerArnd Bergmann <arnd@arndb.de>2013-03-12 17:40:14 +0100
commit5b65fc560398dd849dbe9f0df68d3934089c894a (patch)
tree9a3bbc0e6846649ee485538ead95d86f406484d0 /arch/arm/mach-spear/Makefile
parent553e7f75a171654d032d0eacbb1ba75bd9be7e8a (diff)
ARM: spear: use multiplatform configuration options.
The spear platform is now multiplatform capable in principle, and everything still builds when enabled. This slightly rearranges the Kconfig options for spear to enable both single- and multiplatform support. As a side-effect, even building the single spear kernel can now enable spear3xx and spear6xx simultaneously, although not together with spear13xx, because they are a different archicture version (v7 instead of v5). Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'arch/arm/mach-spear/Makefile')
-rw-r--r--arch/arm/mach-spear/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-spear/Makefile b/arch/arm/mach-spear/Makefile
index 8a937bff9d81..dc9ce80508ad 100644
--- a/arch/arm/mach-spear/Makefile
+++ b/arch/arm/mach-spear/Makefile
@@ -2,6 +2,8 @@
# SPEAr Platform specific Makefile
#
+ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
+
# Common support
obj-y := restart.o time.o