2007-12-05 08:36:28

by Al Viro

[permalink] [raw]
Subject: [PATCH] no need to mess with KBUILD_CFLAGS on uml-i386 anymore

Now that X86_32 is provided on Kconfig level for uml-i386, there's
no need to play with it explicitly on Makefile level anymore.

Signed-off-by: Al Viro <[email protected]>
---
diff --git a/arch/um/Makefile-i386 b/arch/um/Makefile-i386
index 6729011..561e373 100644
--- a/arch/um/Makefile-i386
+++ b/arch/um/Makefile-i386
@@ -22,11 +22,6 @@ export LDFLAGS HOSTCFLAGS HOSTLDFLAGS UML_OBJCOPYFLAGS
endif
endif

-KBUILD_CFLAGS += -DCONFIG_X86_32
-KBUILD_AFLAGS += -DCONFIG_X86_32
-CONFIG_X86_32 := y
-export CONFIG_X86_32
-
# First of all, tune CFLAGS for the specific CPU. This actually sets cflags-y.
include $(srctree)/arch/x86/Makefile_32.cpu


2007-12-05 16:18:47

by Jeff Dike

[permalink] [raw]
Subject: Re: [PATCH] no need to mess with KBUILD_CFLAGS on uml-i386 anymore

On Wed, Dec 05, 2007 at 08:36:15AM +0000, Al Viro wrote:
> Now that X86_32 is provided on Kconfig level for uml-i386, there's
> no need to play with it explicitly on Makefile level anymore.

ACK

Jeff

--
Work email - jdike at linux dot intel dot com