forked from Minki/linux
2266cfd50d
With some small changes to kconfig makefile we can now locate the defconfig files for i386 and x86_64 in the configs/ subdirectory under x86. make ARCH=i386 defconfig and make defconfig works as expected also after this change. But arch maintainers shall now update a defconfig file in the configs/ directory. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
17 lines
325 B
Makefile
17 lines
325 B
Makefile
# Unified Makefile for i386 and x86_64
|
|
|
|
# select defconfig based on actual architecture
|
|
KBUILD_DEFCONFIG := $(ARCH)_defconfig
|
|
|
|
# # No need to remake these files
|
|
$(srctree)/arch/x86/Makefile%: ;
|
|
|
|
ifeq ($(ARCH),i386)
|
|
include $(srctree)/arch/x86/Makefile_32
|
|
else
|
|
include $(srctree)/arch/x86/Makefile_64
|
|
endif
|
|
|
|
|
|
|