Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e0847c2 authored by Dima Zavin's avatar Dima Zavin
Browse files

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



Signed-off-by: default avatarDima Zavin <dima@android.com>
parent 1f61dc3e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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)