summaryrefslogtreecommitdiffstats
path: root/arch/nios2/boot/dts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/boot/dts/Makefile')
-rw-r--r--arch/nios2/boot/dts/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/nios2/boot/dts/Makefile b/arch/nios2/boot/dts/Makefile
index e9e31bb40d..1a2e8996be 100644
--- a/arch/nios2/boot/dts/Makefile
+++ b/arch/nios2/boot/dts/Makefile
@@ -2,5 +2,4 @@
obj-y := $(patsubst %.dts,%.dtb.o,$(CONFIG_NIOS2_DTB_SOURCE))
-dtstree := $(srctree)/$(src)
-dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
+dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(src)/%.dts,%.dtb, $(wildcard $(src)/*.dts))