Allow cross compile of wipe (courtesy Ivan Kuten)
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 27 Nov 2007 08:26:46 +0000 (08:26 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 27 Nov 2007 08:26:46 +0000 (08:26 -0000)
package/wipe/wipe.mk

index 9484968be0609343cdf5baedc0104063130ec979..e26352a3334a236936886993ab3a5480c6c9ab71 100644 (file)
@@ -33,7 +33,7 @@ $(WIPE_DIR)/.configured: $(WIPE_DIR)/.unpacked
 
 $(WIPE_DIR)/$(WIPE_BINARY): $(WIPE_DIR)/.configured
        rm -f $(WIPE_DIR)/$(WIPE_BINARY)
-       $(MAKE) CC=$(TARGET_CC) -C $(WIPE_DIR) generic
+       $(MAKE) CC=$(TARGET_CC) CC_GENERIC=$(TARGET_CC) -C $(WIPE_DIR) generic
 
 $(TARGET_DIR)/$(WIPE_TARGET_BINARY): $(WIPE_DIR)/$(WIPE_BINARY)
        cp -a $(WIPE_DIR)/$(WIPE_BINARY) $(TARGET_DIR)/$(WIPE_TARGET_BINARY)