我一直在試圖爲OnePlus Two構建ASOP ROM。無法找到產品「cm_oneplus2」的配置生成文件
我在我的
ubuntu's home
取得了working-dir
文件夾。安裝了所有必需的工具和腳本,如java,python,make,git和一些lib文件。我已經下載了壓縮的源文件(沒有
.repo
文件夾),所以我只有aosp5.1.0
文件夾和我在一起。我已經在這裏下載了它們。 (Heavily Compressed Android Sources)。使用終端將它們提取到working-dir
。我已經克隆
device tree
從該存儲庫
https://github.com/krishna422/android_device_oneplus_oneplus2成工作-DIR /設備/萬普拉斯/ oneplus2
- 我已經從克隆
kernel source
此存儲庫 - 我已經克隆
vendor tree
從該存儲庫
https://github.com/krishna422/android_kernel_oneplus_msm8994 into working-dir/kernel/oneplus/oneplus2
https://github.com/krishna422/proprietary_vendor_oneplus成工作-DIR /供應商/萬普拉斯/ oneplus2
所以在working-dir
中的文件,
aosp5.1.0,設備,內核,賣主
頁的文件中aosp5.1.0
是
我已經複製
工作-DIR /設備/萬普拉斯/文件夾到aosp5.1.0 /設備
然後,我打開CMD ,導航至aosp5.1.0
輸入文件夾source build/envsetup.sh
我得到
[email protected]:~/working-dir/aosp5.1.0$ source build/envsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including evice/oneplus/android_device_oneplus_oneplus2/vendorsetup.sh
including sdk/bash_completion/adb.bash
然後我輸入lunch
我,
[email protected]:~/working-dir/aosp5.1.0$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_mips-eng
4. aosp_mips64-eng
5. aosp_x86-eng
6. aosp_x86_64-eng
7. m_e_arm-userdebug
8. mini_emulator_arm64-userdebug
9. mini_emulator_x86_64-userdebug
10. mini_emulator_x86-userdebug
11. mini_emulator_mips-userdebug
12. cm_oneplus2-user
13. cm_oneplus2-userdebug
14. cm_oneplus2-eng
Which would you like?
當我選擇12,13,14
,我碰到下面的錯誤,其他人都運作良好。
build/core/product_config.mk:222: *** Can not locate config makefile for product "cm_oneplus2". Stop.
** Don't have a product spec for: 'cm_oneplus2'
** Do you have the right repo manifest?
[email protected]:~/working-dir/aosp5.1.0$
請幫