aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2010-08-02 20:44:40 (GMT)
committerKoushik Dutta <koushd@gmail.com>2010-08-02 20:44:40 (GMT)
commit9edbe98514e0a6c5f3d431fb56200e8d6ada60de (patch)
tree6c07793ecf4d7e096c6023f4e04b4adb3e1b8236
parent895e72363f5b43a7644aa6c24b255bd3e99a8640 (diff)
downloadandroid_build-donut.zip
android_build-donut.tar.gz
android_build-donut.tar.bz2
support page size flag for boot imageseclairdonut
-rw-r--r--core/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index be99a94..f67a898 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -305,6 +305,10 @@ ifneq ($(BOARD_FORCE_RAMDISK_ADDRESS),)
INTERNAL_BOOTIMAGE_ARGS += --ramdiskaddr $(BOARD_FORCE_RAMDISK_ADDRESS)
endif
+ifneq ($(BOARD_PAGE_SIZE),)
+ INTERNAL_BOOTIMAGE_ARGS += --pagesize $(BOARD_PAGE_SIZE)
+endif
+
INSTALLED_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/boot.img
ifeq ($(TARGET_BOOTIMAGE_USE_EXT2),true)
@@ -582,6 +586,9 @@ endif
ifneq ($(BOARD_FORCE_RAMDISK_ADDRESS),)
INTERNAL_RECOVERYIMAGE_ARGS += --ramdiskaddr $(BOARD_FORCE_RAMDISK_ADDRESS)
endif
+ifneq ($(BOARD_PAGE_SIZE),)
+ INTERNAL_RECOVERYIMAGE_ARGS += --pagesize $(BOARD_PAGE_SIZE)
+endif
# Keys authorized to sign OTA packages this build will accept. The
# build always uses test-keys for this; release packaging tools will