一加cm12构建失败

cm12 build for one plus failed

我正在尝试为 One Plus 构建 cm12。但是我收到以下错误并且构建过程停止。我也检查了 CM12 build failed for oneplus one。有人可以帮忙吗?我用了
1). build/envsetup.sh
2)早午餐培根

 make[1]: Entering directory    '/home/xyz/Codes/CM12/kernel/oneplus/msm8974'
make: *** No rule to make target '/home/xyz/Codes/CM12/out/host/linux-x86/bin/dtbToolCM', needed by '/home/xyz/Codes/CM12/out/target/product/bacon/dt.img'.  Stop.

从XDA得到答案。需要通过克隆 https://github.com/CyanogenMod/android_device_qcom_common 获得 device/qcom/common .

这个link帮助了我

Link To XDA answer