From: Ulf Samuelsson Date: Tue, 31 Jul 2007 18:40:17 +0000 (-0000) Subject: Ensure host make is used when building 'make' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aac3c1bbec1fcbe2232219e2be46a5f99fd9a29a;p=buildroot.git Ensure host make is used when building 'make' --- diff --git a/package/make/make.mk b/package/make/make.mk index 4b84adf2a6..cd0b5b2a79 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