From: Al Viro Date: Thu, 18 Aug 2011 19:00:59 +0000 (+0100) Subject: um: switch to -idirafter, get saner kern_constants.h out of that X-Git-Tag: MMI-PSA29.97-13-9~18152^2~84 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4d45db9c45dc60af40acdb5591c66a8398f84cbe;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git um: switch to -idirafter, get saner kern_constants.h out of that Signed-off-by: Al Viro Signed-off-by: Richard Weinberger --- diff --git a/arch/um/Makefile b/arch/um/Makefile index c0f712cc7c5f..deb05533f872 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile @@ -47,7 +47,7 @@ KBUILD_AFLAGS += $(ARCH_INCLUDE) USER_CFLAGS = $(patsubst $(KERNEL_DEFINES),,$(patsubst -D__KERNEL__,,\ $(patsubst -I%,,$(KBUILD_CFLAGS)))) $(ARCH_INCLUDE) $(MODE_INCLUDE) \ - $(filter -I%,$(CFLAGS)) -D_FILE_OFFSET_BITS=64 + $(filter -I%,$(CFLAGS)) -D_FILE_OFFSET_BITS=64 -idirafter include include $(srctree)/$(ARCH_DIR)/Makefile-$(SUBARCH) @@ -149,6 +149,6 @@ $(SHARED_HEADERS)/user_constants.h: $(ARCH_DIR)/sys-$(SUBARCH)/user-offsets.s $(SHARED_HEADERS)/kern_constants.h: $(Q)mkdir -p $(dir $@) - $(Q)echo '#include "../../../../include/generated/asm-offsets.h"' >$@ + $(Q)echo '#include ' >$@ export SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS HEADER_ARCH DEV_NULL_PATH