|
@@ -684,10 +684,9 @@ define Device/dlink_dir-8xx-a1
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
|
|
|
KERNEL := $$(KERNEL) | uimage-sgehdr
|
|
|
- IMAGES += factory.bin
|
|
|
- IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
|
|
|
- check-size | append-metadata
|
|
|
- IMAGE/factory.bin := append-kernel | append-rootfs | check-size
|
|
|
+ IMAGES += recovery.bin factory.bin
|
|
|
+ IMAGE/recovery.bin := append-kernel | append-rootfs | check-size
|
|
|
+ IMAGE/factory.bin := $$(IMAGE/recovery.bin) | dlink-sge-image $$$$(DEVICE_MODEL)
|
|
|
endef
|
|
|
|
|
|
define Device/dlink_dir-8xx-r1
|
|
@@ -707,8 +706,8 @@ define Device/dlink_dir-xx60-a1
|
|
|
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
|
|
|
kmod-usb-ledtrig-usbport -uboot-envtools
|
|
|
KERNEL := $$(KERNEL) | uimage-sgehdr
|
|
|
- IMAGES += factory.bin
|
|
|
- IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
|
|
+ IMAGES += recovery.bin
|
|
|
+ IMAGE/recovery.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
|
|
check-size
|
|
|
endef
|
|
|
|
|
@@ -760,6 +759,8 @@ define Device/dlink_dir-853-a3
|
|
|
$(Device/dlink_dir-xx60-a1)
|
|
|
DEVICE_MODEL := DIR-853
|
|
|
DEVICE_VARIANT := A3
|
|
|
+ IMAGES += factory.bin
|
|
|
+ IMAGE/factory.bin := $$(IMAGE/recovery.bin) | dlink-sge-image $$(DEVICE_MODEL)
|
|
|
endef
|
|
|
TARGET_DEVICES += dlink_dir-853-a3
|
|
|
|