mirror of https://github.com/hak5/openwrt-owl.git
ar71xx: only invoke Initramfs building when enabled
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37129owl
parent
448decfa8e
commit
c627ae768e
|
@ -199,9 +199,9 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
|
||||||
$(call MkuImage,gzip,,$(KDIR)/vmlinux-initramfs.bin.gz,$(UIMAGE)-initramfs-gzip.bin)
|
$(call MkuImage,gzip,,$(KDIR)/vmlinux-initramfs.bin.gz,$(UIMAGE)-initramfs-gzip.bin)
|
||||||
$(call MkuImage,lzma,,$(KDIR)/vmlinux-initramfs.bin.lzma,$(UIMAGE)-initramfs-lzma.bin)
|
$(call MkuImage,lzma,,$(KDIR)/vmlinux-initramfs.bin.lzma,$(UIMAGE)-initramfs-lzma.bin)
|
||||||
cp $(KDIR)/loader-generic.elf $(VMLINUX)-initramfs-lzma.elf
|
cp $(KDIR)/loader-generic.elf $(VMLINUX)-initramfs-lzma.elf
|
||||||
|
$(call Image/Build/Initramfs)
|
||||||
endif
|
endif
|
||||||
-mkdir -p $(KDIR_TMP)
|
-mkdir -p $(KDIR_TMP)
|
||||||
$(call Image/Build/Initramfs)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/WRT400N
|
define Image/Build/WRT400N
|
||||||
|
|
Loading…
Reference in New Issue