Treble kernel requires the SoC device tree and the device specific device tree overlay to be built separately. Before the bootloader supports applying overlay, the overlay step to form the dtb passed to the linux kernel is done on the host side. Bug: 37099957 Change-Id: Ia64b1dc3539bd95617ac4aeab4127b92dd8a6a0d Signed-off-by: Yueyao Zhu <yueyao@google.com>
9 lines
387 B
Makefile
9 lines
387 B
Makefile
# Treble kerenl requires the SoC device tree and the device specific
|
|
# device tree overlay to be built separately. Before the bootloader
|
|
# supports applying overlay, the overlay step to form the dtb passed
|
|
# to the linux kernel is done on the host side with this target.
|
|
|
|
.PHONY: all
|
|
|
|
all:
|
|
$(if $(KBUILD_SRC),$(srctree)/)scripts/dtbo_apply_overlay.sh $(obj)/${KERNEL_DTB} $(obj)/${DTBO}
|