From 72197b18bc0e86feba7cc9f907551e30948bd526 Mon Sep 17 00:00:00 2001 From: Johannes Weiner Date: Wed, 4 Mar 2009 16:21:31 +0100 Subject: xtensa: variant-specific code Allow the variant to provide real code. Add empty dummy Makefiles for the existing variants. Signed-off-by: Johannes Weiner Signed-off-by: Chris Zankel --- arch/xtensa/Makefile | 3 +++ arch/xtensa/variants/dc232b/Makefile | 1 + arch/xtensa/variants/fsf/Makefile | 1 + 3 files changed, 5 insertions(+) create mode 100644 arch/xtensa/variants/dc232b/Makefile create mode 100644 arch/xtensa/variants/fsf/Makefile (limited to 'arch') diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile index 1da55fe4bef..6d7f60e6d55 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 00000000000..3c8f268317d --- /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 00000000000..3fadcfd03d1 --- /dev/null +++ b/arch/xtensa/variants/fsf/Makefile @@ -0,0 +1 @@ +# fsf Makefile -- cgit