我正在尝试为HTC U11编译android内核源代码 我没有找到具体的构建说明,因此遵循通常的方法 指向工具链文件夹后
export CROSS_COMPILE=/home/korom42/aarch64-linux-android-4.9/bin/aarch64-linux-android-
export ARCH=arm64
export SUBARCH=arm64
export USE_CCACHE=1
make clean
我遇到以下错误
lib/Makefile:17: *** recipe commences before first target. Stop.
Makefile:1213: recipe for target '_clean_lib' failed
make: *** [_clean_lib] Error 2
我也尝试过
make O=out clean
korom42@DESKTOP-0N2NBG8:~/ocean$ make O=out clean
make[1]: Entering directory '/home/korom42/ocean/out'
../lib/Makefile:17: *** recipe commences before first target. Stop.
/home/korom42/ocean/Makefile:1213: recipe for target '_clean_lib' failed
make[1]: *** [_clean_lib] Error 2
make[1]: Leaving directory '/home/korom42/ocean/out'
Makefile:150: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
我的设置:安装了所有构建工具并将其更新为最新版本的Ubuntu 16.04 内核来源:https://github.com/korom42/ocean