Build cleanups
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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) \
# 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
# 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