From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Mon, 3 Oct 2011 21:05:37 -0400 Subject: [U-Boot] [PATCH v3 21/21] sandbox: Makefile changes to build sandbox architecture In-Reply-To: References: <1317082255-24247-1-git-send-email-sjg@chromium.org> <201110031532.00523.vapier@gentoo.org> Message-ID: <201110032105.39618.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday, October 03, 2011 20:51:50 Simon Glass wrote: > On Mon, Oct 3, 2011 at 12:31 PM, Mike Frysinger wrote: > > On Monday, September 26, 2011 20:10:55 Simon Glass wrote: > >> +ifeq ($(CONFIG_SANDBOX),y) > >> +GEN_UBOOT = \ > >> + cd $(LNDIR) && $(CC) $(SYMS) -T $(obj)u-boot.lds \ > >> + -Wl,--start-group $(__LIBS) -Wl,--end-group \ > >> + $(PLATFORM_LIBS) -Wl,-Map -Wl,u-boot.map -o u-boot > > > > unfortunate that you can't utilize UNDEF_SYM ... > > Well I can add a hack to make it empty, but I'm not sure what it buys > us. The main issue is that I don't want to pass any link flags from > LDFLAGS, etc. I could put that magic into config.mk perhaps (and this > might be a better place for it), but it is something of a special case > wherever it goes. hmm, i guess you're not using -Wl,--gc-sections mostly because you ignore $(LDFLAGS). i wonder if you did something like: COMMA = , ... $(patsubst %,-Wl$(COMMA)%,$(LDFLAGS)) ... -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20111003/64939c95/attachment.pgp