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>
This commit is contained in:
parent
e5083a63b6
commit
72197b18bc
|
@ -68,6 +68,9 @@ LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
|
||||||
|
|
||||||
head-y := arch/xtensa/kernel/head.o
|
head-y := arch/xtensa/kernel/head.o
|
||||||
core-y += arch/xtensa/kernel/ arch/xtensa/mm/
|
core-y += arch/xtensa/kernel/ arch/xtensa/mm/
|
||||||
|
ifneq ($(VARIANT),)
|
||||||
|
core-y += arch/xtensa/variants/$(VARIANT)/
|
||||||
|
endif
|
||||||
ifneq ($(PLATFORM),)
|
ifneq ($(PLATFORM),)
|
||||||
core-y += arch/xtensa/platforms/$(PLATFORM)/
|
core-y += arch/xtensa/platforms/$(PLATFORM)/
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
# dc232b Makefile
|
|
@ -0,0 +1 @@
|
||||||
|
# fsf Makefile
|
Loading…
Reference in New Issue