ARM: dts: Only build OMAP dtb if associated SoC is built
authorPeter Robinson <pbrobinson@gmail.com>
Sun, 4 May 2014 00:11:37 +0000 (01:11 +0100)
committerTony Lindgren <tony@atomide.com>
Tue, 6 May 2014 16:58:03 +0000 (09:58 -0700)
commitae774090b8e65e5274314718a3865da84f72f85b
tree881e24caa5d5a300e36c435ada9c826e7d7c5ae7
parent89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd
ARM: dts: Only build OMAP dtb if associated SoC is built

With ARCH_OMAP2PLUS being separated out into OMAP2/3/4/5 etc all the TI device
tree blobs are built no matter the combination of SoCs that are enabled. This
often causes a bunch of irrelevant .dts to be built on a multi platform kernel,
this enables the building of just the ones relevant to the SoCs that are
actually enabled. It also orders the dts file alphabetically.

This also helps to avoid trivial merge conflicts when adding support
for new boards.

[tony@atomide.com: updated the order for am335x and am43x, moved am3517 to omap3]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/Makefile