projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools build: Add support for host programs format
[cascardo/linux.git]
/
tools
/
build
/
Makefile
diff --git
a/tools/build/Makefile
b/tools/build/Makefile
index
0d5a0e3
..
653faee
100644
(file)
--- a/
tools/build/Makefile
+++ b/
tools/build/Makefile
@@
-14,6
+14,12
@@
endef
$(call allow-override,CC,$(CROSS_COMPILE)gcc)
$(call allow-override,LD,$(CROSS_COMPILE)ld)
+HOSTCC ?= gcc
+HOSTLD ?= ld
+HOSTAR ?= ar
+
+export HOSTCC HOSTLD HOSTAR
+
ifeq ($(V),1)
Q =
else