Skip to contentSkip to conversation

uClibc, gcc get rebuilt on every make

Buildroot [email protected] 2 participants 2 messages Jul 5, 2009

lore
Share & tools
lore
#0 lore raw

It would be great if you could submit a little patch...

For now, I keep using the first (not clean) option, no time to dive into the second one right now.

Regards,

Simon

Quoted 5 lines

Le jeu, 02 Jul 2009 ? 04:37:04PM -0700, Zac Wheeler ?crivit:

Cool, I didn't know about order-only prerequisites. Or are the additional CC
and FLAGS options important for fixing this issue as well?

No, they are just a matter of correctness and a different issue.

#1 lore raw
Quoted 5 lines · On Sun, Jul 5, 2009 at 6:12 AM, <[email protected]> wrote:

It would be great if you could submit a little patch...

For now, I keep using the first (not clean) option, no time to dive into the second one right now.

This is it - just a pipe before the libc.a dependency to make it order-only:

toolchain/uClibc/uclibc.mk +1 -1
index 6dff66c..f9eef88 100644
@@ -482,7 +482,7 @@ uclibc-menuconfig: host-sed $(UCLIBC_DIR)/.config
        touch -c $(UCLIBC_DIR)/.config
 
 
-$(STAGING_DIR)/usr/lib/libc.a: $(UCLIBC_DIR)/lib/libc.a
+$(STAGING_DIR)/usr/lib/libc.a: | $(UCLIBC_DIR)/lib/libc.a
 ifneq ($(BR2_TOOLCHAIN_SYSROOT),y)
        $(MAKE1) -C $(UCLIBC_DIR) \
                PREFIX= \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090705/8a34d5e5/attachment.htm>