Open butterl opened 4 years ago
Hi, @butterl Since gcc is not supported by aosp master by default, please change to use clang to build the kernel. For the build instructions, please try like this:
$ repo init -u https://android.googlesource.com/kernel/manifest -b hikey-linaro-android-4.19
$ repo sync
$ cd hikey-kernel
$ git fetch "https://android.googlesource.com/kernel/hikey-linaro" refs/changes/40/1259440/5 && git cherry-pick FETCH_HEAD
$ cd -
$ ./build/build.sh
$ ll out/android-hikey-linaro-4.19/dist/Image.gz-dtb
The changes should be merged soon, after that the steps to apply changes are not necessary any more.
The instructions on https://source.android.com/setup/build/devices will updated after the changes merged.
Please let me know if there is any issues.
Thanks, Yongqin Liu
Hi, I tried with AOSP master code with Hikey960 4.19 kernel build, it turns out that AOSP removed gcc from prebuilts, which gcc should I use for compile the hikey kernel?