X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=include%2Fimage-commands.mk;h=6cb5bff4ab79008b5f5a7f547ea2fd0246fc7d45;hp=3b9ea3ccba887fe7cc32ed657ec2543c25feec7f;hb=3e7524c184d147de6b0c8154c5c4f4019993922f;hpb=b99a93ebaf0dc34ab0de452e3034b28f21085988 diff --git a/include/image-commands.mk b/include/image-commands.mk index 3b9ea3ccba..6cb5bff4ab 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -117,7 +117,7 @@ define Build/append-ubi $(foreach part,$(UBINIZE_PARTS),--part $(part)) \ $(IMAGE_ROOTFS) \ $@.tmp \ - -p $(BLOCKSIZE) -m $(PAGESIZE) \ + -p $(BLOCKSIZE:%k=%KiB) -m $(PAGESIZE) \ $(if $(SUBPAGESIZE),-s $(SUBPAGESIZE)) \ $(if $(VID_HDR_OFFSET),-O $(VID_HDR_OFFSET)) \ $(UBINIZE_OPTS)