From e4645c618591e1039fb07fc701075d2c801f2ea2 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 10 Mar 2021 12:56:07 +0200 Subject: 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 --- images/FIT.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3