lantiq: fix td-w8970 initramfs generation
authorJohn Crispin <john@openwrt.org>
Thu, 7 Nov 2013 12:45:44 +0000 (12:45 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 7 Nov 2013 12:45:44 +0000 (12:45 +0000)
https://dev.openwrt.org/ticket/14417

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

target/linux/lantiq/image/Makefile

index ff15896745ce35454f854709bcf9938e24008d85..c9b691366823f7854ceb687e0e48511fd1302739 100644 (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