ANDROID: db845c use initramfs() directly.
No need to use the super big and deprecated kernel_images() macro, as all we need here is to build initramfs. Bug: 368689504 Change-Id: I4c971ce5ee66197b9a1c3b020eabda3b42e4f727 Signed-off-by: HONG Yifan <elsk@google.com>
This commit is contained in:
+4
-6
@@ -21,7 +21,6 @@ load(
|
|||||||
"initramfs",
|
"initramfs",
|
||||||
"kernel_build",
|
"kernel_build",
|
||||||
"kernel_compile_commands",
|
"kernel_compile_commands",
|
||||||
"kernel_images",
|
|
||||||
"kernel_kythe",
|
"kernel_kythe",
|
||||||
"kernel_modules_install",
|
"kernel_modules_install",
|
||||||
"merge_kzip",
|
"merge_kzip",
|
||||||
@@ -823,18 +822,17 @@ merged_kernel_uapi_headers(
|
|||||||
kernel_build = ":db845c",
|
kernel_build = ":db845c",
|
||||||
)
|
)
|
||||||
|
|
||||||
kernel_images(
|
initramfs(
|
||||||
name = "db845c_images",
|
name = "db845c_initramfs",
|
||||||
build_initramfs = True,
|
|
||||||
kernel_build = ":db845c",
|
|
||||||
kernel_modules_install = ":db845c_modules_install",
|
kernel_modules_install = ":db845c_modules_install",
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
)
|
)
|
||||||
|
|
||||||
pkg_files(
|
pkg_files(
|
||||||
name = "db845c_dist_files",
|
name = "db845c_dist_files",
|
||||||
srcs = [
|
srcs = [
|
||||||
":db845c",
|
":db845c",
|
||||||
":db845c_images",
|
":db845c_initramfs",
|
||||||
":db845c_modules_install",
|
":db845c_modules_install",
|
||||||
":db845c_merged_kernel_uapi_headers",
|
":db845c_merged_kernel_uapi_headers",
|
||||||
# Mixed build: Additional GKI artifacts.
|
# Mixed build: Additional GKI artifacts.
|
||||||
|
|||||||
Reference in New Issue
Block a user