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>
Sat, 21 Jan 2023 00:02:24 +0000 (01:02 +0100)
commit84ee3436a44dac3809b05a1c900e34dbebf030c1
tree94e271a4333e0eabd61b62913d3b990ed3f02759
parentd3c19c71f6044eff1677563365cea0f9e919b462
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]