aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-20 08:46:08 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-20 10:13:50 +0200
commit9a50a213d225263985eef5a4ab7870ff2c0925cf (patch)
tree1fe434b46c8b105c048aea3304457b7724df1dfa /include/image.mk
parentcd243b1090952b1bb12d94e07825e450ca3d5118 (diff)
downloadupstream-9a50a213d225263985eef5a4ab7870ff2c0925cf.tar.gz
upstream-9a50a213d225263985eef5a4ab7870ff2c0925cf.tar.bz2
upstream-9a50a213d225263985eef5a4ab7870ff2c0925cf.zip
image.mk: add support for specifying the VID header offset for UBI
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk
index b24ba1cca7..3891787140 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -295,6 +295,7 @@ define Device/Init
BLOCKSIZE :=
PAGESIZE :=
SUBPAGESIZE :=
+ VID_HDR_OFFSET :=
UBINIZE_OPTS := -E 5
MKUBIFS_OPTS :=
@@ -310,7 +311,7 @@ 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 \
+ BLOCKSIZE PAGESIZE SUBPAGESIZE VID_HDR_OFFSET \
UBINIZE_OPTS
define Device/ExportVar