ARM: dt: change .dtb build rules to build in dts directory
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 27 Nov 2012 23:29:11 +0000 (16:29 -0700)
committerRob Herring <rob.herring@calxeda.com>
Mon, 3 Dec 2012 18:48:44 +0000 (12:48 -0600)
commit499cd8298628eeabf0eb5eb6525d4faa0eec80d8
treefbc46d2c5d0a04d02ba3e4881f1810b8d3fede07
parent90b335fbbc316b58a0daee8ea792b5aa8903f2ae
ARM: dt: change .dtb build rules to build in dts directory

The current rules have the .dtb files build in a different directory
from the .dts files. The only reason for this is that it was what
PowerPC has done historically. This patch changes ARM to use the generic
dtb rule which builds .dtb files in the same directory as the source .dts.

Cc: Russell King <linux@arm.linux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Olof Johansson <olof@lixom.net>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
[swarren: added rm command for old stale .dtb files]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/arm/Makefile
arch/arm/boot/Makefile
arch/arm/boot/dts/Makefile