summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharlie Davies <charles.davies@whitetree.xyz>2020-07-09 20:22:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-12 12:20:38 +0100
commit766f827df4c3f76b1ef06acaba3c4f160c3791aa (patch)
tree1c3a29d0c31fd3701a45725e38b6a08be81d87d0
parent0000d30fb82aafa5064051502a927c5fc447b63b (diff)
downloadopenembedded-core-contrib-766f827df4c3f76b1ef06acaba3c4f160c3791aa.tar.gz
u-boot: fix condition to allow use of *.cfg
U-boot recipe supports .cfg files in SRC_URI, but bug in conditional statement meant that the code was unreachable and the .cfg files were never applied. Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-bsp/u-boot/u-boot.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
index c91da02959..2666de647c 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -89,7 +89,7 @@ do_configure () {
j=$(expr $j + 1);
if [ $j -eq $i ]; then
oe_runmake -C ${S} O=${B}/${config} ${config}
- if [ test -n "${@' '.join(find_cfgs(d))}" ]; then
+ if [ -n "${@' '.join(find_cfgs(d))}" ]; then
merge_config.sh -m -O ${B}/${config} ${B}/${config}/.config ${@" ".join(find_cfgs(d))}
oe_runmake -C ${S} O=${B}/${config} oldconfig
fi