Thread (44 messages) flat view 44 messages, 10 authors, 2012-09-14
STALE5075d REVIEWED: 1 (0M)

1 review trailer.

[PATCH v2] ARM: move all dtb targets out of Makefile.boot

From: Stephen Warren <hidden>
Date: 2012-09-11 18:43:11

On 09/11/2012 12:08 PM, Rob Herring wrote:
From: Rob Herring <redacted>

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 <redacted>

... although I'm still not 100% how the conflicts are going to be
resolved; Arnd made a suggestion - is that what's happening?
quoted hunk ↗ jump to hunk
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help