[LEDE-DEV] [PATCH 6/6] mvebu: Add check-size when append-kernel is used
Chris Blake
chrisrblake93 at gmail.com
Sun Sep 11 21:33:06 PDT 2016
When append-kernel is used and a KERNEL_SIZE is defined, we need to make
sure that our kernel fits within it's partition size.
Signed-off-by: Chris Blake <chrisrblake93 at gmail.com>
---
target/linux/mvebu/image/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile
index 7900fb9..b251834 100644
--- a/target/linux/mvebu/image/Makefile
+++ b/target/linux/mvebu/image/Makefile
@@ -72,7 +72,7 @@ endef
define Device/UBI-factory
$(Device/UBI)
IMAGES += factory.img
- IMAGE/factory.img := append-kernel $$$$(KERNEL_SIZE) | append-ubi | pad-to $$$$(PAGESIZE)
+ IMAGE/factory.img := append-kernel $$$$(KERNEL_SIZE) | check-size $$(KERNEL_SIZE) | append-ubi | pad-to $$$$(PAGESIZE)
endef
define Device/NAND-128K
--
2.7.4
More information about the Lede-dev
mailing list