Skip to content

Commit

Permalink
arm64/dts: mediatek: Add kernel level dtbo building logic
Browse files Browse the repository at this point in the history
* Similar to what mediatek does using ufdtoverlay using drvgen.

Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
  • Loading branch information
mvaisakh authored and Hadenix committed Feb 2, 2024
1 parent 4c97472 commit 9208378
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions arch/arm64/boot/dts/mediatek/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ ifeq ($(strip $(CONFIG_BUILD_ARM64_DTB_OVERLAY_IMAGE)), y)
dtb-y += $(addsuffix .dtb, $(notdir $(subst $\",,$(CONFIG_BUILD_ARM64_DTB_OVERLAY_IMAGE_NAMES))))
endif

always := $(dtb-y)
ifeq ($(strip $(CONFIG_BUILD_ARM64_DTB_OVERLAY_IMAGE)), y)
dtbo-y += $(addsuffix .dtbo, $(notdir $(subst $\",,$(CONFIG_BUILD_ARM64_DTB_OVERLAY_IMAGE_NAMES))))
endif

always := $(dtb-y) $(dtbo-y)
subdir-y := $(dts-dirs)
clean-files := *.dtb
clean-files := *.dtb *.dtbo

0 comments on commit 9208378

Please sign in to comment.