mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
mediatek: use DEVICE_DTC_FLAGS and drop DTC_FLAGS
The MT7986 RFB was intended to use device tree overlays and for that reason modified DTC_FLAGS. zyxel_ex5601-t0-stock later on probably copied it from there. Both boards do not actually use device tree overlays, so remove setting DTC_FLAGS from both. The BPi-R3 does use device tree overlays, use DEVICE_DTC_FLAGS to give it an extra 4kb of padding for overlays to be applied. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
5f201f97e8
commit
a47cff2bc4
@ -125,7 +125,7 @@ define Device/bananapi_bpi-r3
|
|||||||
KERNEL_INITRAMFS := kernel-bin | lzma | \
|
KERNEL_INITRAMFS := kernel-bin | lzma | \
|
||||||
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb with-initrd | pad-to 64k
|
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb with-initrd | pad-to 64k
|
||||||
IMAGE/sysupgrade.itb := append-kernel | fit gzip $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb external-static-with-rootfs | pad-rootfs | append-metadata
|
IMAGE/sysupgrade.itb := append-kernel | fit gzip $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb external-static-with-rootfs | pad-rootfs | append-metadata
|
||||||
DTC_FLAGS += -@ --space 32768
|
DEVICE_DTC_FLAGS := --pad 4096
|
||||||
DEVICE_COMPAT_VERSION := 1.1
|
DEVICE_COMPAT_VERSION := 1.1
|
||||||
DEVICE_COMPAT_MESSAGE := Device tree overlay mechanism needs bootloader update
|
DEVICE_COMPAT_MESSAGE := Device tree overlay mechanism needs bootloader update
|
||||||
endef
|
endef
|
||||||
@ -322,7 +322,6 @@ define Device/mediatek_mt7986a-rfb
|
|||||||
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
||||||
KERNEL_INITRAMFS = kernel-bin | lzma | \
|
KERNEL_INITRAMFS = kernel-bin | lzma | \
|
||||||
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb with-initrd
|
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb with-initrd
|
||||||
DTC_FLAGS += -@ --space 32768
|
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += mediatek_mt7986a-rfb
|
TARGET_DEVICES += mediatek_mt7986a-rfb
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user