commit | f400158394a5f08355316040f802b42113b344ac | [log] [tgz] |
---|---|---|
author | Andreas Bießmann <andreas.devel@googlemail.com> | Sun May 01 03:01:27 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon May 02 18:37:09 2016 -0400 |
tree | 5b726a6a6b43de47e079ae2c9f56422795a86e62 | |
parent | ba2199bbcbaacd8bf400eb132048428f16e52ce3 [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>