mirror of https://github.com/hak5/openwrt.git
parent
20db49bf2c
commit
509bb267a3
2
Makefile
2
Makefile
|
@ -114,7 +114,7 @@ menuconfig: scripts/config/mconf tmp/.config.in tmp/.config-target.in FORCE
|
||||||
$< Config.in
|
$< Config.in
|
||||||
|
|
||||||
kernel_menuconfig: .config FORCE
|
kernel_menuconfig: .config FORCE
|
||||||
$(MAKE) target/linux-prepare
|
-$(MAKE) target/linux-prepare
|
||||||
$(NO_TRACE_MAKE) -C target/linux menuconfig
|
$(NO_TRACE_MAKE) -C target/linux menuconfig
|
||||||
|
|
||||||
package/%: tmp/.pkginfo tmp/.targetinfo FORCE
|
package/%: tmp/.pkginfo tmp/.targetinfo FORCE
|
||||||
|
|
|
@ -92,7 +92,6 @@ define Kernel/Configure/2.6
|
||||||
endef
|
endef
|
||||||
define Kernel/Configure/Default
|
define Kernel/Configure/Default
|
||||||
@$(CP) $(LINUX_CONFIG) $(LINUX_DIR)/.config
|
@$(CP) $(LINUX_CONFIG) $(LINUX_DIR)/.config
|
||||||
$(call Kernel/Configure/$(KERNEL))
|
|
||||||
endef
|
endef
|
||||||
define Kernel/Configure
|
define Kernel/Configure
|
||||||
$(call Kernel/Configure/Default)
|
$(call Kernel/Configure/Default)
|
||||||
|
@ -163,6 +162,7 @@ define BuildKernel
|
||||||
|
|
||||||
$(LINUX_DIR)/.configured: $(LINUX_DIR)/.prepared $(LINUX_CONFIG)
|
$(LINUX_DIR)/.configured: $(LINUX_DIR)/.prepared $(LINUX_CONFIG)
|
||||||
$(call Kernel/Configure)
|
$(call Kernel/Configure)
|
||||||
|
$(call Kernel/Configure/$(KERNEL))
|
||||||
touch $$@
|
touch $$@
|
||||||
|
|
||||||
$(LINUX_DIR)/.modules: $(LINUX_DIR)/.configured
|
$(LINUX_DIR)/.modules: $(LINUX_DIR)/.configured
|
||||||
|
@ -226,7 +226,8 @@ $(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
|
menuconfig: $(LINUX_DIR)/.prepared FORCE
|
||||||
|
$(call Kernel/Configure)
|
||||||
$(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) menuconfig
|
$(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) menuconfig
|
||||||
$(SCRIPT_DIR)/config.pl $(LINUX_DIR)/.config > $(PLATFORM_DIR)/config
|
$(SCRIPT_DIR)/config.pl $(LINUX_DIR)/.config > $(PLATFORM_DIR)/config
|
||||||
ifeq ($(KERNEL),2.6)
|
ifeq ($(KERNEL),2.6)
|
||||||
|
|
|
@ -19,7 +19,7 @@ compile:
|
||||||
install:
|
install:
|
||||||
$(MAKE) -C $(BOARD)-$(KERNEL) install
|
$(MAKE) -C $(BOARD)-$(KERNEL) install
|
||||||
|
|
||||||
menuconfig: prepare
|
menuconfig:
|
||||||
$(MAKE) -C $(BOARD)-$(KERNEL) menuconfig
|
$(MAKE) -C $(BOARD)-$(KERNEL) menuconfig
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in New Issue