[openwrt/openwrt] ramips: mt7621: replace missing custom-initramfs-uimage

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 26 03:13:13 EST 2020


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f29231ece747dc09c350aea90bd30d1ab6447a4a

commit f29231ece747dc09c350aea90bd30d1ab6447a4a
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Thu Nov 26 09:01:26 2020 +0100

    ramips: mt7621: replace missing custom-initramfs-uimage
    
    custom-initramfs-uimage was replaced by calls to uImage, but apparently
    mtc_wr1201 was missed in the transistion. Use uImage for this device
    too.
    
    Fixes: 9f574b1b875c "ramips: mt7621: drop custom uImage function"
    
    Signed-off-by: Sander Vanheule <sander at svanheule.net>
---
 target/linux/ramips/image/mt7621.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index d3b96f5f4b..ce9a3ae3d2 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -758,7 +758,7 @@ define Device/mtc_wr1201
   IMAGE_SIZE := 16000k
   DEVICE_VENDOR := MTC
   DEVICE_MODEL := Wireless Router WR1201
-  KERNEL_INITRAMFS := $(KERNEL_DTB) | custom-initramfs-uimage WR1201_8_128
+  KERNEL_INITRAMFS := $(KERNEL_DTB) | uImage lzma -n 'WR1201_8_128'
   DEVICE_PACKAGES := kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 \
 	kmod-usb-ledtrig-usbport
 endef



More information about the lede-commits mailing list