diff options
author | Alexander Goncharov <chat@joursoir.net> | 2022-10-09 13:10:27 +0300 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2023-01-18 21:04:58 +0000 |
commit | 58888f78f3690e6701a717cdc65562fdf9038e1e (patch) | |
tree | 0d253993cbac31f3f9229878aaf0d2e4e54875f5 /usbblaster_spi.c | |
parent | 87531ef11c00963100f20fac71c2428f54162916 (diff) | |
download | flashrom-58888f78f3690e6701a717cdc65562fdf9038e1e.tar.gz flashrom-58888f78f3690e6701a717cdc65562fdf9038e1e.tar.bz2 flashrom-58888f78f3690e6701a717cdc65562fdf9038e1e.zip |
util: add bash completion script
Add a bash script for the flashrom CLI that auto-completes the command
sequence. The script is generated from a template by substituting a
list of enabled programmers. It requires an extra `bash-completion`
package to work, but, fortunately, it's installed on most systems.
Build system changes:
meson:
provide option `bash_completion` to determine if the script should
be installed (depends on option `classic_cli`).
makefile:
make a list of enabled programmers (by using CONFIG_* variables)
to do substitution manually
Change-Id: Ie68bc91c3cea4de2ffdbeffd07e48edd8d5590e1
Signed-off-by: Alexander Goncharov <chat@joursoir.net>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/68247
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'usbblaster_spi.c')
0 files changed, 0 insertions, 0 deletions