diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-03-13 15:21:39 +0900 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2015-03-24 16:48:44 +0100 |
commit | b9fe99c5b994c6ddc57780993966b18899526c0b (patch) | |
tree | ba5f85ed5775ada4883e3b150f37be497e5e2544 /include | |
parent | de4619937229378e81f95e99c9866acc8e207d34 (diff) | |
download | linux-b9fe99c5b994c6ddc57780993966b18899526c0b.tar.bz2 |
kbuild: mergeconfig: move an error check to merge_config.sh
Currently, "make tinyconfig" does not work with "-j" option.
$ make mrproper
$ make -j8 tinyconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --allnoconfig Kconfig
#
# configuration written to .config
#
scripts/kconfig/Makefile:122: *** You need an existing .config
for this target. Stop.
make: *** [tinyconfig] Error 2
As shown above, "allnoconfig" has created the .config file before
mergeconfig is called, but Make still raises a false alarm because
of some sort of race condition.
We can fix this issue by moving the error check to the shell script.
Anyway, scripts/kconfig/merge_config.sh always requires an existing
.config as a base file. It is reasonable to check its existence in
the shell script.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Reviewed-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions