mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 19:21:35 +01:00
Start sketching parsec buildroot package
This commit is contained in:
23
README.adoc
23
README.adoc
@@ -76,29 +76,36 @@ git ls-files | grep modulename
|
||||
|
||||
=== Rebuild
|
||||
|
||||
If you make changes to the kernel modules or most configurations tracked on this repository, you can just use again:
|
||||
After making changes to a package, you must explicitly tell it to be rebuilt.
|
||||
|
||||
For example, you you modify the kernel modules, you must rebuild with:
|
||||
|
||||
....
|
||||
./build
|
||||
./run
|
||||
./build -k
|
||||
....
|
||||
|
||||
and the modified files will be rebuilt.
|
||||
which is just an alias for:
|
||||
|
||||
If you change any package besides `kernel_module`, you must also request those packages to be reconfigured or rebuilt with extra targets, e.g.:
|
||||
....
|
||||
./build -t kernel_module-reconfigure
|
||||
....
|
||||
|
||||
where `kernel_module` is the name of out Buildroot package that contains the kernel modules.
|
||||
|
||||
Other important targets are:
|
||||
|
||||
....
|
||||
./build -t linux-reconfigure -t host-qemu-reconfigure
|
||||
....
|
||||
|
||||
Those aren't turned on by default because they take quite a few seconds.
|
||||
|
||||
Linux and QEMU rebuilds are so common that we have dedicated shortcut flags for them:
|
||||
which are aliased respectively to:
|
||||
|
||||
....
|
||||
./build -l -q
|
||||
....
|
||||
|
||||
We don't rebuild by default because, even with `make` incremental rebuilds, the timestamp check takes a few annoying seconds.
|
||||
|
||||
=== Clean the build
|
||||
|
||||
You did something crazy, and nothing seems to work anymore?
|
||||
|
||||
Reference in New Issue
Block a user