4 Commits

Author SHA1 Message Date
Woody Lin
1e3939ca58
build-dtbo: Support base dtbs which located in foreign folder
The temp output file path of command `DTC_OVERLAY_TEST' is
$(dot-target).<related-path-to-base_dtb>.tmp. That is, when
<related-path-to-base_dtb> has ```/''' included (e.g.:
../vendor/chipset-ver.xyz.dtb), the `DTC_OVERLAY_TEST' might return fail
because destination dir is yet created for writing the output file.

This change substitutes all the ```/''' in <related-path-to-base_dtb>
into ```-''' to fix this problem.

Change-Id: I921e41982f11ba1d95668849f28a74370ed6700c
Signed-off-by: Woody Lin <woodylin@google.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
Signed-off-by: CloudedQuartz <ravenklawasd@gmail.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
2022-03-19 07:08:04 +00:00
Maria Yu
e481281087 scripts: Makefile: Add multi overlay dtbo-base apply verify
Current board device tree overlay verify only support
single soc device tree dtb. Add support overlay apply verify
for multi soc device tree dtb in dtbo-base.

Change-Id: Idca1c57969303f701be37550da23c117cbd90470
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
2018-04-05 18:59:43 -07:00
Kyle Yan
359e379f8e scripts: Makefile: Change output overlay from .dtb to .tmp
If the output overlayed file has the .dtb extension, then the build system
may interpret the overlayed file as a SOC DTB file which will result
in the final kernel image including properties from the board files.

Change-Id: I857d5dc731b1bbcd880a7543a437e10f4f9bf912
Signed-off-by: Kyle Yan <kyan@codeaurora.org>
2018-01-31 17:00:21 -08:00
Puja Gupta
e3223e858d scripts: Makefile: add support to compile DT overlay blobs
Add support to compile device tree overlay blob.
'dtbo-y' target can be used to specify DT overlay blob.
'<target>-obj'  must be specified to list base and overlay blobs.

Change-Id: Ib5036c70ba46374619cc43f9f7b697e1a444aebf
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
2017-08-10 10:52:07 -07:00