summaryrefslogtreecommitdiff
path: root/arch/um/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-12-09 22:59:59 +0400
committerH. Peter Anvin <hpa@zytor.com>2011-12-09 22:59:59 +0400
commit79320bcbf0d860a7cb32d6d6d464d776b9dd76ce (patch)
treefa4fa998ea9a025e943bcf7fb6d518ee64a64602 /arch/um/Makefile
parenta074335a370eca6d72f2ec890e4ae22923a2aea4 (diff)
downloadlinux-79320bcbf0d860a7cb32d6d6d464d776b9dd76ce.tar.xz
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>
Diffstat (limited to 'arch/um/Makefile')
-rw-r--r--arch/um/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile
index 9548ddca1a3d..28688e6d96d7 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