mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-12 23:03:29 +08:00
eedfc7121c
The three typical packages that use .config files in buildroot copy the config file at different times in the build process: busybox copies its .config from the post-extract hook. linux copies its .config in the configure_cmds. uclibc copies its .config from the post-patch hook. Copying the .config file from the configure step is the only way to properly support an OVERRIDE_SRCDIR that does not yet have the .config file, because the extract and patch steps are skipped in that case. For example, when setting a BUSYBOX_OVERRIDE_SRCDIR to a cleanly extracted busybox tarball: $ make busybox-dirclean busybox rm -Rf [..]/output/build/busybox-custom >>> busybox custom Syncing from source dir >>> /home/tdescham/repo/contrib/busybox-1.21.1 rsync -au --exclude .svn --exclude .git --exclude .hg --exclude .bzr --exclude CVS /home/tdescham/repo/contrib/busybox-1.21.1/ [..]/output/build/busybox-custom >>> busybox custom Configuring /bin/sed -i -e "/\\<CONFIG_NOMMU\\>/d" [..]/output/build/busybox-custom/.config /bin/sed: can't read [..]/output/build/busybox-custom/.config: No such file or directory make: *** [[..]/output/build/busybox-custom/.stamp_configured] Error 2 This patch modifies busybox.mk to copy the config file from the configure step instead, as linux is doing, and fixing the described scenario. This fixes bug #5030: https://bugs.busybox.net/show_bug.cgi?id=5030 Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> |
||
---|---|---|
.. | ||
1.19.4 | ||
1.20.2 | ||
1.21.1 | ||
1.22.1 | ||
busybox-1.19.x.config | ||
busybox-1.20.x.config | ||
busybox-1.21.x.config | ||
busybox-1.22.x.config | ||
busybox.mk | ||
Config.in | ||
mdev.conf | ||
S01logging | ||
S10mdev | ||
S15watchdog | ||
udhcpc.script |