Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Question on UCLIBC_CONFIG_FILE usage.
@ 2007-05-05  3:10 Steven J. Hill
  2007-05-05 10:07 ` Bernhard Fischer
  0 siblings, 1 reply; 2+ messages in thread
From: Steven J. Hill @ 2007-05-05  3:10 UTC (permalink / raw)
  To: buildroot

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.

-Steve

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Question on UCLIBC_CONFIG_FILE usage.
  2007-05-05  3:10 [Buildroot] Question on UCLIBC_CONFIG_FILE usage Steven J. Hill
@ 2007-05-05 10:07 ` Bernhard Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Fischer @ 2007-05-05 10:07 UTC (permalink / raw)
  To: buildroot

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-05 10:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-05  3:10 [Buildroot] Question on UCLIBC_CONFIG_FILE usage Steven J. Hill
2007-05-05 10:07 ` Bernhard Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox