Resource icon

Android-x86 Kernel Toolchain GCC 4.9 with Plugins 2

Riggs6012 submitted a new resource:

Android-x86 Kernel Toolchain GCC 4.9 (Nougat) - Build Android-x86 kernels with plugins enabled unlike the stock toolchain.

Hello once again I have built a kernel toolchain with being able to use plugins for my build. Make sure to set your kernel config to CONFIG_GCC_HAVE_PLUGINS=y.

Instructions:

export PATH=$PATH:/path to toolchain bin folder.
make O=out android-x86_64_defconfig
make O=out ARCH=x86_64 CROSS_COMPILE=x86_64-linux-androidkernel- bzImage modules
sudo make O=out modules_install

Thats all it takes to build a kernel cheers.

View the full version of this resource...
 
Riggs6012 updated Android-x86 Kernel Toolchain GCC 4.9 with Plugins with a new update entry:

Android-x86 Kernel toolchain with LLD from LLVM 18

I have built a few kernels with lld. You need to edit your kernel Makefile but it works. You can use binutils or LLVM to build your kernel. The LLVM component to the toolchain works flawlessly. LLVM is only supported on kernels that have clang support. The ld.lld executable is 55 MB it works pretty good it provides a much needed update.


Best regards
Ryan Johnson

Read the rest of this update entry...
 

Similar threads

Similar threads

Get Connected

Discord Server

New Threads

Top