[PATCH v2] ARM: move all dtb targets out of Makefile.boot
Stephen Warren
swarren at wwwdotorg.org
Tue Sep 11 14:43:11 EDT 2012
On 09/11/2012 12:08 PM, Rob Herring wrote:
> From: Rob Herring <rob.herring at calxeda.com>
>
> In preparation to support multi-platform kernels, move all the dtb targets
> out of the mach Makefile.boot and into the arch/arm/boot/dts/Makefile
> which is closer to the sources.
>
> DTBs are only built when CONFIG_OF is enabled and now use top level
> CONFIG_ARCH_xxx instead of chip or board specific config options.
Acked-by: Stephen Warren <swarren at wwwdotorg.org>
... although I'm still not 100% how the conflicts are going to be
resolved; Arnd made a suggestion - is that what's happening?
> diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile
> +dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \
> + tegra20-paz00.dtb \
> + tegra20-seaboard.dtb \
> + tegra20-trimslice.dtb \
> + tegra20-ventana.dtb \
> + tegra20-whistler.dtb \
> + tegra30-cardhu.dtb
It seems like the following format would keep the lines 100% independent:
dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb
dtb-$(CONFIG_ARCH_TEGRA) += tegra20-paz00.dtb
dtb-$(CONFIG_ARCH_TEGRA) += tegra20-seaboard.dtb
But, what you have in the patch is probably just fine too.
More information about the linux-arm-kernel
mailing list