You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
e06d8f0f6f
When running "make {config|defconfig|oldconfig}" with symlinked .config
(e.g. to env/.config) it renames symlink to .config.old, creates new
.config file, and writes the updated configuration into it.
This breaks the desired workflow when changes in the configuration can
be checked using "scripts/env diff" and commited using "scripts/env
save". Since the env/.config file is not updated.
The things become even worse when working with feeds, since feeds script
quite often silently invokes "make {oldconfig|defconfig}" and breaks the
symlink.
Fix this issue by exporting KCONFIG_OVERWRITECONFIG=1, which forces
mconf to overwrite the .config content, instead of renaming it and
creating a new file. This variable is set only if .config is a symlink,
otherwise the variable is not exported and the old behaviour is
preserved.
This change uses the same behaviour as "make menucofig", which has
already been fixed in commit
|
7 years ago | |
---|---|---|
.. | ||
site | 9 years ago | |
autotools.mk | 7 years ago | |
cmake.mk | 7 years ago | |
debug.mk | 9 years ago | |
depends.mk | 7 years ago | |
device_table.txt | 11 years ago | |
download.mk | 7 years ago | |
feeds.mk | 7 years ago | |
hardening.mk | 9 years ago | |
host-build.mk | 7 years ago | |
image-commands.mk | 7 years ago | |
image-legacy.mk | 7 years ago | |
image.mk | 7 years ago | |
kernel-build.mk | 7 years ago | |
kernel-defaults.mk | 7 years ago | |
kernel-version.mk | 7 years ago | |
kernel.mk | 7 years ago | |
netfilter.mk | 7 years ago | |
nls.mk | 9 years ago | |
package-bin.mk | 7 years ago | |
package-defaults.mk | 7 years ago | |
package-dumpinfo.mk | 8 years ago | |
package-ipkg.mk | 7 years ago | |
package-seccomp.mk | 9 years ago | |
package.mk | 7 years ago | |
prereq-build.mk | 7 years ago | |
prereq.mk | 9 years ago | |
quilt.mk | 7 years ago | |
rootfs.mk | 7 years ago | |
scan.awk | 9 years ago | |
scan.mk | 7 years ago | |
scons.mk | 8 years ago | |
shell.sh | 7 years ago | |
subdir.mk | 7 years ago | |
target.mk | 7 years ago | |
toolchain-build.mk | 7 years ago | |
toplevel.mk | 7 years ago | |
u-boot.mk | 7 years ago | |
uclibc++.mk | 11 years ago | |
unpack.mk | 7 years ago | |
verbose.mk | 9 years ago | |
version.mk | 8 years ago |