Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ivan Kuten <ivan.kuten@promwad.com>
To: buildroot@busybox.net
Subject: [Buildroot] PATCH: allow wipe to cross-compile
Date: Sat, 13 Oct 2007 23:37:42 +0300	[thread overview]
Message-ID: <47112C96.3090604@promwad.com> (raw)


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/
--------------------------------

                 reply	other threads:[~2007-10-13 20:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47112C96.3090604@promwad.com \
    --to=ivan.kuten@promwad.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox