ANDROID: rockpi4 move build configs to Bazel.
Move everything except DTC_INCLUDE to Bazel. There are no alternative to DTC_INCLUDE yet, so we keep it in build configs for now. Bug: 236012223 Change-Id: I3477284023f3a0981c8acad22a8ba236af7eaa67 Signed-off-by: HONG Yifan <elsk@google.com>
This commit is contained in:
committed by
Treehugger Robot
parent
8c9bcaf9a5
commit
6e7e04928a
@@ -976,6 +976,7 @@ kernel_build(
|
||||
build_config = "build.config.rockpi4",
|
||||
defconfig = "arch/arm64/configs/gki_defconfig",
|
||||
dtstree = "//common-modules/virtual-device:rockpi4_dts",
|
||||
kmi_symbol_list_strict_mode = False,
|
||||
make_goals = [
|
||||
"Image",
|
||||
"modules",
|
||||
@@ -984,6 +985,7 @@ kernel_build(
|
||||
makefile = ":Makefile",
|
||||
module_outs = get_gki_modules_list("arm64") + get_kunit_modules_list("arm64") + _ROCKPI4_MODULE_OUTS + _ROCKPI4_WATCHDOG_MODULE_OUTS,
|
||||
pre_defconfig_fragments = ["arch/arm64/configs/rockpi4_gki.fragment"],
|
||||
trim_nonlisted_kmi = False,
|
||||
visibility = ["//visibility:private"],
|
||||
)
|
||||
|
||||
@@ -1003,6 +1005,7 @@ kernel_build(
|
||||
arch = "arm64",
|
||||
build_config = "build.config.rockpi4",
|
||||
dtstree = "//common-modules/virtual-device:rockpi4_dts",
|
||||
kmi_symbol_list_strict_mode = False,
|
||||
make_goals = [
|
||||
"Image",
|
||||
"modules",
|
||||
@@ -1010,6 +1013,7 @@ kernel_build(
|
||||
],
|
||||
makefile = ":Makefile",
|
||||
module_outs = get_gki_modules_list("arm64") + get_kunit_modules_list("arm64") + _ROCKPI4_MODULE_OUTS,
|
||||
trim_nonlisted_kmi = False,
|
||||
visibility = ["//visibility:private"],
|
||||
)
|
||||
|
||||
@@ -1029,6 +1033,7 @@ kernel_modules_install(
|
||||
initramfs(
|
||||
name = "rockpi4_initramfs",
|
||||
kernel_modules_install = ":rockpi4_modules_install",
|
||||
ramdisk_compression = "lz4",
|
||||
visibility = ["//visibility:private"],
|
||||
)
|
||||
|
||||
|
||||
@@ -1,10 +1,3 @@
|
||||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.common
|
||||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.aarch64
|
||||
TRIM_NONLISTED_KMI=""
|
||||
KMI_SYMBOL_LIST_STRICT_MODE=""
|
||||
|
||||
BUILD_INITRAMFS=1
|
||||
LZ4_RAMDISK=1
|
||||
|
||||
DTS_EXT_DIR=common-modules/virtual-device
|
||||
DTC_INCLUDE=${ROOT_DIR}/${KERNEL_DIR}/arch/arm64/boot/dts/rockchip
|
||||
|
||||
Reference in New Issue
Block a user