diff mbox

[2/7] arm64: Add dtbs target for building all the enabled dtb files

Message ID 20121210180442.GA691@arm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Catalin Marinas Dec. 10, 2012, 6:04 p.m. UTC
On Fri, Dec 07, 2012 at 09:47:24PM +0000, Rob Herring wrote:
> On 12/07/2012 03:06 PM, Catalin Marinas wrote:
> > Based on Rob Herring's patches for arch/arm, this patch adds a dtbs
> > target to arch/arm64/boot/Makefile. In the process, also clean up the
> > unused MACHINE variable.
> > 
> > Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
> > ---
> > 
> > I'll drop this patch once Rob pushes his version into linux-next (or
> > mainline).
> 
> This and Stephen's dtb rule series are in linux-next now.

One minor fix needed. Please merge or fold it, whatever is easier.
Thanks.

-----------------------8<------------------------------

From addc6b45f915f6bbab238a2edd2072f3b474e673 Mon Sep 17 00:00:00 2001
From: Catalin Marinas <catalin.marinas@arm.com>
Date: Wed, 21 Nov 2012 11:44:59 +0000
Subject: [PATCH] arm64: Fix the dtbs target building

The arch/arm64/Makefile was not passing the right target to the
boot/dts/Makefile.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
---
 arch/arm64/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rob Herring Dec. 11, 2012, 2:30 a.m. UTC | #1
On 12/10/2012 12:04 PM, Catalin Marinas wrote:
> On Fri, Dec 07, 2012 at 09:47:24PM +0000, Rob Herring wrote:
>> On 12/07/2012 03:06 PM, Catalin Marinas wrote:
>>> Based on Rob Herring's patches for arch/arm, this patch adds a dtbs
>>> target to arch/arm64/boot/Makefile. In the process, also clean up the
>>> unused MACHINE variable.
>>>
>>> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
>>> ---
>>>
>>> I'll drop this patch once Rob pushes his version into linux-next (or
>>> mainline).
>>
>> This and Stephen's dtb rule series are in linux-next now.
> 
> One minor fix needed. Please merge or fold it, whatever is easier.
> Thanks.
> 
> -----------------------8<------------------------------
> 
> From addc6b45f915f6bbab238a2edd2072f3b474e673 Mon Sep 17 00:00:00 2001
> From: Catalin Marinas <catalin.marinas@arm.com>
> Date: Wed, 21 Nov 2012 11:44:59 +0000
> Subject: [PATCH] arm64: Fix the dtbs target building
> 
> The arch/arm64/Makefile was not passing the right target to the
> boot/dts/Makefile.
> 
> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>

Applied. Thanks.

Rob

> ---
>  arch/arm64/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
> index 11c3599..c95c5cb 100644
> --- a/arch/arm64/Makefile
> +++ b/arch/arm64/Makefile
> @@ -58,7 +58,7 @@ zinstall install: vmlinux
>  	$(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@
>  
>  dtbs: scripts
> -	$(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@
> +	$(Q)$(MAKE) $(build)=$(boot)/dts dtbs
>  
>  # We use MRPROPER_FILES and CLEAN_FILES now
>  archclean:
>
diff mbox

Patch

diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index 11c3599..c95c5cb 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -58,7 +58,7 @@  zinstall install: vmlinux
 	$(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@
 
 dtbs: scripts
-	$(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@
+	$(Q)$(MAKE) $(build)=$(boot)/dts dtbs
 
 # We use MRPROPER_FILES and CLEAN_FILES now
 archclean: