summaryrefslogtreecommitdiffstats
path: root/arch/nios2/Makefile
diff options
context:
space:
mode:
authorRob Herring2015-10-08 02:21:18 +0200
committerRob Herring2018-10-02 16:22:49 +0200
commit118864869805123bf82d666062542440a0fda5dd (patch)
tree05178cf807513b79d3df68b3724ef96b406a6009 /arch/nios2/Makefile
parentpowerpc: build .dtb files in dts directory (diff)
downloadkernel-qcow2-linux-118864869805123bf82d666062542440a0fda5dd.tar.gz
kernel-qcow2-linux-118864869805123bf82d666062542440a0fda5dd.tar.xz
kernel-qcow2-linux-118864869805123bf82d666062542440a0fda5dd.zip
nios2: build .dtb files in dts directory
Align nios2 with other architectures which build the dtb files in the same directory as the dts files. This is also in line with most other build targets which are located in the same directory as the source. This move will help enable the 'dtbs' target which builds all the dtbs regardless of kernel config. This transition could break some scripts if they expect dtb files in the old location. Cc: Ley Foon Tan <lftan@altera.com> Cc: nios2-dev@lists.rocketboards.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'arch/nios2/Makefile')
-rw-r--r--arch/nios2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/nios2/Makefile b/arch/nios2/Makefile
index 8673a79dca9c..50eece1c6adb 100644
--- a/arch/nios2/Makefile
+++ b/arch/nios2/Makefile
@@ -59,10 +59,10 @@ archclean:
$(Q)$(MAKE) $(clean)=$(nios2-boot)
%.dtb: | scripts
- $(Q)$(MAKE) $(build)=$(nios2-boot) $(nios2-boot)/$@
+ $(Q)$(MAKE) $(build)=$(nios2-boot)/dts $(nios2-boot)/dts/$@
dtbs:
- $(Q)$(MAKE) $(build)=$(nios2-boot) $(nios2-boot)/$@
+ $(Q)$(MAKE) $(build)=$(nios2-boot)/dts
$(BOOT_TARGETS): vmlinux
$(Q)$(MAKE) $(build)=$(nios2-boot) $(nios2-boot)/$@