mbox

[pull,request,v2] Pull request for branch yem-export-vars

Message ID cover.1358113846.git.yann.morin.1998@free.fr
State Accepted
Headers show

Pull-request

git://gitorious.org/buildroot/buildroot.git yem-export-vars

Message

Yann E. MORIN Jan. 13, 2013, 9:52 p.m. UTC
Hello All!

This series introduces exporting a variable, $(BUILDROOT_CONFIG), that
contains the fully-qualified path to out .config.

In some cases, scripts in support/ need to parse our .config (eg. the
dependency-checking script needs to check the conformity of rxternal
toolchain features).

Also, some Makefile fragments (eg. the crosstool-Ng backend) need to
refer to this config file for make-dependency-checking.

This was currently done in different ad-hoc manners, and is not scalable.

I'll also use it later to retrieve the password encoding scheme when
creating users from packages.


Changes v1 -> v2:
  - rename BR2_CONFIG_FILE -> BUILDROOT_CONFIG (Arnout)
  - use $(BUILDROOT_CONFIG) in top-level Makefile, too (Arnout)


The following changes since commit 766862434b728c3d647b5544844d305edd5f541a:

  qwt: bump version (2013-01-13 22:43:23 +0100)

are available in the git repository at:
  git://gitorious.org/buildroot/buildroot.git yem-export-vars

Yann E. MORIN (4):
      Makefile: export a few variables to help support scripts
      Makefile: use newly-introduced BUILDROOT_CONFIG
      support/dependencies: use newly-introduced BUILDROOT_CONFIG
      toolchain/crostool-ng: use newly-introduced BUILDROOT_CONFIG

 Makefile                                         |   27 ++++--
 docs/manual/customize-rootfs.txt                 |    7 ++
 support/dependencies/dependencies.mk             |    1 -
 support/dependencies/dependencies.sh             |   10 +-
 toolchain/toolchain-crosstool-ng/crosstool-ng.mk |  114 +++++++++++-----------
 5 files changed, 88 insertions(+), 71 deletions(-)

Regards,
Yann E. MORIN

Comments

Peter Korsgaard Jan. 13, 2013, 10:16 p.m. UTC | #1
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 Yann> Hello All!
 Yann> This series introduces exporting a variable, $(BUILDROOT_CONFIG), that
 Yann> contains the fully-qualified path to out .config.

 Yann> In some cases, scripts in support/ need to parse our .config (eg. the
 Yann> dependency-checking script needs to check the conformity of rxternal
 Yann> toolchain features).

 Yann> Also, some Makefile fragments (eg. the crosstool-Ng backend) need to
 Yann> refer to this config file for make-dependency-checking.

 Yann> This was currently done in different ad-hoc manners, and is not scalable.

 Yann> I'll also use it later to retrieve the password encoding scheme when
 Yann> creating users from packages.

 Yann> Changes v1 -> v2:
 Yann>   - rename BR2_CONFIG_FILE -> BUILDROOT_CONFIG (Arnout)
 Yann>   - use $(BUILDROOT_CONFIG) in top-level Makefile, too (Arnout)

Committed series, thanks.