Browse Source

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>
H. Peter Anvin 13 years ago
parent
commit
79320bcbf0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/um/Makefile

+ 1 - 1
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