diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-03-10 12:56:07 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-03-10 13:20:49 +0200 |
commit | e4645c618591e1039fb07fc701075d2c801f2ea2 (patch) | |
tree | d54a12404c7b0d5e1130987008420e92882f9e52 | |
parent | 8a169fc5085d7844bc259014263248dcc1dc6718 (diff) |
images: FIT: Support empty fit_conf_prefix
If fit_conf_prefix is unset, "conf-" is used as a default prefix. This
also applies if fit_conf_prefix is set but null. Support null
fit_conf_prefix.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | images/FIT.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/images/FIT.sh b/images/FIT.sh index 043e563..a2c9493 100644 --- a/images/FIT.sh +++ b/images/FIT.sh @@ -1,6 +1,8 @@ # SPDX-License-Identifier: GPL-2.0+ -fit_conf_prefix=${fit_conf_prefix:-conf-} +if [ -z ${fit_conf_prefix+x} ] ; then + fit_conf_prefix="conf-" +fi make_FIT_image() { local kernel_compression |