coreboot-kgpe-d16/util/nvramtool/cli
Stefan Tauner 1f5349e61d nvramtool: fix getopt handling with unsigned char
make failed while executing "OPTION     option_table.h" by printing
nvramtool's usage message when crosscompiling coreboot on the BBB.
The reason is the usage of char for the return value of getopt instead
of int and comparing it to -1 later... although char might be unsigned
as it is usually on ARM.

Change-Id: Ib20fd5ef174d484bbb35f80150b8f898d95d0fe4
Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at>
Reviewed-on: http://review.coreboot.org/9307
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-04-06 23:29:06 +02:00
..
nvramtool.8 Move CLI portion of nvramtool into cli/ subdirectory as first step towards librarization. 2011-01-28 07:47:10 +00:00
nvramtool.c nvramtool: check for successful seek 2014-08-10 08:20:09 +02:00
opts.c nvramtool: fix getopt handling with unsigned char 2015-04-06 23:29:06 +02:00
opts.h nvramtool: Unify nvramtool and build_opt_tbl 2012-04-21 09:36:24 +02:00