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>
(cherry picked from commit 881fdb811f)
This commit is contained in:
parent
ce7dfc8bd6
commit
9e146f352f
@ -284,9 +284,8 @@ define Device/dlink_dir-8xx-r1
|
|||||||
DEVICE_VENDOR := D-Link
|
DEVICE_VENDOR := D-Link
|
||||||
DEVICE_PACKAGES := kmod-mt7615d luci-app-mtwifi -wpad-openssl
|
DEVICE_PACKAGES := kmod-mt7615d luci-app-mtwifi -wpad-openssl
|
||||||
KERNEL_INITRAMFS := $$(KERNEL)
|
KERNEL_INITRAMFS := $$(KERNEL)
|
||||||
IMAGES += factory.bin
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
|
||||||
IMAGE/sysupgrade.bin := append-kernel | append-rootfs |\
|
check-size | append-metadata
|
||||||
pad-rootfs | append-metadata | check-size
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/dlink_dir-xx60-a1
|
define Device/dlink_dir-xx60-a1
|
||||||
@ -369,9 +368,10 @@ define Device/dlink_dir-882-r1
|
|||||||
DEVICE_MODEL := DIR-882
|
DEVICE_MODEL := DIR-882
|
||||||
DEVICE_VARIANT := R1
|
DEVICE_VARIANT := R1
|
||||||
DEVICE_PACKAGES += kmod-usb3 kmod-usb-ledtrig-usbport
|
DEVICE_PACKAGES += kmod-usb3 kmod-usb-ledtrig-usbport
|
||||||
|
IMAGES += factory.bin
|
||||||
IMAGE/factory.bin := append-kernel | append-rootfs | check-size | \
|
IMAGE/factory.bin := append-kernel | append-rootfs | check-size | \
|
||||||
sign-dlink-ru 57c5375741c30ca9ebcb36713db4ba51 \
|
sign-dlink-ru 57c5375741c30ca9ebcb36713db4ba51 \
|
||||||
ab0dff19af8842cdb70a86b4b68d23f7
|
ab0dff19af8842cdb70a86b4b68d23f7
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += dlink_dir-882-r1
|
TARGET_DEVICES += dlink_dir-882-r1
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user