Hello!
Nice to be here.
I try to compile android kernel from source, but every time got errors.
I found kernel here:
Samsung kernel for SM A510F
I downloaded tools from here:
Tools is located in source folder (inside kernel folder)
build_kernel.sh
I open kernel folder and compile the sources:
./build_kernel.sh
I got a few errors: tools not found etc.
Where is my mistake?
Any help will be greatly appreciated!
Nice to be here.
I try to compile android kernel from source, but every time got errors.
I found kernel here:
Samsung kernel for SM A510F
I downloaded tools from here:
Code:
wget https://releases.linaro.org/components/toolchain/binaries/latest-4/aarch64-linux-gnu/gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu.tar.xz
tar xf gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu.tar.xz
Tools is located in source folder (inside kernel folder)
build_kernel.sh
Code:
#!/bin/bash
export ARCH=arm64
export CROSS_COMPILE=./source/gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
export ANDROID_MAJOR_VERSION=q
make exynos7580-a5xelte_defconfig
make -j$(nproc –all)
I open kernel folder and compile the sources:
./build_kernel.sh
I got a few errors: tools not found etc.
Where is my mistake?
Any help will be greatly appreciated!
Last edited: