Skip to content
  • Yifan Hong's avatar
    kleaf: enable building device system_dlkm against GKI system_dlkm_staging_archive · e8a8dd2e
    Yifan Hong authored
    
    
    system_dlkm_image produces staging_archive and modules.load
    files. Also download them and put them as part of distribution
    when building against downloaded prebuilts.
    
    With system_dlkm_staging_archive.tar.gz from GKI
    piped to the device's system_dlkm rule, instead
    of creating the staging directory, unarchive the archive
    and build system_dlkm from there.
    
    As part of this change, kernel_images now also
    accept these arguments:
    - system_dlkm_modules_list
    - system_dlkm_modules_blocklist
    - system_dlkm_props
    
    ... which corresponds to the upper-case version of the build configs,
    respectively. Their semantics are the same as the build configs.
    Unlike vendor_dlkm_*:
    - system_dlkm_modules_list falls back to modules_list if not set
    - system_dlkm_modules_blocklist falls back to modules_blocklist if not set
    
    Test: build slider_images_system_dlkm_image with build_system_dlkm=True
    Bug: 233401974
    Bug: 238786592
    
    Change-Id: Ie9a2073d571b23eee58764ef9ced0976e5fa9622
    Signed-off-by: default avatarYifan Hong <elsk@google.com>
    e8a8dd2e
Loading