[Buildroot] uClibc, gcc get rebuilt on every make

Zac Wheeler zac.wheeler at gmail.com
Sun Jul 5 18:56:42 UTC 2009


On Sun, Jul 5, 2009 at 6:12 AM, <simon.addareyss at online.fr> 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:

diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 6dff66c..f9eef88 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -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>


More information about the buildroot mailing list