Skip to content
Snippets Groups Projects
Commit 7a439cad authored by Andreas Bießmann's avatar Andreas Bießmann Committed by Tom Rini
Browse files

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: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent f1ab00fb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment