trusted-firmware-a.mk: pass DTC path similar to u-boot.mk
authorDaniel Golle <daniel@makrotopia.org>
Thu, 11 Aug 2022 21:29:52 +0000 (23:29 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 28 Aug 2022 18:01:55 +0000 (19:01 +0100)
commit14ce999924012b99c61b336527d1bc224823b78a
tree6165fbb689affc235d1bacc2f185351657a22d1b
parent8686a9a085d4313a0107a3e4378b3762c8293570
trusted-firmware-a.mk: pass DTC path similar to u-boot.mk

Instead of relying on dtc being provided by the build host use the
dtc from $(LINUX_DIR) similar to how it's done also in u-boot.mk.
For this to work kernel.mk now needs to be included before
trusted-firmware-a.mk, add this include to all affected packages.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
include/trusted-firmware-a.mk
package/boot/arm-trusted-firmware-bcm63xx/Makefile
package/boot/arm-trusted-firmware-mediatek/Makefile
package/boot/arm-trusted-firmware-mvebu/Makefile
package/boot/arm-trusted-firmware-sunxi/Makefile