diff mbox

[U-Boot,v2,1/9] devicetree: use wildcard to clean arch subdir

Message ID 1452044972-17992-1-git-send-email-thomas@wytron.com.tw
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Thomas Chou Jan. 6, 2016, 1:49 a.m. UTC
Use wildcard to clean arch subdirectories, as it is cleaner than
listing all the arch which builds dtb.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
---
v2
  no change

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

Comments

Simon Glass Jan. 13, 2016, 8:10 p.m. UTC | #1
On 5 January 2016 at 18:49, Thomas Chou <thomas@wytron.com.tw> wrote:
> Use wildcard to clean arch subdirectories, as it is cleaner than
> listing all the arch which builds dtb.
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> ---
> v2
>   no change
>
>  dts/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-fdt, thanks!

I'm not planning on applying the other patches as I prefer the
Makefile approach at present. But I would like to have a way of
shipping multiple device trees (i.e. attaching more than one in
u-boot-dtb.bin).

- Simon
diff mbox

Patch

diff --git a/dts/Makefile b/dts/Makefile
index d3122aa..dbde703 100644
--- a/dts/Makefile
+++ b/dts/Makefile
@@ -45,4 +45,4 @@  dtbs: $(obj)/dt.dtb
 clean-files := dt.dtb.S
 
 # Let clean descend into dts directories
-subdir- += ../arch/arm/dts ../arch/microblaze/dts ../arch/sandbox/dts ../arch/x86/dts
+subdir- += ../arch/*/dts