projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kbuild: replace KBUILD_SRCTREE with boolean building_out_of_srctree
[linux-2.6-block.git]
/
scripts
/
Makefile.host
diff --git
a/scripts/Makefile.host
b/scripts/Makefile.host
index b6a54bdf0965e1859a2f8a42164f2008f9c65ef3..fcf0213e6ac8046bd8bc3a30d456d897d89d14ee 100644
(file)
--- a/
scripts/Makefile.host
+++ b/
scripts/Makefile.host
@@
-69,7
+69,7
@@
_hostcxx_flags = $(KBUILD_HOSTCXXFLAGS) $(HOST_EXTRACXXFLAGS) \
# $(objtree)/$(obj) for including generated headers from checkin source files
ifeq ($(KBUILD_EXTMOD),)
-if
neq ($(srctree),.)
+if
def building_out_of_srctree
_hostc_flags += -I $(objtree)/$(obj)
_hostcxx_flags += -I $(objtree)/$(obj)
endif