readme: Add new files to the Buildroot image section

Organize related docs a bit, notably move ./run-toolchain and ./getvar to
README.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-01-09 00:00:00 +00:00
parent b15a0e455d
commit 657c59249e
3 changed files with 156 additions and 100 deletions

18
getvar
View File

@@ -10,23 +10,7 @@ class Main(common.LkmcCliFunction):
},
description='''\
Print the value of a self.env['py'] variable.
This is useful to:
* give dry commands on the README that don't change when we refactor directory structure
* create simple bash scripts that call use self.env['py'] variables
For example, to get the Buildroot output directory for an ARM build, use:
....
./%(prog)s -a arm buildroot_build_dir
....
List all available variables:
....
./%(prog)s
....
https://cirosantilli.com/linux-kernel-module-cheat#getvar
''',
)
self.add_argument('--type', choices=['input', 'all'], default='all')