From: Jeff Dike Date: Tue, 6 Nov 2007 16:02:50 +0000 (-0500) Subject: UML: fix defconfig build again X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7a82b63f19b0a05a76271aee1eb7905cd1c7d5ad;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git UML: fix defconfig build again Reported by Al Viro. This fixes it: [AC]FLAGS -> KBUILD_[AC]FLAGS conversion in Makefile-i386. Signed-off-by: Jeff Dike Cc: Al Viro Cc: Sam Ravnborg Signed-off-by: Linus Torvalds --- diff --git a/arch/um/Makefile-i386 b/arch/um/Makefile-i386 index b01dfb00e5f..67290117d90 100644 --- a/arch/um/Makefile-i386 +++ b/arch/um/Makefile-i386 @@ -22,8 +22,8 @@ export LDFLAGS HOSTCFLAGS HOSTLDFLAGS UML_OBJCOPYFLAGS endif endif -CFLAGS += -DCONFIG_X86_32 -AFLAGS += -DCONFIG_X86_32 +KBUILD_CFLAGS += -DCONFIG_X86_32 +KBUILD_AFLAGS += -DCONFIG_X86_32 CONFIG_X86_32 := y export CONFIG_X86_32