summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/image/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-11-07 12:45:44 +0000
committerJohn Crispin <john@openwrt.org>2013-11-07 12:45:44 +0000
commit1a368e86168283b372939353b06f94ff951c7e1d (patch)
tree50a6376158c69f45d3450c2c2ec2aa0770b0cb95 /target/linux/lantiq/image/Makefile
parentedf623683833843f71cefae630f9063d9c18f320 (diff)
downloadmtk-20170518-1a368e86168283b372939353b06f94ff951c7e1d.zip
mtk-20170518-1a368e86168283b372939353b06f94ff951c7e1d.tar.gz
mtk-20170518-1a368e86168283b372939353b06f94ff951c7e1d.tar.bz2
lantiq: fix td-w8970 initramfs generation
https://dev.openwrt.org/ticket/14417 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38667
Diffstat (limited to 'target/linux/lantiq/image/Makefile')
-rw-r--r--target/linux/lantiq/image/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile
index ff15896..c9b6913 100644
--- a/target/linux/lantiq/image/Makefile
+++ b/target/linux/lantiq/image/Makefile
@@ -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