[PATCH 2/9] UML - Build cleanup

From: Jeff Dike
Date: Mon Aug 29 2005 - 15:15:46 EST


>From Al Viro - Build cleanups

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx>

Index: linux-2.6.13-rc6/arch/um/Makefile
===================================================================
--- linux-2.6.13-rc6.orig/arch/um/Makefile 2005-08-15 12:03:04.000000000 -0400
+++ linux-2.6.13-rc6/arch/um/Makefile 2005-08-15 13:16:39.000000000 -0400
@@ -56,6 +56,7 @@

CFLAGS += $(CFLAGS-y) -D__arch_um__ -DSUBARCH=\"$(SUBARCH)\" \
$(ARCH_INCLUDE) $(MODE_INCLUDE) -Dvmap=kernel_vmap
+AFLAGS += $(ARCH_INCLUDE)

USER_CFLAGS := $(patsubst -I%,,$(CFLAGS))
USER_CFLAGS := $(patsubst -D__KERNEL__,,$(USER_CFLAGS)) $(ARCH_INCLUDE) \
Index: linux-2.6.13-rc6/arch/um/sys-i386/Makefile
===================================================================
--- linux-2.6.13-rc6.orig/arch/um/sys-i386/Makefile 2005-08-15 12:02:57.000000000 -0400
+++ linux-2.6.13-rc6/arch/um/sys-i386/Makefile 2005-08-15 13:16:55.000000000 -0400
@@ -22,8 +22,6 @@
# why ask why?
$(obj)/stub_segv.o : c_flags = $(STUB_CFLAGS)

-$(obj)/stub.o : a_flags = $(STUB_CFLAGS)
-
subdir- := util

include arch/um/scripts/Makefile.unmap
Index: linux-2.6.13-rc6/arch/um/sys-x86_64/Makefile
===================================================================
--- linux-2.6.13-rc6.orig/arch/um/sys-x86_64/Makefile 2005-08-15 12:03:02.000000000 -0400
+++ linux-2.6.13-rc6/arch/um/sys-x86_64/Makefile 2005-08-15 13:17:21.000000000 -0400
@@ -34,8 +34,6 @@
# why ask why?
$(obj)/stub_segv.o : c_flags = $(STUB_CFLAGS)

-$(obj)/stub.o : a_flags = $(STUB_CFLAGS)
-
subdir- := util

include arch/um/scripts/Makefile.unmap

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/