summaryrefslogtreecommitdiff
path: root/include/image.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-20 10:09:10 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-20 10:13:50 +0200
commitb5b2425cba8b9ec18c4ffa5c03d29a0fc83f530a (patch)
tree33e744a4052fd764176290c0ab0dea4992381f15 /include/image.mk
parent9a50a213d225263985eef5a4ab7870ff2c0925cf (diff)
downloadmtk-20170518-b5b2425cba8b9ec18c4ffa5c03d29a0fc83f530a.zip
mtk-20170518-b5b2425cba8b9ec18c4ffa5c03d29a0fc83f530a.tar.gz
mtk-20170518-b5b2425cba8b9ec18c4ffa5c03d29a0fc83f530a.tar.bz2
image.mk: initialize BOARD_NAME and IMAGES, add it to DEVICE_VARS
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk
index 3891787..43c144a 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -276,6 +276,7 @@ define Device/Init
KERNEL_SIZE:=
CMDLINE:=
+ IMAGES :=
IMAGE_PREFIX := $(IMG_PREFIX)-$(1)
IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1)-$$(2)
KERNEL_PREFIX = $$(IMAGE_PREFIX)
@@ -304,12 +305,14 @@ define Device/Init
DEVICE_DTS :=
DEVICE_DTS_DIR :=
+ BOARD_NAME :=
+
FILESYSTEMS := $(TARGET_FILESYSTEMS)
endef
DEFAULT_DEVICE_VARS := \
DEVICE_NAME KERNEL KERNEL_INITRAMFS KERNEL_INITRAMFS_IMAGE \
- DEVICE_DTS DEVICE_DTS_DIR \
+ DEVICE_DTS DEVICE_DTS_DIR BOARD_NAME \
UBOOTENV_IN_UBI KERNEL_IN_UBI \
BLOCKSIZE PAGESIZE SUBPAGESIZE VID_HDR_OFFSET \
UBINIZE_OPTS