From 2266cfd50de3872e877eeca3dd4a6f940f22ba60 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Thu, 25 Oct 2007 20:31:19 +0200 Subject: x86: move defconfig files for i386 and x86_64 to x86 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 --- arch/x86/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'arch/x86/Makefile') diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 65077d79c84..309597386a7 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -1,6 +1,9 @@ # Unified Makefile for i386 and x86_64 -# No need to remake these files +# select defconfig based on actual architecture +KBUILD_DEFCONFIG := $(ARCH)_defconfig + +# # No need to remake these files $(srctree)/arch/x86/Makefile%: ; ifeq ($(ARCH),i386) -- cgit v1.2.3