Merge "Move entry point and exception vector to library."
This commit is contained in:
commit
efe7e14950
|
@ -28,12 +28,11 @@ cc_binary {
|
|||
name: "pvmfw_elf",
|
||||
stem: "pvmfw",
|
||||
srcs: [
|
||||
"entry.S",
|
||||
"exceptions.S",
|
||||
"idmap.S",
|
||||
],
|
||||
static_libs: [
|
||||
"libpvmfw",
|
||||
"libvmbase_entry",
|
||||
],
|
||||
static_executable: true,
|
||||
nocrt: true,
|
||||
|
|
|
@ -20,3 +20,22 @@ rust_library_rlib {
|
|||
},
|
||||
apex_available: ["com.android.virt"],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "libvmbase_entry",
|
||||
srcs: [
|
||||
"entry.S",
|
||||
"exceptions.S",
|
||||
],
|
||||
nocrt: true,
|
||||
no_libcrt: true,
|
||||
system_shared_libs: [],
|
||||
stl: "none",
|
||||
enabled: false,
|
||||
target: {
|
||||
android_arm64: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
apex_available: ["com.android.virt"],
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue