build.config: Generate super.img

Generate super.img containing vendor_dlkm partition in order to generate
a set of physically flashable images.

Change-Id: If55414b2d4e61ec2baecd93211eb27e529d69a3e
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
This commit is contained in:
Elliot Berman 2021-01-25 12:06:18 -08:00
parent 3de8b42df9
commit dccf8e2a9b
2 changed files with 3 additions and 0 deletions

View File

@ -220,6 +220,8 @@ function prepare_vendor_dlkm() {
VENDOR_DLKM_MODULES_LIST="${MODULES_STAGING_DIR}/vendor_dlkm.modules.load"
fi
SUPER_IMAGE_CONTENTS+="${DIST_DIR}/vendor_dlkm.img"
}
if [ "${BUILD_VENDOR_DLKM}" == "1" ]; then
append_cmd DIST_CMDS 'prepare_vendor_dlkm'

View File

@ -13,6 +13,7 @@ BOOT_IMAGE_HEADER_VERSION=3
BASE_ADDRESS=0x80000000
PAGE_SIZE=4096
BUILD_VENDOR_DLKM=1
SUPER_IMAGE_SIZE=0x10000000
TRIM_UNUSED_MODULES=1
[ -z "${DT_OVERLAY_SUPPORT}" ] && DT_OVERLAY_SUPPORT=1