From 9a50a213d225263985eef5a4ab7870ff2c0925cf Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 20 Jul 2016 08:46:08 +0200 Subject: image.mk: add support for specifying the VID header offset for UBI Signed-off-by: Felix Fietkau --- include/image-commands.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'include/image-commands.mk') diff --git a/include/image-commands.mk b/include/image-commands.mk index 1128aeab6d..fc36509efd 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -107,6 +107,7 @@ define Build/append-ubi $@.tmp \ -p $(BLOCKSIZE) -m $(PAGESIZE) \ $(if $(SUBPAGESIZE),-s $(SUBPAGESIZE)) \ + $(if $(VID_HDR_OFFSET),-O $(VID_HDR_OFFSET)) \ $(UBINIZE_OPTS) cat $@.tmp >> $@ rm $@.tmp -- cgit v1.2.3