ipq40xx: point to externally compiled dtbs in recipes
authorTomasz Maciej Nowak <tmn505@gmail.com>
Thu, 25 Aug 2022 18:26:11 +0000 (20:26 +0200)
committerDavid Bauer <mail@david-bauer.net>
Tue, 6 Sep 2022 00:50:04 +0000 (02:50 +0200)
commit4d8b42d8a7774070ac0439915f8de1430db9a8e3
treef75f6026bec5cfbc6db7aa4148ace1b08e9628c1
parentee035de0fd4cf674dccc455cdb10dfa414f378c7
ipq40xx: point to externally compiled dtbs in recipes

Adjusting dts will cause a rebuild of whole kernel as the buildroot
considers this a part of kernel source. It's a royal PITA when trying to
prepare support for new device, since this takes a lot of time on slower
systems. As it stands, buildroot itself, with own rule, also compiles
dtbs and the results are $(KDIR)/image-$(DEVICE_DTS).dtb. With setting
DEVICE_DTS_DIR to directory holding the device dts (similarly to some
other targets), buildroot doesn't consider changed dts as part of kernel
source and rebuilds only dtb. This really speeds up development. And
since the kernel built dts are no longer used, drop the paches adding
dtses to its build.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Reviewed-by: Robert Marko <robimarko@gmail.com>
target/linux/ipq40xx/image/chromium.mk
target/linux/ipq40xx/image/generic.mk
target/linux/ipq40xx/patches-5.10/901-arm-boot-add-dts-files.patch [deleted file]
target/linux/ipq40xx/patches-5.15/901-arm-boot-add-dts-files.patch [deleted file]