Load crashkernel using kexec
Microdroid_manager executes the kexec binary as part of the boot process
if ramdumping is supported.
Bug: 238404545
Test: boot microdroid
Change-Id: Ie9835b427dd0e556bf21a004cea070d553b829a8
diff --git a/microdroid/kdump/Android.bp b/microdroid/kdump/Android.bp
index 390886b..cc681a7 100644
--- a/microdroid/kdump/Android.bp
+++ b/microdroid/kdump/Android.bp
@@ -4,9 +4,10 @@
cc_binary {
name: "microdroid_kexec",
- stem: "kexec",
+ stem: "kexec_load",
srcs: ["kexec.c"],
installable: false,
+ static_executable: true, // required because this runs before linkerconfig
compile_multilib: "64",
}