OnePlusOSS / android_kernel_oneplus_msm8998

Other
141 stars 107 forks source link

cannot recompile kernel #28

Open covar2077 opened 2 years ago

covar2077 commented 2 years ago

I'm trying to recompile the kernel in order to enable RFCOMM support. I have download the (gcc-arm-8.3-2019.03-x86_64-aarch64-elf) toolchain and i tried to export cross_compile to the bin folder of the toolchain. But when i proceed to the command make clean i get the followin error:

root@ubuntu:/home/path_of_kernel# export CROSS_COMPILE="/home/path_of_kernel/android_kernel_oneplus_msm8998/gcc-arm-8.3-2019.03-x86_64-aarch64-elf/bin/aarch64-elf-"

root@ubuntu:/home/path_of_kernel# make clean ./scripts/gcc-version.sh: line 26: /home/arter97/arm64-gcc/bin/aarch64-elf-gcc: No such file or directory ./scripts/gcc-version.sh: line 26: /home/arter97/arm64-gcc/bin/aarch64-elf-gcc: No such file or directory

it seems that the direction of the folder is wrong and i cannot changed it. Why is trying to access "/home/arter97/arm64-gcc/bin/aarch64-elf-gcc" ???? How can i change it????