This is a draft cheat sheet. It is a work in progress and is not finished yet.
Basic commands
make O=outputdir xyz_defconfig |
Initialize outputdir based on xyz_defconfig |
make menuconfig |
Modify the configuration |
make |
Build |
make savedefconfig |
Save the configuration back to the original _defconfig |
Directories
output/images |
Location of built kernel, bootloader and root filesystem images |
output/build |
Directory where all components are built |
output/staging |
Headers and libraries of the cross-compilation toolchain and userspace packages |
output/target/ |
Almost complete root filesystem for the target |
output/host/ |
Host tools including the cross-compilation toolchain |
|
|
Q&A section
Why? Because
|
What? A longer answer to my question. I.e., because because because
|
How? Stop asking
|
|
|
One last time
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("Hello\n");
}
|
|