summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-31 18:40:17 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-31 18:40:17 +0000
commitaac3c1bbec1fcbe2232219e2be46a5f99fd9a29a (patch)
treed416f25ef8a3d3e00f532c6ce5da2febe1b2239c
parentdc1552aab0cb5424b36a1047f4fd0661849514e4 (diff)
downloadbuildroot-novena-aac3c1bbec1fcbe2232219e2be46a5f99fd9a29a.tar.gz
buildroot-novena-aac3c1bbec1fcbe2232219e2be46a5f99fd9a29a.zip
Ensure host make is used when building 'make'
-rw-r--r--package/make/make.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/make/make.mk b/package/make/make.mk
index 4b84adf2a..cd0b5b2a7 100644
--- a/package/make/make.mk
+++ b/package/make/make.mk
@@ -49,7 +49,7 @@ $(GNUMAKE_DIR)/.configured: $(GNUMAKE_DIR)/.unpacked
touch $@
$(GNUMAKE_DIR)/$(GNUMAKE_BINARY): $(GNUMAKE_DIR)/.configured
- $(MAKE) -C $(GNUMAKE_DIR)
+ $(MAKE) MAKE=$(HOSTMAKE) -C $(GNUMAKE_DIR)
$(TARGET_DIR)/$(GNUMAKE_TARGET_BINARY): $(GNUMAKE_DIR)/$(GNUMAKE_BINARY)
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(GNUMAKE_DIR) install