Giter Club home page Giter Club logo

kbuild's Introduction

kbuild | kernel build script for dev/hacking

simple script for building the kernel for development and hacking purposes, script is designed for x86_64 builds, but you can easily change that by doing a little bit of editing

building

to build a specific version with x86_64_defconfig and CONFIG_DEBUG_INFO=y, just specify the version, for example:

./kbuild.sh 5.15.135

you can also build the staging kernel using staging as the version

to build using a specific config, specify config's path at the end:

./kbuild.sh 5.15.135 my-cool-config

booting

you can also boot the kernel you built with QEMU/KVM, using the kboot script:

./kboot.sh 5.15.135 

by default, this script will build busybox for initramfs, however you can specify a path to your own initramfs:

./kboot.sh 5.15.135 my-cool-initramfs.cpio.gz 

note that this will extract the initramfs to install the kernel modules

kbuild's People

Contributors

ngn13 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

cereallkiller

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.