microblaze: use new common dtc rule
authorStephen Warren <swarren@nvidia.com>
Tue, 27 Nov 2012 23:29:15 +0000 (16:29 -0700)
committerRob Herring <rob.herring@calxeda.com>
Mon, 3 Dec 2012 23:17:50 +0000 (17:17 -0600)
commit300db34a7256c94dbb7676f1e87101a3bb13cdd9
tree4caad7b25e8d8c918dba3a3abddfb53a4f9f82ae
parent1020e29cdab6bed8521a5a1a1b6f6513c393bc85
microblaze: use new common dtc rule

The current rules have the .dtb files build in a different directory
from the .dts files. This patch changes microblaze to use the generic dtb
rule which builds .dtb files in the same directory as the source .dts.

This requires moving parts of arch/microblaze/boot/Makefile into newly
created arch/microblaze/boot/dts/Makefile, and updating
arch/microblaze/Makefile to call the new Makefile. linked_dtb.S is also
moved into boot/dts/ since it's used by rules that were moved.

Cc: Michal Simek <monstr@monstr.eu>
Cc: microblaze-uclinux@itee.uq.edu.au
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/microblaze/Makefile
arch/microblaze/boot/Makefile
arch/microblaze/boot/dts/Makefile [new file with mode: 0644]
arch/microblaze/boot/dts/linked_dtb.S [new file with mode: 0644]
arch/microblaze/boot/linked_dtb.S [deleted file]