xtensa: variant-specific code
authorJohannes Weiner <jw@emlix.com>
Wed, 4 Mar 2009 15:21:31 +0000 (16:21 +0100)
committerChris Zankel <chris@zankel.net>
Fri, 3 Apr 2009 06:42:42 +0000 (23:42 -0700)
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>
arch/xtensa/Makefile
arch/xtensa/variants/dc232b/Makefile [new file with mode: 0644]
arch/xtensa/variants/fsf/Makefile [new file with mode: 0644]

index 1da55fe4beff5062cd398fb13b8b25b7d0879410..6d7f60e6d559b1f8782453ed05d0d8cf200cd17d 100644 (file)
@@ -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 (file)
index 0000000..3c8f268
--- /dev/null
@@ -0,0 +1 @@
+# dc232b Makefile
diff --git a/arch/xtensa/variants/fsf/Makefile b/arch/xtensa/variants/fsf/Makefile
new file mode 100644 (file)
index 0000000..3fadcfd
--- /dev/null
@@ -0,0 +1 @@
+# fsf Makefile