diff mbox

ARM: mach-shmobile: Add compilation support for dtbs using 'make dtbs'

Message ID 1343033857-9053-1-git-send-email-koba@kmckk.co.jp (mailing list archive)
State Superseded
Headers show

Commit Message

Tetsuyuki Kobayashi July 23, 2012, 8:57 a.m. UTC
From: Tetsuyuki Kobayashi <koba@kmckk.co.jp>

Add compilation support for dtbs using 'make dtbs'

Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Simon Horman <horms@verge.net.au>
Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
---
 arch/arm/mach-shmobile/Makefile.boot |    4 ++++
 1 file changed, 4 insertions(+)

Comments

Simon Horman July 24, 2012, 1:20 a.m. UTC | #1
On Mon, Jul 23, 2012 at 05:57:37PM +0900, Tetsuyuki Kobayshi wrote:
> From: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
> 
> Add compilation support for dtbs using 'make dtbs'

I see the following with this patch applied to the next branch
of Rafael's renesas tree.

# make armadillo800eva_defconfig
# make dtb
make[1]: *** No rule to make target `arch/arm/boot/r8a7740-armadillo800eva.dts', needed by `arch/arm/boot/dtbs'.  Stop.
make: *** [dtbs] Error 2

> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
> Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> Cc: Simon Horman <horms@verge.net.au>
> Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
> ---
>  arch/arm/mach-shmobile/Makefile.boot |    4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/mach-shmobile/Makefile.boot b/arch/arm/mach-shmobile/Makefile.boot
> index 498efd9..a1227ce 100644
> --- a/arch/arm/mach-shmobile/Makefile.boot
> +++ b/arch/arm/mach-shmobile/Makefile.boot
> @@ -7,3 +7,7 @@ __ZRELADDR	:= $(shell /bin/bash -c 'printf "0x%08x" \
>  #
>  #params_phys-y (Instead: Pass atags pointer in r2)
>  #initrd_phys-y (Instead: Use compiled-in initramfs)
> +
> +dtb-$(CONFIG_MACH_KZM9G) += sh73a0-kzm9g.dtb
> +dtb-$(CONFIG_MACH_KZM9D) += emev2-kzm9d.dts
> +dtb-$(CONFIG_MACH_ARMADILLO800EVA) += r8a7740-armadillo800eva.dts
> -- 
> 1.7.9.5
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Simon Horman July 24, 2012, 1:22 a.m. UTC | #2
On Tue, Jul 24, 2012 at 10:20:28AM +0900, Simon Horman wrote:
> On Mon, Jul 23, 2012 at 05:57:37PM +0900, Tetsuyuki Kobayshi wrote:
> > From: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
> > 
> > Add compilation support for dtbs using 'make dtbs'
> 
> I see the following with this patch applied to the next branch
> of Rafael's renesas tree.
> 
> # make armadillo800eva_defconfig
> # make dtb
> make[1]: *** No rule to make target `arch/arm/boot/r8a7740-armadillo800eva.dts', needed by `arch/arm/boot/dtbs'.  Stop.
> make: *** [dtbs] Error 2

Sorry, I now see that you have posted v2 which fixes the problem above.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/mach-shmobile/Makefile.boot b/arch/arm/mach-shmobile/Makefile.boot
index 498efd9..a1227ce 100644
--- a/arch/arm/mach-shmobile/Makefile.boot
+++ b/arch/arm/mach-shmobile/Makefile.boot
@@ -7,3 +7,7 @@  __ZRELADDR	:= $(shell /bin/bash -c 'printf "0x%08x" \
 #
 #params_phys-y (Instead: Pass atags pointer in r2)
 #initrd_phys-y (Instead: Use compiled-in initramfs)
+
+dtb-$(CONFIG_MACH_KZM9G) += sh73a0-kzm9g.dtb
+dtb-$(CONFIG_MACH_KZM9D) += emev2-kzm9d.dts
+dtb-$(CONFIG_MACH_ARMADILLO800EVA) += r8a7740-armadillo800eva.dts