From ffff0028ae9a83893f71efa370d283e2247bcdd4 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Mon, 23 Aug 2010 12:56:25 -0700 Subject: [PATCH] Pass pagesize to makebootimage. Change-Id: I719d765245469921de105430fdd92d478ea48e82 --- core/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/Makefile b/core/Makefile index 5ddc0151a..fbfe11385 100644 --- a/core/Makefile +++ b/core/Makefile @@ -339,6 +339,11 @@ ifdef BOARD_KERNEL_BASE 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)