Browse Source

apm821xx: image: add support for k unit suffix to boot-img

Signed-off-by: Mathias Kresin <[email protected]>
Mathias Kresin 9 years ago
parent
commit
d7b6f0ea88
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/apm821xx/image/Makefile

+ 1 - 1
target/linux/apm821xx/image/Makefile

@@ -184,7 +184,7 @@ define Build/boot-img
 	$(CP) $(IMAGE_KERNEL).dtb [email protected]/boot/$(DEVICE_DTB)
 	$(CP) $(IMAGE_KERNEL) [email protected]/boot/uImage
 
-	genext2fs --block-size $(BLOCKSIZE) --size-in-blocks $$((1024 * $(BOOT_SIZE))) --root [email protected] [email protected]
+	genext2fs --block-size $(BLOCKSIZE:%k=%Ki) --size-in-blocks $$((1024 * $(BOOT_SIZE))) --root [email protected] [email protected]
 
 	# convert it to revision 1 - needed for u-boot ext2load
 	$(STAGING_DIR_HOST)/bin/tune2fs -O filetype [email protected]