我是android开发的新手。最近我只是尝试通过它的指令来构建 AOSP。
我使用的命令如下:
$lunch full-eng
$make -j16
然后它开始编译。但是发生了一些奇怪的事情,如下所示:
host C++: tblgen <= external/llvm/utils/TableGen/DAGISelMatcherOpt.cpp
host C++: tblgen <= external/llvm/utils/TableGen/DAGISelMatcher.cpp
host C++: tblgen <= external/llvm/utils/TableGen/DFAPacketizerEmitter.cpp
host C++: tblgen <= external/llvm/utils/TableGen/DisassemblerEmitter.cpp
host C++: tblgen <= external/llvm/utils/TableGen/EDEmitter.cpp
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/ResourceTable.o] Killed
make: *** Waiting for unfinished jobs....
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Resource.o] Killed
make: *** [out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/AsmMatcherEmitter.o] Killed
make: *** [out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/AsmWriterEmitter.o] Killed
make: *** [out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/CodeGenDAGPatterns.o] Killed
make: *** [out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/CodeGenInstruction.o] Killed
make: *** [out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/CodeGenRegisters.o] Killed
make: *** [out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/CodeGenTarget.o] Killed
Killed
然后编译过程停止。这是为什么?如何解决?是否有关于如何构建自定义 rom 或如何使用 AOSP 的推荐说明?
AOSP 网站上的说明对我来说真的不清楚。(或者我读错了指令??)
谢谢!