summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-02 10:43:31 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-02 10:43:31 +0000
commitb03ea591ccb19ca2ab7f661c8197c9657cd74cc8 (patch)
tree01dd6d929d952d2150988936354021beaca2766c
parent0c68f04d26a82f79ebf516351cdd8a5a826dc26b (diff)
ar71xx: only invoke Initramfs building when enabled
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37129 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/image/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 22b6f729f4..6f23263dbd 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -199,9 +199,9 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
$(call MkuImage,gzip,,$(KDIR)/vmlinux-initramfs.bin.gz,$(UIMAGE)-initramfs-gzip.bin)
$(call MkuImage,lzma,,$(KDIR)/vmlinux-initramfs.bin.lzma,$(UIMAGE)-initramfs-lzma.bin)
cp $(KDIR)/loader-generic.elf $(VMLINUX)-initramfs-lzma.elf
+ $(call Image/Build/Initramfs)
endif
-mkdir -p $(KDIR_TMP)
- $(call Image/Build/Initramfs)
endef
define Image/Build/WRT400N