diff mbox series

[RESEND,PATCHv2,3/4] arm64: dts: add support for building DT overlays

Message ID 1536048344-9995-4-git-send-email-t-kristo@ti.com
State New
Headers show
Series ARM build infra changes to support building .dtbos | expand

Commit Message

Tero Kristo Sept. 4, 2018, 8:05 a.m. UTC
Add simple support for building DT overlays. This just compiles any
given .dtso file under the base arch/arm64/boot/dts/*/ directory into
a .dtbo.

Signed-off-by: Tero Kristo <t-kristo@ti.com>

---
 arch/arm64/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.9.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

Comments

Frank Rowand Sept. 5, 2018, 8:36 p.m. UTC | #1
On 09/04/18 01:05, Tero Kristo wrote:
> Add simple support for building DT overlays. This just compiles any

> given .dtso file under the base arch/arm64/boot/dts/*/ directory into

> a .dtbo.

> 

> Signed-off-by: Tero Kristo <t-kristo@ti.com>

> ---

>  arch/arm64/Makefile | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile

> index 106039d..f04c814 100644

> --- a/arch/arm64/Makefile

> +++ b/arch/arm64/Makefile

> @@ -127,7 +127,7 @@ Image.%: Image

>  zinstall install:

>  	$(Q)$(MAKE) $(build)=$(boot) $@

>  

> -%.dtb: scripts

> +%.dtb %.dtbo: scripts

>  	$(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@

>  

>  PHONY += dtbs dtbs_install

> 


Same comments as for patch 1/4.
diff mbox series

Patch

diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index 106039d..f04c814 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -127,7 +127,7 @@  Image.%: Image
 zinstall install:
 	$(Q)$(MAKE) $(build)=$(boot) $@
 
-%.dtb: scripts
+%.dtb %.dtbo: scripts
 	$(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@
 
 PHONY += dtbs dtbs_install