[Buildroot] Question on UCLIBC_CONFIG_FILE usage.

Bernhard Fischer rep.dot.nop at gmail.com
Sat May 5 10:07:54 UTC 2007


On Fri, May 04, 2007 at 10:10:04PM -0500, Steven J. Hill wrote:
>I am obviously missing something here. If I do not specify UCLIBC_CONFIG_FILE
>on the command line to make, then a config file in 'toolchain/uClibc' will be
>used. None of the values assigned to it in the target directories will ever
>be picked up because the top-level Makefile does 'include target/Makefile.in'
>last which is too late for 'toolchain/uClibc/uclibc.mk' to pick up the value
>in a target-specific directory. Anyone care to comment? Thanks.

Since uclibc.mk has the config-file as a prerequisite (which is fine by
itself) it is evaluated right at that spot (to nil, if not specified on
the command-line).

Can't look right now, but perhaps including target/Makefile.in before
toolchain/Makefile.in in the toplevel Makefile would make it behave like
expected?

Perhaps we should store BR2_UCLIBC_CONFIG_FILE in .config, too.



More information about the buildroot mailing list