aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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
commit732b42089a88ff78dcf53928dca45c0a026ac05e (patch)
tree01dd6d929d952d2150988936354021beaca2766c /target/linux
parent22f223033c219599225fb47388329050d82cb851 (diff)
downloadupstream-732b42089a88ff78dcf53928dca45c0a026ac05e.tar.gz
upstream-732b42089a88ff78dcf53928dca45c0a026ac05e.tar.bz2
upstream-732b42089a88ff78dcf53928dca45c0a026ac05e.zip
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
Diffstat (limited to 'target/linux')
-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