bazel: Add support to build autogvm_lxc
Add autogvm_lxc build target for LVGVM kernel image via bazel build system. Change-Id: I572fd3b6e7ade9f7fd0c1aacc8540bd57bea3abe Signed-off-by: Zou Shunxiang <quic_shunxian@quicinc.com>
This commit is contained in:
parent
4754a57169
commit
d38d1f661d
24
autogvm_lxc.bzl
Normal file
24
autogvm_lxc.bzl
Normal file
@ -0,0 +1,24 @@
|
||||
load(":target_variants.bzl", "lxc_variants")
|
||||
load(":msm_kernel_lxc.bzl", "define_msm_lxc")
|
||||
load(":image_opts.bzl", "boot_image_opts")
|
||||
|
||||
target_name = "autogvm"
|
||||
|
||||
def define_autogvm_lxc():
|
||||
_autogvm_lxc_in_tree_modules = [
|
||||
# keep sorted
|
||||
]
|
||||
|
||||
for variant in lxc_variants:
|
||||
mod_list = _autogvm_lxc_in_tree_modules
|
||||
|
||||
define_msm_lxc(
|
||||
msm_target = target_name,
|
||||
variant = variant,
|
||||
defconfig = "build.config.msm.auto",
|
||||
in_tree_module_list = mod_list,
|
||||
boot_image_opts = boot_image_opts(
|
||||
boot_image_header_version = 2,
|
||||
base_address = 0x80000000,
|
||||
page_size = 4096),
|
||||
)
|
@ -1,5 +1,6 @@
|
||||
load(":gen3auto.bzl", "define_gen3auto")
|
||||
load(":autogvm.bzl", "define_autogvm")
|
||||
load(":autogvm_lxc.bzl", "define_autogvm_lxc")
|
||||
load(":gen4auto_lxc.bzl", "define_gen4auto_lxc")
|
||||
load(":pineapple.bzl", "define_pineapple")
|
||||
load(":pineapple_tuivm.bzl", "define_pineapple_tuivm")
|
||||
@ -15,6 +16,7 @@ def define_msm_platforms():
|
||||
define_signing_keys()
|
||||
define_gen3auto()
|
||||
define_autogvm()
|
||||
define_autogvm_lxc()
|
||||
define_gen4auto_lxc()
|
||||
define_pineapple()
|
||||
define_pineapple_tuivm()
|
||||
|
@ -20,6 +20,7 @@ lxc_variants = [
|
||||
|
||||
lxc_targets = [
|
||||
# keep sorted
|
||||
"autogvm",
|
||||
"gen4auto",
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user