X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=include%2Fimage.mk;h=1c36327c61f9f3ab597a7f95cc58c9000bc8746e;hb=f4d24919d49f2c25d0ec3f7658a93f6170580db7;hp=59204581d011d87ea766dc4d823b0aa841376a5c;hpb=49b0bca1bafa8443b14ef7a32d1d56d359884a91;p=openwrt.git diff --git a/include/image.mk b/include/image.mk index 59204581d0..1c36327c61 100644 --- a/include/image.mk +++ b/include/image.mk @@ -4,6 +4,9 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # + +include $(INCLUDE_DIR)/prereq.mk +include $(INCLUDE_DIR)/kernel.mk KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD) ifneq ($(CONFIG_BIG_ENDIAN),y) @@ -72,10 +75,12 @@ define Image/mkfs/prepare endef define BuildImage -compile: +download: +prepare: +compile: compile-targets $(call Build/Compile) -install: +install: compile install-targets $(call Image/Prepare) $(call Image/mkfs/prepare) $(call Image/BuildKernel) @@ -84,16 +89,12 @@ install: $(call Image/mkfs/tgz) $(call Image/mkfs/ext2) -clean: +clean: clean-targets $(call Build/Clean) -endef compile-targets: install-targets: clean-targets: +endef + -download: -prepare: -compile: compile-targets -install: compile install-targets -clean: clean-targets