我正在尝试使用以下命令行编译backport:
make KLIB=$CM_ROOT/out/target/product/$CM_BUILD/obj/KERNEL_OBJ KLIB_BUILD=$CM_ROOT/out/target/product/$CM_BUILD/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=$CM_ROOT/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi- defconfig-wcn36xx
但它失败并出现以下错误:
Generating local configuration database from kernel ...make[2]: *** /home/user/android2/system/kernel/lge/mako: No such file or directory. Stop.
这是因为文件夹/ home / user / android2 /不存在 文件夹android2来自哪里?
$CM_ROOT = /home/user/android-wcn36xx/system/
$CM_BUILD = mako
grep -r "android2" .
和
export | grep android2
什么都不返回
答案 0 :(得分:0)
通过在源文件夹中运行make clean并重新编译来修复