ipq806x: Point to externally compiled dtbs in recipes
authorBrian Norris <computersforpeace@gmail.com>
Fri, 13 Jan 2023 05:32:17 +0000 (21:32 -0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 20 Jan 2023 13:58:13 +0000 (14:58 +0100)
commit8821048c1bdbbe4b71dba782c56014e9c8dd11df
tree637e689f7d7e339d22a0d905e75c326c2b69a0c0
parent38a80685f02427a844ec4db52fe7b46930a1ed2c
ipq806x: Point to externally compiled dtbs in recipes

Similar to commit 4d8b42d8a777 ("ipq40xx: point to externally compiled
dtbs in recipes").

Currently, we patch our DTS files into the kernel source tree, so the
kernel build process will produce DTBs for us. The kernel-to-DTS
dependency can cause buildroot to perform excessive rebuilds of the
kernel though, which slows down device development iteration.

Buildroot also compiles DTBs on its own, to
$(KDIR)/image-$(DEVICE_DTS).dtb. With small adjustments, we can leverage
this, and stop patching DTS files into the kernel Makefile at the same
time.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
target/linux/ipq806x/image/Makefile
target/linux/ipq806x/patches-5.10/0069-arm-boot-add-dts-files.patch [deleted file]
target/linux/ipq806x/patches-5.15/0069-arm-boot-add-dts-files.patch [deleted file]