aboutsummaryrefslogtreecommitdiffstats
path: root/cli_getopt.c
Commit message (Collapse)AuthorAgeFilesLines
* cli_classic: include a fallback inplementation of getoptThomas Heijligen2023-04-271-0/+263
Some systems, DJGPP/DOS for now, may not provide getopt and their gnu extensions. So provide a fallback implementation. The code is based on musl libc. Change-Id: I6ebbde075014e3b45b0f9e04b34b72aa969e1197 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/73102 Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>