fatal: Not a git repository (or any of the parent directories): .git
make[1]: *** [stamp-commit-hash] Error 128
make[1]: Leaving directory `/android_source/gaia'
make: *** [gaia/profile.tar.gz] Error 2
make: *** Waiting for unfinished jobs....
原因: 代码目录里含有.git目录
Solution: 既然source code是从其他地方拷贝过来的完整代码(非自己透过git下载),那就直接删除source code下隐藏的.git 目录(可能有多个)。 删除.git目录后,上述错误消失。
本文解决了一个在代码目录中存在.git目录时,出现的错误:'fatal: Not a git repository (or any of the parent directories)'. 通过删除.git目录,问题得以解决。
3928

被折叠的 条评论
为什么被折叠?



