Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] PATCH: allow wipe to cross-compile
@ 2007-10-13 20:37 Ivan Kuten
  0 siblings, 0 replies; only message in thread
From: Ivan Kuten @ 2007-10-13 20:37 UTC (permalink / raw)
  To: buildroot


Wipe produces only x86 binaries.
This patch allows cross-compile:


Index: package/wipe/wipe.mk
===================================================================
--- package/wipe/wipe.mk        (revision 20237)
+++ package/wipe/wipe.mk        (working copy)
@@ -33,7 +33,7 @@

 $(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)




Best regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-13 20:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-13 20:37 [Buildroot] PATCH: allow wipe to cross-compile Ivan Kuten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox