Re: [U-Boot] [PATCH] dtbo: Fix dtbo generation rules

2019-02-18 Thread Michal Simek
Hi,

On 11. 02. 19 14:51, Michal Simek wrote:
> Take the first prerequisite (dts overlay file) instead of standard
> input.
> 
> Signed-off-by: Michal Simek 
> ---
> 
> Not sure how this was designed to take overlay as input.
> What I have done was simply add overlay to arch/arm/dts folder and add
> target with .dtbo suffix.
> 
> ---
>  scripts/Makefile.lib | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
> index a5b57fc6b98a..34b3fed6a0ba 100644
> --- a/scripts/Makefile.lib
> +++ b/scripts/Makefile.lib
> @@ -317,7 +317,7 @@ quiet_cmd_dtco = DTCO$@
>  # No generation of assembly file either
>  # Modified for U-Boot
>  cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \
> - $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) - ; \
> + $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
>   $(DTC) -@ -O dtb -o $@ -b 0 \
>   -i $(dir $<) $(DTC_FLAGS) \
>   -d $(depfile).dtc.tmp $(dtc-tmp) ; \
> 

Any issue with this?

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH] dtbo: Fix dtbo generation rules

2019-02-11 Thread Michal Simek
Take the first prerequisite (dts overlay file) instead of standard
input.

Signed-off-by: Michal Simek 
---

Not sure how this was designed to take overlay as input.
What I have done was simply add overlay to arch/arm/dts folder and add
target with .dtbo suffix.

---
 scripts/Makefile.lib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index a5b57fc6b98a..34b3fed6a0ba 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -317,7 +317,7 @@ quiet_cmd_dtco = DTCO$@
 # No generation of assembly file either
 # Modified for U-Boot
 cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \
-   $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) - ; \
+   $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
$(DTC) -@ -O dtb -o $@ -b 0 \
-i $(dir $<) $(DTC_FLAGS) \
-d $(depfile).dtc.tmp $(dtc-tmp) ; \
-- 
1.9.1

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot