Top "Kbuild" questions

kbuild is the build system used by the Linux kernel.

What exactly does Linux kernel's `make defconfig` do?

I can use the following command to create a Linux kernel .config file based on a specified architecture default for …

linux-kernel kbuild
How to create a defconfig file from a .config?

I have done make menuconfig for a board defconfig and modified few configurations. When I select save, a new .config …

linux-kernel embedded-linux kbuild archlinux-arm
How to use make and compile as C99?

I'm trying to compile a linux kernel module using a Makefile: obj-m += main.o all: make -C /lib/modules/$(shell …

linux makefile c99 c89 kbuild
How to get the .config from a Linux kernel image?

I have a Linux kernel image in elf format and I want to find out what .config file was used …

linux linux-kernel kbuild
Building an out-of-tree Linux kernel module in a separate object directory

I'm confronting the Linux kernel build system (Kbuild, kernel ≥2.6.28) with the directory structure and build system for a larger project. …

makefile linux-kernel kbuild
What are the codes such as CC, LD and CC[M] output when compiling the Linux kernel?

While compiling Linux from scratch I realize that there are compile codes that appear while compiling. For example CC filename , …

linux linux-kernel makefile kbuild
How does kbuild actually work?

When i'm developing a linux driver, i've read about how to write linux kbuild makefile through this document I know …

c linux makefile linux-kernel kbuild