hikey970 aosp编译错误
参考:https://blog.csdn.net/ex123npc/article/details/80878009?utm_source=blogxgwz8操作步骤,编译aosp出现如下错误,请问有人遇到吗?怎么解决? 谢谢!
----------------------------------------------------------------------------------------------------------
FAILED: out/target/product/hikey970/obj/ETC/fs_config_dirs_system_intermediates/fs_config_dirs_system
/bin/bash -c "build/make/tools/fs_config/fs_config_generator.py fsconfig --aid-header system/core/include/private/android_filesystem_config.h --capability-header bionic/libc/kernel/uapi/linux/capability.h --partition system --all-partitions --dirs --out_file out/target/product/hikey970/obj/ETC/fs_config_dirs_system_intermediates/fs_config_dirs_system /dev/null"
usage: fs_config_generator.py fsconfig [-h] --aid-header AID_HEADER
--capability-header CAPABILITY_HEADER
--partition PARTITION
[--all-partitions ALL_PARTITIONS]
[--files] [--dirs] --out_file OUT_FILE
fsconfig
fs_config_generator.py fsconfig: error: argument --all-partitions: expected one argument
build out/target/product/hikey970/obj/ETC/fs_config_files_system_intermediates/fs_config_files_system
FAILED: out/target/product/hikey970/obj/ETC/fs_config_files_system_intermediates/fs_config_files_system
/bin/bash -c "build/make/tools/fs_config/fs_config_generator.py fsconfig --aid-header system/core/include/private/android_filesystem_config.h --capability-header bionic/libc/kernel/uapi/linux/capability.h --partition system --all-partitions --files --out_file out/target/product/hikey970/obj/ETC/fs_config_files_system_intermediates/fs_config_files_system /dev/null"
usage: fs_config_generator.py fsconfig [-h] --aid-header AID_HEADER
--capability-header CAPABILITY_HEADER
--partition PARTITION
[--all-partitions ALL_PARTITIONS]
[--files] [--dirs] --out_file OUT_FILE
fsconfig
fs_config_generator.py fsconfig: error: argument --all-partitions: expected one argument
FAILED: bool caps::initNs(nsjconf_t *)():215 prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_CLEAR_ALL): Invalid argument
00:01:11 ninja failed with: exit status 1
#### failed to build some targets (01:55 (mm:ss)) ####
类似的错误
页:
[1]