Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/target/x86/grub
Date: Sun, 30 Sep 2007 11:06:35 -0700 (PDT)	[thread overview]
Message-ID: <20070930180635.2FE6B300D4@busybox.net> (raw)

Author: aldot
Date: 2007-09-30 11:06:32 -0700 (Sun, 30 Sep 2007)
New Revision: 20150

Log:
- put a static grub into the staging dir


Modified:
   trunk/buildroot/target/x86/grub/grub.mk


Changeset:
Modified: trunk/buildroot/target/x86/grub/grub.mk
===================================================================
--- trunk/buildroot/target/x86/grub/grub.mk	2007-09-30 17:55:43 UTC (rev 20149)
+++ trunk/buildroot/target/x86/grub/grub.mk	2007-09-30 18:06:32 UTC (rev 20150)
@@ -97,6 +97,11 @@
 
 $(GRUB_DIR)/$(GRUB_BINARY): $(GRUB_DIR)/.configured
 	$(MAKE) CC=$(TARGET_CC) -C $(GRUB_DIR)
+	rm -f $(GRUB_DIR)/$(GRUB_BINARY)
+	$(MAKE) CC=$(TARGET_CC) CFLAGS+=-static -C $(GRUB_DIR)/grub grub
+	mkdir -p $(dir $(STAGING_DIR)/$(GRUB_TARGET_BINARY))
+	mv $(GRUB_DIR)/$(GRUB_BINARY) $(STAGING_DIR)/$(GRUB_TARGET_BINARY).static
+	$(MAKE) CC=$(TARGET_CC) -C $(GRUB_DIR)/grub
 
 $(GRUB_DIR)/.installed: $(GRUB_DIR)/$(GRUB_BINARY)
 	cp $(GRUB_DIR)/$(GRUB_BINARY) $(TARGET_DIR)/$(GRUB_TARGET_BINARY)

             reply	other threads:[~2007-09-30 18:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-30 18:06 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-01-31 12:30 [Buildroot] svn commit: trunk/buildroot/target/x86/grub jacmet at uclibc.org
2009-01-31 12:29 jacmet at uclibc.org
2008-11-08 22:24 tpetazzoni at uclibc.org
2008-05-12 18:56 nkukard at uclibc.org
2008-05-01 17:14 ninevoltz at uclibc.org
2008-02-22 19:37 sjhill at uclibc.org
2008-02-28 15:25 ` Fathi Boudra
2007-05-15 11:39 aldot at uclibc.org
2007-02-07 10:43 aldot at uclibc.org
2007-01-29 22:12 aldot at uclibc.org
2007-01-29 18:34 aldot at uclibc.org
2006-12-20 17:08 aldot at uclibc.org
2006-11-29 20:26 aldot at uclibc.org
2006-11-29 12:17 aldot at uclibc.org
2006-11-22 15:22 aldot at uclibc.org
2006-11-17 11:47 aldot at uclibc.org

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=20070930180635.2FE6B300D4@busybox.net \
    --to=aldot@uclibc.org \
    --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