@ -16,12 +16,6 @@ ifeq ($(SUBTARGET),mt7622)
KERNEL_LOADADDR = 0x41080000
e n d i f
# build dtb
d e f i n e B u i l d / d t b
$( call Image/BuildDTB,$( DEVICE_DTS_DIR) /$( DEVICE_DTS) .dts,$( DEVICE_DTS_DIR) /$( DEVICE_DTS) .dtb)
$( CP) $( DEVICE_DTS_DIR) /$( DEVICE_DTS) .dtb $( BIN_DIR) /
e n d e f
d e f i n e B u i l d / s y s u p g r a d e - e m m c
rm -f $@ .recovery
mkfs.fat -C $@ .recovery 3070
@ -42,13 +36,13 @@ define Device/Default
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata
i f e q ( $( SUBTARGET ) , m t 7 6 2 3 )
KERNEL_NAME := zImage
KERNEL := dtb | kernel-bin | append-dtb | uImage none
KERNEL_INITRAMFS := dtb | kernel-bin | append-dtb | uImage none
KERNEL := kernel-bin | append-dtb | uImage none
KERNEL_INITRAMFS := kernel-bin | append-dtb | uImage none
e n d i f
i f e q ( $( SUBTARGET ) , m t 7 6 2 2 )
KERNEL_NAME := Image
KERNEL = dtb | kernel-bin | lzma | fit lzma $$ ( DEVICE_DTS_DIR) / $$ ( DEVICE_DTS) .dtb
KERNEL_INITRAMFS = dtb | kernel-bin | lzma | fit lzma $$ ( DEVICE_DTS_DIR) / $$ ( DEVICE_DTS) .dtb
KERNEL = kernel-bin | lzma | fit lzma $$ ( KDIR) /image-$$ ( firstword $$ ( DEVICE_DTS) ) .dtb
KERNEL_INITRAMFS = kernel-bin | lzma | fit lzma $$ ( KDIR) /image-$$ ( firstword $$ ( DEVICE_DTS) ) .dtb
e n d i f
e n d e f