summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-15 21:54:11 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-15 21:54:11 +0000
commit0f9c5b1129c5b8d5fb08d95f948f49a603cf7411 (patch)
tree4e61c7748e6a10d8d6d09d16d327f89c3a90b0fc /Makefile
parentf54e958645c0388408da807c03493e2c9613f4f9 (diff)
downloadbuildroot-novena-0f9c5b1129c5b8d5fb08d95f948f49a603cf7411.tar.gz
buildroot-novena-0f9c5b1129c5b8d5fb08d95f948f49a603cf7411.zip
Define HOSTLN to allow gzip to build for non-x86 target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 483b809cc..65752ea95 100644
--- a/Makefile
+++ b/Makefile
@@ -79,11 +79,15 @@ endif
ifndef HOSTLD
HOSTLD:=ld
endif
+ifndef HOSTLN
+HOSTLN:=ln
+endif
HOSTAR :=$(shell $(CONFIG_SHELL) -c "which $(HOSTAR)" || type -p $(HOSTAR) || echo ar)
HOSTAS :=$(shell $(CONFIG_SHELL) -c "which $(HOSTAS)" || type -p $(HOSTAS) || echo as)
HOSTCC :=$(shell $(CONFIG_SHELL) -c "which $(HOSTCC)" || type -p $(HOSTCC) || echo gcc)
HOSTCXX:=$(shell $(CONFIG_SHELL) -c "which $(HOSTCXX)" || type -p $(HOSTCXX) || echo g++)
HOSTLD :=$(shell $(CONFIG_SHELL) -c "which $(HOSTLD)" || type -p $(HOSTLD) || echo ld)
+HOSTLN :=$(shell $(CONFIG_SHELL) -c "which $(HOSTLN)" || type -p $(HOSTLN) || echo ln)
ifndef CFLAGS_FOR_BUILD
CFLAGS_FOR_BUILD:=-g -O2
endif