Pass pagesize to makebootimage.
Change-Id: I719d765245469921de105430fdd92d478ea48e82
diff --git a/core/Makefile b/core/Makefile
index 5ddc015..fbfe113 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -339,6 +339,11 @@
INTERNAL_BOOTIMAGE_ARGS += --base $(BOARD_KERNEL_BASE)
endif
+BOARD_KERNEL_PAGESIZE := $(strip $(BOARD_KERNEL_PAGESIZE))
+ifdef BOARD_KERNEL_PAGESIZE
+ INTERNAL_BOOTIMAGE_ARGS += --pagesize $(BOARD_KERNEL_PAGESIZE)
+endif
+
INSTALLED_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/boot.img
ifeq ($(TARGET_BOOTIMAGE_USE_EXT2),true)