core: Allow the board config to specify the kernel base address for mkbootimg

Signed-off-by: Dima Zavin <dima@android.com>
This commit is contained in:
Dima Zavin
2009-05-07 19:43:08 -07:00
parent 1f61dc3e19
commit 1e0847c2fc

View File

@@ -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)