16 Dec, 2020

1 commit


31 Aug, 2020

1 commit

  • And replace many references of ${ROOT_DIR}/common with
    ${ROOT_DIR}/${KERNEL_DIR}, which makes it a lot easier
    to branch off of ACK and update the KERNEL_DIR.

    The variable of KERNEL_DIR will be set in build/_setup_env.sh
    to the directory of the build config file by default if it's
    not set explicitly in the build config file or in environment.

    Test: build test with following configs
    common/build.config.gki.aarch64
    common/build.config.db845c
    common/build.config.hikey960
    cuttlefish-modules/build.config.cuttlefish.aarch64

    Bug: 162785964
    Change-Id: I790ac0ded10bd790484f14c6f93d53e06c38b830
    Signed-off-by: Will McVicker
    Signed-off-by: Yongqin Liu
    (cherry picked from commit 931718fa65fe5e34d143250c048f591a7d74e5f8)
    [elavila: resolve conflicts]
    Signed-off-by: J. Avila

    Will McVicker
     

18 Aug, 2020

1 commit


02 Apr, 2020

1 commit

  • Previously the db845c build was cat'ng the db845c_gki.fragment
    with the gki_defconfig. The correct way to merge fragments is to use
    the merge_configs script.

    Bug: 152231482
    Test: Treehugger
    Signed-off-by: Todd Kjos
    Change-Id: I32d5d6576bb4bdc115b32e7e7ef3ef1e9daa2323

    Todd Kjos
     

27 Mar, 2020

1 commit

  • The default goals for an ARCH=arm64 kernel will build all of the dtb
    files available in the tree, and hard-codes the generation of a
    gzip-compressed Image artifact. For GKI, we want to support various
    compression methods (gz, lz4 and uncompressed) and this can be handled
    outside of kbuild where compressor flags can be tuned. Also, GKI does
    not need to build any dtb files because it is board-neutral, and in most
    cases the dtbs will come from downstream kernels, not ACK.

    On arm and aarch64, this suppresses the generation of the useless gzip
    compressed Image artifact, and dtbs on the gki configs, which do not make
    sense. The x86 defaults were already optimal but make them match
    aarch64. On db845c, this builds only the needed dtb file and a compressed
    artifact for backwards compatibility.

    Bug: 152546767
    Change-Id: If90ea331fc7564358b77a777fb367d7d2f95e6a6
    Signed-off-by: Alistair Delva

    Alistair Delva
     

15 Jan, 2020

1 commit

  • Add a build config for db845c.

    This one uses cat to merge the gki_defconfig with
    the db845c_gki.fragment.

    This isn't as ideal as using merge_config.sh which
    provides more useful warnings but I couldn't manage
    to get merge_config.sh to run properly within the
    context of the PRE_DEFCONFIG_CMDS.

    This does however result in a .config identical
    to the merge_config result.

    Signed-off-by: Amit Pundir
    [jstultz: overhauled for android-mainline]
    Signed-off-by: John Stultz
    Bug: 146449535
    Change-Id: Ib32bb07590adcb10e9e208f33773900054202e68

    Amit Pundir