Groups
Sign in
Groups
Android Building
Conversations
About
Send feedback
Help
Help, AOSP 12 add binary file
16 views
Skip to first unread message
willing tong
unread,
1:05 PM (6 hours ago)
1:05 PM
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Building
I want add binary file into AOSP with build. But now there are some problems,
ubuntu@ubuntu-System-Product-Name:~/Android_12_AOSP$ pwd
/home/ubuntu/Android_12_AOSP
1.
add this two line in the
device/google/coral/
device.mk
file with end
ubuntu@ubuntu-System-Product-Name:~/Android_12_AOSP$ cat device/google/coral/
device.mk
| tail -2
PRODUCT_COPY_FILES += \
prebuilts/planx/planx-encrypt:system/xbin/planx-encrypt
2. use "m" build response
[ 90% 194/214] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:57: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
system/sepolicy/Android.mk:62: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
[ 99% 213/214] finishing build rules ...
FAILED:
build/make/core/
artifact_path_requirements.mk:26
: warning: device/google/coral/
aosp_flame.mk
produces files inside build/make/target/product/generic_system.mks artifact path requirement.
Offending entries:
system/xbin/planx-encrypt
In file included from build/make/core/
main.mk:1342
:
build/make/core/
artifact_path_requirements.mk:26
: error: Build failed.
19:37:07 ckati failed with: exit status 1
#### failed to build some targets (20 seconds) ####
Can someone help me ?
Reply all
Reply to author
Forward
0 new messages