summaryrefslogtreecommitdiff
path: root/target/linux/arc770/image/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-14 13:58:23 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-15 14:14:11 +0200
commit8e2764ce9bb6716acb955a0c27d8db291d68650c (patch)
tree559a52851877334a60a123410b96638719416fe2 /target/linux/arc770/image/Makefile
parent7ed215437c784eb466302a5c01a4ee2fff9eac2d (diff)
downloadmtk-20170518-8e2764ce9bb6716acb955a0c27d8db291d68650c.zip
mtk-20170518-8e2764ce9bb6716acb955a0c27d8db291d68650c.tar.gz
mtk-20170518-8e2764ce9bb6716acb955a0c27d8db291d68650c.tar.bz2
image.mk: clean up redundant code related to DEVICE_DTS
It is used by a core build template, so the variable should be initialized and added to DEVICE_VARS in the core. Same for DEVICE_DTS_DIR Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/arc770/image/Makefile')
-rw-r--r--target/linux/arc770/image/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/arc770/image/Makefile b/target/linux/arc770/image/Makefile
index 47c936e..1e44d6a 100644
--- a/target/linux/arc770/image/Makefile
+++ b/target/linux/arc770/image/Makefile
@@ -24,9 +24,8 @@ define Device/Default
PROFILES = Default $$(DEVICE_PROFILE)
KERNEL_DEPENDS = $$(wildcard ../dts/$$(DEVICE_DTS).dts)
DEVICE_PROFILE :=
- DEVICE_DTS :=
endef
-DEVICE_VARS += DEVICE_PROFILE DEVICE_DTS
+DEVICE_VARS += DEVICE_PROFILE
define Device/vmlinux
KERNEL_SUFFIX := .elf