summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
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/xtensa
parente5083a63b6a8546c5fe1e571fe529e3939787ec2 (diff)
downloadlinux-72197b18bc0e86feba7cc9f907551e30948bd526.tar.gz
linux-72197b18bc0e86feba7cc9f907551e30948bd526.tar.bz2
linux-72197b18bc0e86feba7cc9f907551e30948bd526.zip
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/xtensa')
-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 1da55fe4beff..6d7f60e6d559 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 000000000000..3c8f268317d3
--- /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 000000000000..3fadcfd03d19
--- /dev/null
+++ b/arch/xtensa/variants/fsf/Makefile
@@ -0,0 +1 @@
+# fsf Makefile