admin管理员组文章数量:1418637
I want to install OpenRc into my system.
So I put some folders (sbin
, lib64
, ...) in prebuilts/openrc/
. Then I added prebuilts/openrc/Android.bp
to have them installed in /system_ext
.
cc_prebuilt_binary {
name: "openrc-init",
srcs: ["sbin/openrc-init"],
shared_libs: ["libeinfo", "librc"],
check_elf_files: false,
installable: true,
}
cc_prebuilt_library_shared {
name: "libeinfo",
stem: "libeinfo",
srcs: ["lib64/libeinfo.so.1"],
check_elf_files: false,
installable: true,
}
cc_prebuilt_library_shared {
name: "librc",
stem: "librc",
srcs: ["lib64/librc.so.1"],
check_elf_files: false,
installable: true,
}
However, I want to copy the full folder, instead of copying them separately. How can I solve the problem? And, is this method even correct?
Thank you.
本文标签: androidSoong How to Copy Prebuilt Binaries and Libraries into the SystemStack Overflow
版权声明:本文标题:android - Soong: How to Copy Prebuilt Binaries and Libraries into the System - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745296335a2652100.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论