diff options
author | Andreas Bießmann <andreas.devel@googlemail.com> | 2016-05-01 03:01:27 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-02 18:37:09 -0400 |
commit | 7a439cadcf3192eb012a2432ca34670b676c74d2 (patch) | |
tree | 5b726a6a6b43de47e079ae2c9f56422795a86e62 /include/serial.h | |
parent | f1ab00fb537251b782147830dd6019087fc75fdc (diff) |
mkimage: fix argument parsing on BSD systems
The getopt(3) optstring '-' is a GNU extension which is not available on BSD
systems like OS X.
Remove this dependency by implementing argument parsing in another way. This
will also change the lately introduced '-b' switch behaviour.
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/serial.h')
0 files changed, 0 insertions, 0 deletions