From 8e2764ce9bb6716acb955a0c27d8db291d68650c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 14 Jul 2016 13:58:23 +0200 Subject: 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 --- target/linux/archs38/image/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'target/linux/archs38/image') diff --git a/target/linux/archs38/image/Makefile b/target/linux/archs38/image/Makefile index 03bd8ee8eb..42b13e618d 100644 --- a/target/linux/archs38/image/Makefile +++ b/target/linux/archs38/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 -- cgit v1.2.3