lantiq: fix td-w8970 initramfs generation

https://dev.openwrt.org/ticket/14417

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38667
lede-17.01
John Crispin 2013-11-07 12:45:44 +00:00
parent edf6236838
commit 1a368e8616
1 changed files with 2 additions and 3 deletions

View File

@ -148,9 +148,8 @@ define Image/BuildKernelTPLink/Template
$(CP) $(KDIR)/uImage-$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(1)-uImage
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
$(call PatchKernelLzma,$(1),-initramfs)
$(call Image/BuildLoader/Template,$(1),-initramfs)
$(CP) $(KDIR)/loader-initramfs-$(1).bin $(BIN_DIR)/$(IMG_PREFIX)-$(1)-vmlinux-initramfs-loader
$(CP) $(KDIR)/vmlinux-initramfs-$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(1)-vmlinux-initramfs
$(call TPLinkImageLzma,$(1),$(2),-initramfs)
$(CP) $(KDIR)/uImage-$(1)-initramfs $(BIN_DIR)/$(IMG_PREFIX)-$(1)-uImage-initramfs
endif
endef