Skip to content

Baka-Project/Baka-Compile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kernel building script

Codacy Badge

Installasion

$ wget https://raw.githubusercontent.com/Baka-Project/Baka-Compile/baka/baka-compile
  • copy file to your directory kernel
  • bash baka-compile --gcc for gcc build
  • bash baka-compile --clang for clang build
  • write as
    • DEFCONFIG # defconfig your main kernel
    • HOST # whatever you need to name
    • USER # whatever you need to name
    • CLANG # path the clang folder
    • ARM64 # path the gcc arm64 folder
    • ARM32 # path the gcc arm32 folder

Features of this script

Building kernel from local

How to use this scripts

This script has most of it's stuffs in "Basic Information" part. In a nutshell,

	DEFCONFIG - To build a kernel, you need a defconfig. It defines the defconfig which
                     you will need to build kernel. In case your source has the defconfig 
                     inside /arch/arm64/configs/vendor , then you need to set it as
                     '/vendor/<name of your defconfig>

	USER      - User builder kernel

	HOST      - Host builder kernel

	CLANG     - Your location folder of clang `clang`

	ARM64     - Your location folder of arm64 `gcc`

	ARM32     - Your location folder of arm `gcc`

About

simpe script for compile kernel with gcc/clang in local build with linux or termux by path toolchain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages