mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 20:29:41 +02:00
fix image installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8324 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ce46ec9019
commit
5ce36cbb20
@ -8,6 +8,9 @@
|
|||||||
include $(INCLUDE_DIR)/prereq.mk
|
include $(INCLUDE_DIR)/prereq.mk
|
||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
include $(INCLUDE_DIR)/host.mk
|
include $(INCLUDE_DIR)/host.mk
|
||||||
|
|
||||||
|
override MAKEFLAGS=
|
||||||
|
override MAKE:=$(SUBMAKE)
|
||||||
KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
|
KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
|
||||||
|
|
||||||
ifneq ($(CONFIG_BIG_ENDIAN),y)
|
ifneq ($(CONFIG_BIG_ENDIAN),y)
|
||||||
@ -94,14 +97,14 @@ define BuildImage
|
|||||||
download:
|
download:
|
||||||
prepare:
|
prepare:
|
||||||
ifneq ($(IB),1)
|
ifneq ($(IB),1)
|
||||||
compile: compile-targets
|
compile: compile-targets FORCE
|
||||||
$(call Build/Compile)
|
$(call Build/Compile)
|
||||||
else
|
else
|
||||||
compile:
|
compile:
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(IB),1)
|
ifneq ($(IB),1)
|
||||||
install: compile install-targets
|
install: compile install-targets FORCE
|
||||||
$(call Image/Prepare)
|
$(call Image/Prepare)
|
||||||
$(call Image/mkfs/prepare)
|
$(call Image/mkfs/prepare)
|
||||||
$(call Image/BuildKernel)
|
$(call Image/BuildKernel)
|
||||||
|
@ -174,7 +174,7 @@ oldconfig menuconfig: $(STAMP_PREPARED) FORCE
|
|||||||
$(SCRIPT_DIR)/config.pl '>' $(GENERIC_LINUX_CONFIG) $(LINUX_DIR)/.config > $(LINUX_CONFIG)
|
$(SCRIPT_DIR)/config.pl '>' $(GENERIC_LINUX_CONFIG) $(LINUX_DIR)/.config > $(LINUX_CONFIG)
|
||||||
|
|
||||||
install: $(LINUX_DIR)/.image
|
install: $(LINUX_DIR)/.image
|
||||||
$(MAKE) -C image install
|
$(MAKE) -C image compile install
|
||||||
|
|
||||||
clean: FORCE
|
clean: FORCE
|
||||||
rm -f $(STAMP_DIR)/.linux-compile
|
rm -f $(STAMP_DIR)/.linux-compile
|
||||||
@ -188,6 +188,6 @@ rebuild: FORCE
|
|||||||
@$(MAKE) compile
|
@$(MAKE) compile
|
||||||
|
|
||||||
image-prereq:
|
image-prereq:
|
||||||
$(MAKE) -s -C image prereq
|
$(SUBMAKE) -s -C image prereq
|
||||||
|
|
||||||
prereq: image-prereq
|
prereq: image-prereq
|
||||||
|
Loading…
Reference in New Issue
Block a user