summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJohannes Weiner <jw@emlix.com>2009-03-04 16:21:31 +0100
committerChris Zankel <chris@zankel.net>2009-04-02 23:42:42 -0700
commit72197b18bc0e86feba7cc9f907551e30948bd526 (patch)
treebe6652ed23ece7ad06b796b858e0c270509aa2ff /arch
parente5083a63b6a8546c5fe1e571fe529e3939787ec2 (diff)
downloadop-kernel-dev-72197b18bc0e86feba7cc9f907551e30948bd526.zip
op-kernel-dev-72197b18bc0e86feba7cc9f907551e30948bd526.tar.gz
xtensa: variant-specific code
Allow the variant to provide real code. Add empty dummy Makefiles for the existing variants. Signed-off-by: Johannes Weiner <jw@emlix.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/xtensa/Makefile3
-rw-r--r--arch/xtensa/variants/dc232b/Makefile1
-rw-r--r--arch/xtensa/variants/fsf/Makefile1
3 files changed, 5 insertions, 0 deletions
diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile
index 1da55fe..6d7f60e 100644
--- a/arch/xtensa/Makefile
+++ b/arch/xtensa/Makefile
@@ -68,6 +68,9 @@ LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
head-y := arch/xtensa/kernel/head.o
core-y += arch/xtensa/kernel/ arch/xtensa/mm/
+ifneq ($(VARIANT),)
+core-y += arch/xtensa/variants/$(VARIANT)/
+endif
ifneq ($(PLATFORM),)
core-y += arch/xtensa/platforms/$(PLATFORM)/
endif
diff --git a/arch/xtensa/variants/dc232b/Makefile b/arch/xtensa/variants/dc232b/Makefile
new file mode 100644
index 0000000..3c8f268
--- /dev/null
+++ b/arch/xtensa/variants/dc232b/Makefile
@@ -0,0 +1 @@
+# dc232b Makefile
diff --git a/arch/xtensa/variants/fsf/Makefile b/arch/xtensa/variants/fsf/Makefile
new file mode 100644
index 0000000..3fadcfd
--- /dev/null
+++ b/arch/xtensa/variants/fsf/Makefile
@@ -0,0 +1 @@
+# fsf Makefile
OpenPOWER on IntegriCloud