Carl-Daniel Hailfinger uploaded patch set #4 to this change.

View Change

Automatic programmer driver writer

Copy ezo-driver.tmpl to a file of your choice and fill in the properties
of the flashrom programmer driver you want to create. Then run
./build_new_driver.sh <your-driver.tmpl>

The driver skeleton will be created in $PROGRAMMERNAME.c.mine
Modified versions of existing files will be created with extension .mine
You can replace the original files with the modified versions by running
for a in *; do test -f $a.mine && mv $a.mine $a; done

FIXME: This kills the driver.c if it already exists.

If you want to use the newly generated skeleton $PROGRAMMERNAME.c.mine , run
mv $PROGRAMMERNAME.c.mine $PROGRAMMERNAME.c

WARNING: Please note that rerunning build_new_driver.sh will overwrite
all *.mine files, but it won't touch $PROGRAMMERNAME.c .
If something goes wrong, you can revert all files which look odd and
run this script again.

Also included is a Python 3 script reorder-meson.py which checks the meson
build files for consistency and alphabetical ordering.
Fix the alphabetical ordering of the meson files while we're at it.

Change-Id: Icdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd000001
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
---
M Makefile
A build_new_driver.sh
A ezo-driver.tmpl
M flashrom.8.tmpl
M flashrom.c
M meson.build
M meson_options.txt
M programmer.h
A reorder-meson.py
9 files changed, 599 insertions(+), 15 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/88/38488/4

To view, visit change 38488. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Icdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd000001
Gerrit-Change-Number: 38488
Gerrit-PatchSet: 4
Gerrit-Owner: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Gerrit-Reviewer: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Idwer Vollering <vidwer@gmail.com>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: newpatchset