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
powerpc/mm: Remove unused variable declaration
[linux-2.6-block.git]
/
scripts
/
Makefile.host
diff --git
a/scripts/Makefile.host
b/scripts/Makefile.host
index 73b804197fca2dba13b404ba4dae9ab7441fca51..b6a54bdf0965e1859a2f8a42164f2008f9c65ef3 100644
(file)
--- a/
scripts/Makefile.host
+++ b/
scripts/Makefile.host
@@
-67,18
+67,16
@@
_hostc_flags = $(KBUILD_HOSTCFLAGS) $(HOST_EXTRACFLAGS) \
_hostcxx_flags = $(KBUILD_HOSTCXXFLAGS) $(HOST_EXTRACXXFLAGS) \
$(HOSTCXXFLAGS_$(basetarget).o)
_hostcxx_flags = $(KBUILD_HOSTCXXFLAGS) $(HOST_EXTRACXXFLAGS) \
$(HOSTCXXFLAGS_$(basetarget).o)
-__hostc_flags = $(_hostc_flags)
-__hostcxx_flags = $(_hostcxx_flags)
-
+# $(objtree)/$(obj) for including generated headers from checkin source files
ifeq ($(KBUILD_EXTMOD),)
ifneq ($(srctree),.)
ifeq ($(KBUILD_EXTMOD),)
ifneq ($(srctree),.)
-_
_hostc_flags = -I$(obj) $(call flags,_hostc_flags
)
-_
_hostcxx_flags = -I$(obj) $(call flags,_hostcxx_flags
)
+_
hostc_flags += -I $(objtree)/$(obj
)
+_
hostcxx_flags += -I $(objtree)/$(obj
)
endif
endif
endif
endif
-hostc_flags = -Wp,-MD,$(depfile) $(_
_
hostc_flags)
-hostcxx_flags = -Wp,-MD,$(depfile) $(_
_
hostcxx_flags)
+hostc_flags = -Wp,-MD,$(depfile) $(_hostc_flags)
+hostcxx_flags = -Wp,-MD,$(depfile) $(_hostcxx_flags)
#####
# Compile programs on the host
#####
# Compile programs on the host