summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-12-09 10:59:59 -0800
committerH. Peter Anvin <hpa@zytor.com>2011-12-09 10:59:59 -0800
commit79320bcbf0d860a7cb32d6d6d464d776b9dd76ce (patch)
treefa4fa998ea9a025e943bcf7fb6d518ee64a64602
parenta074335a370eca6d72f2ec890e4ae22923a2aea4 (diff)
downloadop-kernel-dev-79320bcbf0d860a7cb32d6d6d464d776b9dd76ce.zip
op-kernel-dev-79320bcbf0d860a7cb32d6d6d464d776b9dd76ce.tar.gz
um: Use $(srctree) not $(KBUILD_SRC)
$(KBUILD_SRC) is not defined without O=, use $(srctree). Reported-and-tested-by: Richard Weinberger <richard@nod.at> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--arch/um/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile
index 9548ddc..28688e6 100644
--- a/arch/um/Makefile
+++ b/arch/um/Makefile
@@ -98,7 +98,7 @@ endef
KBUILD_KCONFIG := $(HOST_DIR)/um/Kconfig
archheaders:
- $(Q)$(MAKE) -C '$(KBUILD_SRC)' KBUILD_SRC= \
+ $(Q)$(MAKE) -C '$(srctree)' KBUILD_SRC= \
ARCH=$(SUBARCH) O='$(objtree)' archheaders
archprepare: include/generated/user_constants.h
OpenPOWER on IntegriCloud