mirror of https://github.com/hak5/openwrt-owl.git
add top-level kernel_menuconfig target to unpack and reconfigure the kernel - uses config.pl to generate target/linux/*/config and config-diff
SVN-Revision: 6310owl
parent
9b78ea021b
commit
8afbc2d617
4
Makefile
4
Makefile
|
@ -113,6 +113,10 @@ oldconfig: scripts/config/conf tmp/.config.in tmp/.config-target.in FORCE
|
||||||
menuconfig: scripts/config/mconf tmp/.config.in tmp/.config-target.in FORCE
|
menuconfig: scripts/config/mconf tmp/.config.in tmp/.config-target.in FORCE
|
||||||
$< Config.in
|
$< Config.in
|
||||||
|
|
||||||
|
kernel_menuconfig: .config FORCE
|
||||||
|
$(MAKE) target/linux-prepare
|
||||||
|
$(NO_TRACE_MAKE) -C target/linux menuconfig
|
||||||
|
|
||||||
package/%: tmp/.pkginfo tmp/.targetinfo FORCE
|
package/%: tmp/.pkginfo tmp/.targetinfo FORCE
|
||||||
$(MAKE) -C package $(patsubst package/%,%,$@)
|
$(MAKE) -C package $(patsubst package/%,%,$@)
|
||||||
|
|
||||||
|
|
|
@ -226,6 +226,13 @@ $(eval $(call shexport,Target/Description))
|
||||||
download: $(DL_DIR)/$(LINUX_SOURCE)
|
download: $(DL_DIR)/$(LINUX_SOURCE)
|
||||||
prepare: $(LINUX_DIR)/.configured $(TMP_DIR)/.kernel.mk
|
prepare: $(LINUX_DIR)/.configured $(TMP_DIR)/.kernel.mk
|
||||||
compile: $(LINUX_DIR)/.modules
|
compile: $(LINUX_DIR)/.modules
|
||||||
|
menuconfig: $(LINUX_DIR)/.configured FORCE
|
||||||
|
$(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) menuconfig
|
||||||
|
$(SCRIPT_DIR)/config.pl $(LINUX_DIR)/.config > $(PLATFORM_DIR)/config
|
||||||
|
ifeq ($(KERNEL),2.6)
|
||||||
|
$(SCRIPT_DIR)/config.pl '>' $(GENERIC_PLATFORM_DIR)/config-template $(LINUX_DIR)/.config > $(PLATFORM_DIR)/config-diff
|
||||||
|
endif
|
||||||
|
|
||||||
install: $(LINUX_DIR)/.image
|
install: $(LINUX_DIR)/.image
|
||||||
|
|
||||||
clean: FORCE
|
clean: FORCE
|
||||||
|
|
|
@ -19,5 +19,8 @@ compile:
|
||||||
install:
|
install:
|
||||||
$(MAKE) -C $(BOARD)-$(KERNEL) install
|
$(MAKE) -C $(BOARD)-$(KERNEL) install
|
||||||
|
|
||||||
|
menuconfig: prepare
|
||||||
|
$(MAKE) -C $(BOARD)-$(KERNEL) menuconfig
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C $(BOARD)-$(KERNEL) clean
|
$(MAKE) -C $(BOARD)-$(KERNEL) clean
|
||||||
|
|
Loading…
Reference in New Issue