[Buildroot] Crosstool-NG unnecessary rebuilds [BUG]

Przemyslaw Wrzos przemyslaw.wrzos at calyptech.com
Mon Mar 18 02:38:24 UTC 2013


Hello Thomas,

On Fri, 15 Mar 2013 at 19:25:25, Thomas Petazzoni wrote:

> Nothing in Buildroot tries to get rebuilt automatically when there are
> configuration changes. This has been the Buildroot policy for a long
> time, and only the Crosstool-NG backend was moving away from this
> general policy.

I understand that's the idea, however, as it is now the internal
buildroot toolchain will attempt to rebuild uClibc if the uClibc
configuration file changes. I'm assuming it is via the following
dependency chain (found in toolchain/uClibc/uclibc.mk"):

    $(UCLIBC_DIR)/.oldconfig: $(UCLIBC_DIR)/.patched
$(UCLIBC_CONFIG_FILE)
    $(UCLIBC_DIR)/.config: $(UCLIBC_DIR)/.oldconfig
    $(UCLIBC_DIR)/.configured: $(LINUX_HEADERS_DIR)/.configured
$(UCLIBC_DIR)/.config
    $(UCLIBC_DIR)/lib/libc.a: $(UCLIBC_DIR)/.configured
$(gcc_intermediate) $(LIBFLOAT_TARGET)

> See http://elinux.org/Buildroot:DeveloperDaysFOSDEM2013 (search for
> "Switching to ct-ng as the default toolchain backend has been in the
> plans for several years").

Thanks that's quite useful.

Cheers,
Przemyslaw Wrzos


More information about the buildroot mailing list