Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在 AOSP android10.0.0_r3 版本上编译失败,有没有10.0 适配计划? #1

Open
xinjiyier opened this issue Nov 20, 2020 · 1 comment

Comments

@xinjiyier
Copy link

xinjiyier commented Nov 20, 2020

lunch arm_64

make -j8 或 mmm package/app/OtoLauncher 均报如下错误。

[100% 448/448] writing build rules ...
FAILED: 
packages/apps/OtoLauncher/Android.mk:90: error: real file "out/host/linux-x86/obj/EXECUTABLES/launcher_protoutil_intermediates/launcher_protoutil" depends on PHONY target "launcher_protoutil_lib"
01:15:47 ckati failed with: exit status 1

还有请教个问题:

from  Android.mk
$(LOCAL_BUILT_MODULE): launcher_protoutil_lib
$(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/util/etc/launcher_protoutil | $(ACP)
        @echo "Copy: $(PRIVATE_MODULE) ($@)"                         -----------------------------  90 行
        $(copy-file-to-new-target)
        $(hide) chmod 755 $@

这段配置中 $(LOCAL_BUILT_MODULE) 和 $(ACP) 有什么作用?
我理解中 := 表示赋值, += 表示追加 ,那单独的 : 表示什么意思?有没有具体的介绍文档,或移植资料?水平有限,希望能得到您的回复。

@faxiang1230
Copy link
Contributor

这个应该是Makefile的语法,目标依赖哪些文件或者子目标,rule表示怎么生成目标
target : dependency
rule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants