From 1e0847c2fcbe1b95464f32a719d2b9e620d1e6ec Mon Sep 17 00:00:00 2001 From: Dima Zavin Date: Thu, 7 May 2009 19:43:08 -0700 Subject: [PATCH] core: Allow the board config to specify the kernel base address for mkbootimg Signed-off-by: Dima Zavin --- core/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/Makefile b/core/Makefile index 9532ef2873..18baa46a47 100644 --- a/core/Makefile +++ b/core/Makefile @@ -268,6 +268,11 @@ ifdef BOARD_KERNEL_CMDLINE INTERNAL_BOOTIMAGE_ARGS += --cmdline "$(BOARD_KERNEL_CMDLINE)" endif +BOARD_KERNEL_BASE := $(strip $(BOARD_KERNEL_BASE)) +ifdef BOARD_KERNEL_BASE + INTERNAL_BOOTIMAGE_ARGS += --base $(BOARD_KERNEL_BASE) +endif + INSTALLED_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/boot.img ifeq ($(TARGET_BOOTIMAGE_USE_EXT2),true)