aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
parent7ed215437c784eb466302a5c01a4ee2fff9eac2d (diff)
downloadupstream-8e2764ce9bb6716acb955a0c27d8db291d68650c.tar.gz
upstream-8e2764ce9bb6716acb955a0c27d8db291d68650c.tar.bz2
upstream-8e2764ce9bb6716acb955a0c27d8db291d68650c.zip
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 'include')
-rw-r--r--include/image.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk
index bf5f0a6a20..b257eae121 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -329,11 +329,15 @@ define Device/Init
SUBPAGESIZE :=
UBINIZE_OPTS := -E 5
+ DEVICE_DTS :=
+ DEVICE_DTS_DIR :=
+
FILESYSTEMS := $(TARGET_FILESYSTEMS)
endef
DEFAULT_DEVICE_VARS := \
DEVICE_NAME KERNEL KERNEL_INITRAMFS KERNEL_INITRAMFS_IMAGE \
+ DEVICE_DTS DEVICE_DTS_DIR \
UBOOTENV_IN_UBI KERNEL_IN_UBI \
BLOCKSIZE PAGESIZE SUBPAGESIZE \
UBINIZE_OPTS