summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/Makefile
diff options
context:
space:
mode:
authorStephen Warren2012-11-28 00:29:15 +0100
committerRob Herring2012-12-04 00:17:50 +0100
commit300db34a7256c94dbb7676f1e87101a3bb13cdd9 (patch)
tree4caad7b25e8d8c918dba3a3abddfb53a4f9f82ae /arch/microblaze/Makefile
parentc6x: use new common dtc rule (diff)
downloadkernel-qcow2-linux-300db34a7256c94dbb7676f1e87101a3bb13cdd9.tar.gz
kernel-qcow2-linux-300db34a7256c94dbb7676f1e87101a3bb13cdd9.tar.xz
kernel-qcow2-linux-300db34a7256c94dbb7676f1e87101a3bb13cdd9.zip
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>
Diffstat (limited to 'arch/microblaze/Makefile')
-rw-r--r--arch/microblaze/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile
index b23c40eb7a52..d26fb905ee0a 100644
--- a/arch/microblaze/Makefile
+++ b/arch/microblaze/Makefile
@@ -57,7 +57,7 @@ boot := arch/microblaze/boot
DTB:=$(subst simpleImage.,,$(filter simpleImage.%, $(MAKECMDGOALS)))
ifneq ($(DTB),)
- core-y += $(boot)/
+ core-y += $(boot)/dts/
endif
# defines filename extension depending memory management type