aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-07-02 10:43:31 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-07-02 10:43:31 +0000
commitc627ae768e001bf08a690eb1f095823dc7c89241 (patch)
treed48efa76b1b7b54db2b70fd7c9af635d6dbce0ee /target/linux/ar71xx
parent448decfa8e7f3f11715fdc77561c5651d126a45b (diff)
downloadupstream-c627ae768e001bf08a690eb1f095823dc7c89241.tar.gz
upstream-c627ae768e001bf08a690eb1f095823dc7c89241.tar.bz2
upstream-c627ae768e001bf08a690eb1f095823dc7c89241.zip
ar71xx: only invoke Initramfs building when enabled
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37129
Diffstat (limited to 'target/linux/ar71xx')
-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