我正在尝试重建Cyanogenmod 14.1和Realtek 驱动程序支持Ubuntu。我已经成功下载了整个 CM 源代码以及我的手机的专有特定文件,这是一个摩托罗拉 Nexus 6(杀人机器)如本指南中所述Android CyanogenMod 内核构建
但是,我在编译 ROM 的最后一步遇到了问题。我运行以下命令:
brunch shamu
(shamu 是我的设备的代号)
然后我得到以下输出.....
including vendor/cm/vendorsetup.sh
build/core/envsetup.mk:89: *** Unable to determine HOST_ARCH from uname -sm: Linux i686!. Stop.
Device shamu not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_moto_shamu
Default revision: cm-14.1
Checking branch info
Checking if device/moto/shamu is fetched from android_device_moto_shamu
CyanogenMod/android_device_moto_shamu already fetched to device/moto/shamu
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_moto_shamu
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies in device/moto/shamu
Done
build/core/envsetup.mk:89: *** Unable to determine HOST_ARCH from uname -sm: Linux i686!. Stop.
build/core/envsetup.mk:89: *** Unable to determine HOST_ARCH from uname -sm: Linux i686!. Stop.
** Don't have a product spec for: 'cm_shamu'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
该命令breakfast
显示相同的错误,并且我已检查我是否有正确的 repo mainfest。
以下错误意味着什么?
build/core/envsetup.mk:89: *** Unable to determine HOST_ARCH from uname -sm: Linux i686!. Stop.
答案1
我最终通过下载经过精确修改的版本解决了这个问题生成文件需要从本网站编译 ROM代码.metager.de