1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 04:14:43 +01:00

make sure that at least sed is built before kernel_menuconfig/kernel_oldconfig is executed

SVN-Revision: 15433
This commit is contained in:
Felix Fietkau 2009-04-27 10:39:03 +00:00
parent 8a38ccc1d1
commit a296bdb983

@ -82,10 +82,19 @@ menuconfig: scripts/config/mconf prepare-tmpinfo FORCE
fi
$< Config.in
kernel_oldconfig: .config FORCE
prepare_kernel_conf: .config FORCE
ifeq ($(wildcard staging_dir/host/bin/sed),)
prepare_kernel_conf:
@+$(SUBMAKE) -r tools/sed/install
else
prepare_kernel_conf: ;
endif
kernel_oldconfig: prepare_kernel_conf
$(_SINGLE)$(NO_TRACE_MAKE) -C target/linux oldconfig
kernel_menuconfig: .config FORCE
kernel_menuconfig: prepare_kernel_conf
$(_SINGLE)$(NO_TRACE_MAKE) -C target/linux menuconfig
tmp/.prereq-build: include/prereq-build.mk