qcom: devicetree: Enable building qcom dtbo

Change-Id: I7b1f13ce7189f5b784564f6670fcdbc6dc9c9550
This commit is contained in:
dianlujitao
2025-01-23 14:35:23 +08:00
committed by chandu078
parent 7554bf0159
commit 0dad104f6c
2 changed files with 5 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ vendor := $(srctree)/$(src)
ifneq "$(wildcard $(vendor)/qcom)" ""
#OPLUS_DTS_OVERLAY start
#subdir-y += qcom
subdir-y += qcom
#OPLUS_DTS_OVERLAY end
endif
#OPLUS_DTS_OVERLAY start

View File

@@ -6,6 +6,8 @@
# Combined dtb target is also generated using the fdt_overlay tool.
# dtb-y += <base>-<board>.dtb
ifneq (,)
add-overlays = $(foreach o,$1,$(foreach b,$2,$(eval $(basename $b)-$(basename $o)-dtbs = $b $o) $(basename $b)-$(basename $o).dtb))
# sun-dtb-y is list of DTBs to install when doing non-overlay build
@@ -369,6 +371,8 @@ dtb-y += $(parrot_tuivm-dtb-y)
endif
endif
endif
always-y := $(dtb-y)
subdir-y := $(dts-dirs)
subdir-y += audio bt camera data display dsp eSE eva fingerprint graphics mm mmrm nfc synx video wlan