aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-11-29 10:22:26 +0100
committerMathias Kresin <dev@kresin.me>2018-11-29 13:15:44 +0100
commit7f00123d63584e8d7da717c89fd1df610a161983 (patch)
treeb9f1f9d2a4a939953f186fda3843b38fce4e4c26 /target/linux/ramips/image
parent221d3e023451cad0b60b8a47e8b788d6368108c2 (diff)
downloadupstream-7f00123d63584e8d7da717c89fd1df610a161983.tar.gz
upstream-7f00123d63584e8d7da717c89fd1df610a161983.tar.bz2
upstream-7f00123d63584e8d7da717c89fd1df610a161983.zip
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 <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r--target/linux/ramips/image/mt7621.mk5
1 files changed, 1 insertions, 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