The CONFIG_* variables are correctly handled when building nearly all targets (at least packages and full build) yet they are not honored on kernel_menuconfig and similar targets.
Some use case : make CONFIG_DOWNLOAD_FOLDER=../dl/ kernel_menuconfig make CONFIG_BUILD_SUFFIX=test kernel_oldconfig and so on... When used, they generate build errors because the kernel_*config targets are not able to find the correct directories. Signed-off-by: Emmanuel Deloget <emman...@deloget.com> --- include/toplevel.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/toplevel.mk b/include/toplevel.mk index d8651d9..02e337a 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -128,13 +128,13 @@ else endif kernel_oldconfig: prepare_kernel_conf - $(_SINGLE)$(NO_TRACE_MAKE) -C target/linux oldconfig + $(_SINGLE)$(NO_TRACE_MAKE) $(filter CONFIG_%,$(MAKEFLAGS)) -C target/linux oldconfig kernel_menuconfig: prepare_kernel_conf - $(_SINGLE)$(NO_TRACE_MAKE) -C target/linux menuconfig + $(_SINGLE)$(NO_TRACE_MAKE) $(filter CONFIG_%,$(MAKEFLAGS)) -C target/linux menuconfig kernel_nconfig: prepare_kernel_conf - $(_SINGLE)$(NO_TRACE_MAKE) -C target/linux nconfig + $(_SINGLE)$(NO_TRACE_MAKE) $(filter CONFIG_%,$(MAKEFLAGS)) -C target/linux nconfig staging_dir/host/.prereq-build: include/prereq-build.mk mkdir -p tmp -- 2.1.4
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel