mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 12:34:26 +01:00
getvar: move docs to --help
This commit is contained in:
14
README.adoc
14
README.adoc
@@ -9488,20 +9488,6 @@ These appear when you do `./some-script -h`.
|
||||
|
||||
We have to keep them as separate files from the README for that to be possible.
|
||||
|
||||
==== getvar
|
||||
|
||||
The link:getvar[] helper script prints the value of a variable from the link:common[] file.
|
||||
|
||||
For example, to get the Buildroot output directory for an ARM build, you can use:
|
||||
|
||||
....
|
||||
./getvar -a arm buildroot_out_dir
|
||||
....
|
||||
|
||||
This script exists mostly to factor out instructions given on the README which users are expected to copy paste into the terminal.
|
||||
|
||||
Otherwise, it becomes very difficult to keep everything working across path refactors, since README snippets cannot be tested automatically.
|
||||
|
||||
==== build
|
||||
|
||||
....
|
||||
|
||||
Reference in New Issue
Block a user