diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-08-22 07:27:09 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-09-01 14:22:28 +0200 |
commit | 0b36880085f0c65286877853caccf0bde2dd7f0b (patch) | |
tree | 3c98abc4dc8545c9dd494d3a5b23301d61b8cdae /package/lmbench | |
parent | e1b1a18ab63ae3ef4eeb7f7cb4406a9cfbb12035 (diff) | |
download | buildroot-novena-0b36880085f0c65286877853caccf0bde2dd7f0b.tar.gz buildroot-novena-0b36880085f0c65286877853caccf0bde2dd7f0b.zip |
Ensure that all config-related files are generated before the build
The previous commit has removed calls to conf_write_autoconf(), which
is the function that generates the KCONFIG_AUTOCONF,
KCONFIG_AUTOHEADER, KCONFIG_TRISTATE files and the split config (with
one file per config item). Therefore, those things were not generated
anymore before the build.
In order to get them generated before the build, we use the same
mechanism as the kernel: run a silentoldconfig when the .config file
is newer than the KCONFIG_AUTOCONF file.
In Buildroot, all those elements are not really used today, except the
split config which is used a little bit in the toolchain build, in a
try to make sure the toolchain gets rebuilt properly when the
configuration changes. It does not seem that this work has been
completed.
However, as we want to keep the same behaviour as previously, we have
to generate all those elements before starting the build.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lmbench')
0 files changed, 0 insertions, 0 deletions