Skip to content
Permalink
Browse files

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>
  • Loading branch information...
mkresin committed Nov 29, 2018
1 parent 221d3e0 commit 7f00123d63584e8d7da717c89fd1df610a161983
Showing with 1 addition and 4 deletions.
  1. +1 −4 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

0 comments on commit 7f00123

Please sign in to comment.
You can’t perform that action at this time.