mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
ANDROID: add 16k targets for Microdroid kernel
Bug: 317201718 Test: tools/bazel run //common:kernel_aarch64_microdroid_16k_dist Change-Id: I542f07d1d0b4f2b6a3c4c58185eee16b2b7f1667 Signed-off-by: Nikita Ioffe <ioffe@google.com>
This commit is contained in:
28
BUILD.bazel
28
BUILD.bazel
@@ -198,6 +198,34 @@ copy_to_dist_dir(
|
|||||||
log = "info",
|
log = "info",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
kernel_build(
|
||||||
|
name = "kernel_aarch64_microdroid_16k",
|
||||||
|
srcs = ["//common:kernel_aarch64_sources"],
|
||||||
|
outs = [
|
||||||
|
"Image",
|
||||||
|
"System.map",
|
||||||
|
"modules.builtin",
|
||||||
|
"modules.builtin.modinfo",
|
||||||
|
"vmlinux",
|
||||||
|
"vmlinux.symvers",
|
||||||
|
],
|
||||||
|
build_config = "build.config.microdroid.aarch64",
|
||||||
|
make_goals = [
|
||||||
|
"Image",
|
||||||
|
],
|
||||||
|
page_size = "16k",
|
||||||
|
)
|
||||||
|
|
||||||
|
copy_to_dist_dir(
|
||||||
|
name = "kernel_aarch64_microdroid_16k_dist",
|
||||||
|
data = [
|
||||||
|
":kernel_aarch64_microdroid_16k",
|
||||||
|
],
|
||||||
|
dist_dir = "out/kernel_aarch64_microdroid_16k/dist",
|
||||||
|
flat = True,
|
||||||
|
log = "info",
|
||||||
|
)
|
||||||
|
|
||||||
# Microdroid is not a real device. The kernel image is built with special
|
# Microdroid is not a real device. The kernel image is built with special
|
||||||
# configs to reduce the size. Hence, not using mixed build.
|
# configs to reduce the size. Hence, not using mixed build.
|
||||||
kernel_build(
|
kernel_build(
|
||||||
|
|||||||
Reference in New Issue
Block a user