
Description
Hello,
I followed the instructions in the README file, but I encountered an error, as indicated in the title, when executing the make command.
Here are the detailed results for your reference:
root@cbuntu:/Andoid_kernel# make ARCH=arm CROSS_COMPILE=$CC_PATH/arm-eabi- modules_prepare/Andoid_kernel# make ARCH=arm CROSS_COMPILE=$CC_PATH/arm-eabi- modules
make: *** No rule to make target 'modules_prepare'. Stop.
root@cbuntu:
make: *** No rule to make target 'modules'. Stop.
root@cbuntu:/Andoid_kernel# ls -al/Andoid_kernel# cat ./Makefile
total 212
drwxr-xr-x 2 root root 4096 9월 17 21:17 .
drwx------ 19 root root 4096 9월 17 17:48 ..
-rw------- 1 root root 201093 9월 17 19:02 .config
-rw-r--r-- 1 root root 274 9월 17 21:17 Makefile
root@cbuntu:
obj-m := lime.o
lime-objs := main.o tcp.o disk.o
KDIR := /root/Andoid_kernel
PWD := $(shell pwd)
CCPATH := /root/Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/
default:
root@cbuntu:/Andoid_kernel# echo $KSRC_PATH/Andoid_kernel# echo $NDK_PATH
/root/Andoid_kernel
root@cbuntu:
/root/Android/Sdk/ndk/25.2.9519653/
root@cbuntu:/Andoid_kernel# echo $SDK_PATH/Andoid_kernel# echo $CC_PATH
/root/Android/Sdk/
root@cbuntu:
/root/Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/
root@cbuntu:~/Andoid_kernel# echo $LIME_SRC
/root/LiME/src