嗨,有人能告诉我这个错误和什么有关吗?我不知道是什么引起的。
错误-无法分配给只读变量:song_CLANG_CONFIG_arm_TARGET_TRIPLE
生成日志:
============================================
[44/44] bootstrap /home/rh/lineage/out/soong/.minibootstrap/build.ninja.in
[4/4] /home/rh/lineage/out/soong/.boot...neage/out/soong/.bootstrap/build.ninja
[871/872] glob vendor/qcom/opensource/...erfaces/wifi/supplicant/1.0/Android.bp
[56/56] /home/rh/lineage/out/soong/.bo.../home/rh/lineage/out/soong/build.ninja
/home/rh/lineage/out/build-lineage_YT3850M.ninja is missing, regenerating...
/home/rh/lineage/out/soong/make_vars-lineage_YT3850M.mk:511: error: cannot assign to readonly variable: SOONG_CLANG_CONFIG_arm_TARGET_TRIPLE
14:09:27 ckati failed with: exit status 1
#### failed to build some targets (55 seconds) ####
rh@inspiron:~/lineage$
最佳答案
为了回答我自己的问题,我从BoardConfig.mk中删除了所有TARGET_2;u ARCH变量