]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - scripts/Makefile.host
Merge tag 'ktest-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux...
[linux.git] / scripts / Makefile.host
index a115259b57e7b117cb6a6038b3315ac0c883b7db..73b804197fca2dba13b404ba4dae9ab7441fca51 100644 (file)
@@ -71,7 +71,7 @@ __hostc_flags = $(_hostc_flags)
 __hostcxx_flags        = $(_hostcxx_flags)
 
 ifeq ($(KBUILD_EXTMOD),)
-ifneq ($(KBUILD_SRC),)
+ifneq ($(srctree),.)
 __hostc_flags  = -I$(obj) $(call flags,_hostc_flags)
 __hostcxx_flags        = -I$(obj) $(call flags,_hostcxx_flags)
 endif