[source] apm821xx: image: add support for k unit suffix to boot-img
LEDE Commits
lede-commits at lists.infradead.org
Fri Sep 9 03:34:52 PDT 2016
mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/d7b6f0ea8885b45db4e435846e0fcbd822fcc8ad
commit d7b6f0ea8885b45db4e435846e0fcbd822fcc8ad
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Thu Sep 8 20:14:42 2016 +0200
apm821xx: image: add support for k unit suffix to boot-img
Signed-off-by: Mathias Kresin <dev at kresin.me>
---
target/linux/apm821xx/image/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/apm821xx/image/Makefile b/target/linux/apm821xx/image/Makefile
index f151543..38877f9 100644
--- a/target/linux/apm821xx/image/Makefile
+++ b/target/linux/apm821xx/image/Makefile
@@ -184,7 +184,7 @@ define Build/boot-img
$(CP) $(IMAGE_KERNEL).dtb $@.bootdir/boot/$(DEVICE_DTB)
$(CP) $(IMAGE_KERNEL) $@.bootdir/boot/uImage
- genext2fs --block-size $(BLOCKSIZE) --size-in-blocks $$((1024 * $(BOOT_SIZE))) --root $@.bootdir $@.boot
+ genext2fs --block-size $(BLOCKSIZE:%k=%Ki) --size-in-blocks $$((1024 * $(BOOT_SIZE))) --root $@.bootdir $@.boot
# convert it to revision 1 - needed for u-boot ext2load
$(STAGING_DIR_HOST)/bin/tune2fs -O filetype $@.boot
More information about the lede-commits
mailing list