Skip to content

n13l/kbuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

239 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kbuild repository template for userland

The same code base is used for a different range of computing systems, from supercomputers to very tiny devices.

Kbuild

  • Much simpler makefiles without the glue code that are hard to read and maintain
  • Reduce the burden of code dependency management from developers
  • Easy and efficient way to manage all compilation and configuration options on top of platform capabilities
  • Precise dependency tracking with strong support of parallelism
  • Tasks are split up and run simultaneously on multiple processors with different input in order to obtain results faster.
  • Build versioning in continuous delivery
  • Readable and configurable log

Kconfig

  • Easy to change/browse configuration
  • Clear dependency between features and capabilities
  • Help docs in Kconfig rather than a README

Directory structure

FilePath Description
Makefile The top Makefile.
.config The package configuration file.
arch/$(ARCH)/ The Architecture layer
os/$(PLATFORM)/ The Platform layer
scripts/ Common rules, scripts and tools for the build system
kbuild Makefiles Custom Makfiles
Supported Matrix Status
Architecture x86_32, x86_64, arm32, arm64, ppc64, os390 , os390x
Platform Linux, Windows, MacOS, iOS, Android, IBM AIX, IBM Z/OS
Compiler GCC, CLANG, XLC

Build in Action

git clone [email protected]:n13l/crypto.git
cd crypto/
git submodule update --init

Demo

About

Kbuild repository template for userland

Resources

Stars

5 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors