Skip to content

moto-penangf/kernel_moto_penangf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux kernel

There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first.

In order to build the documentation, use make htmldocs or make pdfdocs. The formatted documentation can also be read online at:

https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.

How to build this shit

  1. Make a new directory (top directory)
mkdir fuckmoto && cd fuckmoto
  1. Clone our repository with the kernel and scripts into a directory kernel-5.10
git clone https://github.com/moto-penangf/kernel_moto_penangf kernel-5.10 --depth 1
  1. Move the helper scripts to the top directory
mv kernel-5.10/helpers/* ./

It should look something like this:

|- fuckmoto
|  |-- kernel-5.10
|  |
|  |-- build.sh
|  |-- download_toolchain.sh
|  |-- download_modules.sh
  1. Use the script download_toolchain.sh to download the correct toolchain and create the proper directory structure for its storage.

ATTETION! Helper scripts must only be run in the top directory!

./download_toolchain.sh
  1. Use the script download_gki.sh to download the GKI
./download_gki.sh
  1. Use the script download_modules.sh to download the vendor kernel modules required for the build
./download_modules.sh
  1. Check that the project structure is correct. A small example of what the structure should look like:
|- fuckmoto
|  |-- kernel-5.10
|  |-- vendor/mediatek/kernel_modules
|  |-- prebuilts
|  |   |-- build-tools
|  |   |-- clang/host/linux-x86/clang-r416183b
|  |
|  |-- build.sh
|  |-- download_toolchain.sh
|  |-- download_modules.sh
  1. Build this shitcode from Motorola and MTK using the build.sh script
./build.sh

About

Linux Kernel for devices using MTK-based chipset

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •