image: introduce DEVICE_DTC_FLAGS and DEVICE_DTCO_FLAGS
authorDaniel Golle <daniel@makrotopia.org>
Tue, 6 Jun 2023 12:01:15 +0000 (13:01 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 9 Jun 2023 18:23:03 +0000 (19:23 +0100)
commit4bb75f6f40014b960d55be01213fc7837a696a6e
tree477f65eecf68df4d4bc472efd335f29b4bb0c85f
parent49bd38f01ac6927cda2dc894417994d1256673a7
image: introduce DEVICE_DTC_FLAGS and DEVICE_DTCO_FLAGS

Handle compiling device tree overlay blobs separate to allow for
overlays being compiled with different parameters, mostly to safe
space.
Allow defining DEVICE_DTC_FLAGS and DEVICE_DTCO_FLAGS as per-device
parameters to be passed to dtc. Previously some boards directly used
DTC_FLAGS in their build recipe which then also affected other boards.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 56f409c4e4df8b365b39a0bf9d2919814cc556a4)
include/image.mk