mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 23:23:53 +02:00
ANDROID: Kleaf: adopt new way of expressing the build config
Build config files can now be expressed as files relative to the BUILD.bazel file. That makes this mechanism much more portable. Bug: 192656402 Signed-off-by: Matthias Maennich <maennich@google.com> Change-Id: Iefa7277f21e9412e71c9738664d006246b05be6e
This commit is contained in:
parent
a2480b4d7e
commit
c7ca969870
12
BUILD.bazel
12
BUILD.bazel
|
|
@ -31,8 +31,6 @@ x86_64_outs = common_outs + ["bzImage"]
|
|||
|
||||
[kernel_build(
|
||||
name = name,
|
||||
outs = outs,
|
||||
build_config = config,
|
||||
srcs = glob(
|
||||
["**"],
|
||||
exclude = [
|
||||
|
|
@ -41,25 +39,27 @@ x86_64_outs = common_outs + ["bzImage"]
|
|||
"**/*.bzl",
|
||||
],
|
||||
),
|
||||
outs = outs,
|
||||
build_config = config,
|
||||
) for name, config, outs in [
|
||||
(
|
||||
"kernel_aarch64",
|
||||
"common/build.config.gki.aarch64",
|
||||
"build.config.gki.aarch64",
|
||||
aarch64_outs,
|
||||
),
|
||||
(
|
||||
"kernel_aarch64_debug",
|
||||
"common/build.config.gki-debug.aarch64",
|
||||
"build.config.gki-debug.aarch64",
|
||||
aarch64_outs,
|
||||
),
|
||||
(
|
||||
"kernel_x86_64",
|
||||
"common/build.config.gki.x86_64",
|
||||
"build.config.gki.x86_64",
|
||||
x86_64_outs,
|
||||
),
|
||||
(
|
||||
"kernel_x86_64_debug",
|
||||
"common/build.config.gki-debug.x86_64",
|
||||
"build.config.gki-debug.x86_64",
|
||||
x86_64_outs,
|
||||
),
|
||||
]]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user