diff --git a/pvmfw/Android.bp b/pvmfw/Android.bp index 3b5df7fd..130973a2 100644 --- a/pvmfw/Android.bp +++ b/pvmfw/Android.bp @@ -25,7 +25,8 @@ rust_ffi_static { } cc_binary { - name: "pvmfw", + name: "pvmfw_elf", + stem: "pvmfw", srcs: [ "entry.S", "exceptions.S", @@ -47,3 +48,15 @@ cc_binary { }, apex_available: ["com.android.virt"], } + +raw_binary { + name: "pvmfw", + src: ":pvmfw_elf", + stem: "pvmfw.bin", + enabled: false, + target: { + android_arm64: { + enabled: true, + }, + }, +}