Ensure host make is used when building 'make'
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 31 Jul 2007 18:40:17 +0000 (18:40 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 31 Jul 2007 18:40:17 +0000 (18:40 -0000)
package/make/make.mk

index 4b84adf2a6f81e9c87b82b8bdb76b8749d668219..cd0b5b2a7965d09451099b1b3dbc71501775ab45 100644 (file)
@@ -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