aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-06-20 17:20:40 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-06-20 17:29:52 +0200
commit881fdb811f39d445fb00b4c1f38427fada883fe2 (patch)
tree2ec3575549b4aed5c4a6ea992945fe8d0b9b2094
parent2001c0ca9fd2bf95827e23ba867fa06fc3b0a3e7 (diff)
downloadupstream-881fdb811f39d445fb00b4c1f38427fada883fe2.tar.gz
upstream-881fdb811f39d445fb00b4c1f38427fada883fe2.tar.bz2
upstream-881fdb811f39d445fb00b4c1f38427fada883fe2.zip
ramips: clean up dlink_dir-8xx-r1 recipe
* only add factory.bin when it's defined * fix check-size vs. append-metadata * whitespace/line break cleanup Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rw-r--r--target/linux/ramips/image/mt7621.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index ee5ebaa8b2..ae9b4757de 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -300,9 +300,8 @@ define Device/dlink_dir-8xx-r1
DEVICE_VENDOR := D-Link
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
KERNEL_INITRAMFS := $$(KERNEL)
- IMAGES += factory.bin
- IMAGE/sysupgrade.bin := append-kernel | append-rootfs |\
- pad-rootfs | append-metadata | check-size
+ IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
+ check-size | append-metadata
endef
define Device/dlink_dir-xx60-a1
@@ -387,9 +386,10 @@ define Device/dlink_dir-882-r1
DEVICE_MODEL := DIR-882
DEVICE_VARIANT := R1
DEVICE_PACKAGES += kmod-usb3 kmod-usb-ledtrig-usbport
+ IMAGES += factory.bin
IMAGE/factory.bin := append-kernel | append-rootfs | check-size | \
- sign-dlink-ru 57c5375741c30ca9ebcb36713db4ba51 \
- ab0dff19af8842cdb70a86b4b68d23f7
+ sign-dlink-ru 57c5375741c30ca9ebcb36713db4ba51 \
+ ab0dff19af8842cdb70a86b4b68d23f7
endef
TARGET_DEVICES += dlink_dir-882-r1