From 7f00123d63584e8d7da717c89fd1df610a161983 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Thu, 29 Nov 2018 10:22:26 +0100 Subject: [PATCH] ramips: remove duplicate image build variables Remove image build variables which are set to the same value as the default image build recipe. Signed-off-by: Mathias Kresin --- target/linux/ramips/image/mt7621.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 47ff85f241..8d1e943af5 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -217,7 +217,6 @@ define Device/mir3g BLOCKSIZE := 128k PAGESIZE := 2048 KERNEL_SIZE := 4096k - KERNEL := $(KERNEL_DTB) | uImage lzma IMAGE_SIZE := 32768k UBINIZE_OPTS := -E 5 IMAGES := sysupgrade.tar kernel1.bin rootfs0.bin @@ -273,7 +272,6 @@ define Device/r6220 BLOCKSIZE := 128k PAGESIZE := 2048 KERNEL_SIZE := 4096k - KERNEL := $(KERNEL_DTB) | uImage lzma IMAGE_SIZE := 28672k UBINIZE_OPTS := -E 5 IMAGES := sysupgrade.tar kernel.bin rootfs.bin @@ -300,7 +298,7 @@ define Device/MikroTik DEVICE_PACKAGES := kmod-usb3 LOADER_TYPE := elf PLATFORM := mt7621 - KERNEL := kernel-bin | patch-dtb | lzma | loader-kernel + KERNEL := $(KERNEL_DTB) | loader-kernel IMAGE/sysupgrade.bin := append-kernel | kernel2minor -s 1024 | pad-to $$$$(BLOCKSIZE) | \ append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE) endef @@ -370,7 +368,6 @@ define Device/ubnt-erx DTS := UBNT-ERX FILESYSTEMS := squashfs KERNEL_SIZE := 3145728 - KERNEL := $(KERNEL_DTB) | uImage lzma IMAGES := sysupgrade.tar KERNEL_INITRAMFS := $$(KERNEL) | ubnt-erx-factory-image $(KDIR)/tmp/$$(KERNEL_INITRAMFS_PREFIX)-factory.tar IMAGE/sysupgrade.tar := sysupgrade-tar | append-metadata