aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-31 18:34:02 +0200
committerFelix Fietkau <nbd@nbd.name>2016-08-31 13:05:19 +0200
commita84a74f618b0d3eadea622a45f62c9401c4f82ba (patch)
treeb1b85488613c20e8ee001e388ffbedb6db4c0042 /include/image.mk
parentf29774bee35928d5efc09910568775bd2cecf423 (diff)
downloadupstream-a84a74f618b0d3eadea622a45f62c9401c4f82ba.tar.gz
upstream-a84a74f618b0d3eadea622a45f62c9401c4f82ba.tar.bz2
upstream-a84a74f618b0d3eadea622a45f62c9401c4f82ba.zip
scripts/ubinize-image.sh: add support for adding custom partitions
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 c85a9d6505..7079f18786 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -347,6 +347,7 @@ define Device/Init
SUBPAGESIZE :=
VID_HDR_OFFSET :=
UBINIZE_OPTS := -E 5
+ UBINIZE_PARTS :=
MKUBIFS_OPTS :=
FS_OPTIONS/ubifs = $$(MKUBIFS_OPTS)
@@ -365,7 +366,7 @@ DEFAULT_DEVICE_VARS := \
DEVICE_DTS DEVICE_DTS_DIR BOARD_NAME CMDLINE \
UBOOTENV_IN_UBI KERNEL_IN_UBI \
BLOCKSIZE PAGESIZE SUBPAGESIZE VID_HDR_OFFSET \
- UBINIZE_OPTS UIMAGE_NAME
+ UBINIZE_OPTS UIMAGE_NAME UBINIZE_PARTS
define Device/ExportVar
$(1) : $(2):=$$($(2))