cm12 build for one plus failed

1.7k views Asked by At

I am trying to build cm12 for One Plus. But I get the following error and the build process stops. I checked CM12 build failed for oneplus one also. Can anyone please help? I used
1). build/envsetup.sh
2)brunch bacon

 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.
1

There are 1 answers

0
Siju On BEST ANSWER

Got the answer from XDA. Need to get device/qcom/common by cloning https://github.com/CyanogenMod/android_device_qcom_common .

This link helped me

Link To XDA answer