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 /doc/mkimage.1 | |
parent | f1ab00fb537251b782147830dd6019087fc75fdc (diff) | |
download | u-boot-imx-7a439cadcf3192eb012a2432ca34670b676c74d2.zip u-boot-imx-7a439cadcf3192eb012a2432ca34670b676c74d2.tar.gz u-boot-imx-7a439cadcf3192eb012a2432ca34670b676c74d2.tar.bz2 |
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 'doc/mkimage.1')
-rw-r--r-- | doc/mkimage.1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/mkimage.1 b/doc/mkimage.1 index e0f210a..4b3a255 100644 --- a/doc/mkimage.1 +++ b/doc/mkimage.1 @@ -97,8 +97,8 @@ Set XIP (execute in place) flag. .B Create FIT image: .TP -.BI "\-b -Specifies that the following arguments are device tree binary files (.dtb). +.BI "\-b [" "device tree file" "] +Appends the device tree binary file (.dtb) to the FIT. .TP .BI "\-c [" "comment" "]" @@ -211,7 +211,7 @@ automatic mode. No .its file is required. .B mkimage -f auto -A arm -O linux -T kernel -C none -a 43e00000 -e 0 \\\\ .br .B -c """Kernel 4.4 image for production devices""" -d vmlinuz \\\\ -.B -b /path/to/rk3288-firefly.dtb /path/to/rk3288-jerry.dtb kernel.itb +.B -b /path/to/rk3288-firefly.dtb -b /path/to/rk3288-jerry.dtb kernel.itb .fi .SH HOMEPAGE |