X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=scripts%2FMakefile.host;h=73b804197fca2dba13b404ba4dae9ab7441fca51;hb=b06ed1e7a2fa9b636f368a9e97c3c8877623f8b2;hp=a115259b57e7b117cb6a6038b3315ac0c883b7db;hpb=5c8c397c3e54397810e80c47498f207174c1c960;p=linux.git diff --git a/scripts/Makefile.host b/scripts/Makefile.host index a115259b57e7..73b804197fca 100644 --- a/scripts/Makefile.host +++ b/scripts/Makefile.host @@ -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