Files
kernel_google_msm-4.9/scripts/Makefile.dtboapply
Yueyao Zhu 5d99bfa42c Makefile: apply device tree overlay during build
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>
2018-03-23 11:25:09 -07:00

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}