]> code.ossystems Code Review - openembedded-core.git/commit
u-boot: Fix syntax error in ${UBOOT_ENV}.scr compilation
authorPeter Hoyes <Peter.Hoyes@arm.com>
Tue, 19 Oct 2021 13:47:27 +0000 (14:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Oct 2021 16:41:46 +0000 (17:41 +0100)
commite33994157abbea897ceaf465f9d2a99a9c8212b1
treeb0c158fe8174a06a28848e047f6937666eed6de9
parenta8add0bdec7c51c9a7f851b2c63017c79faaa273
u-boot: Fix syntax error in ${UBOOT_ENV}.scr compilation

A previous commit (a3d3c2d4ac421a0dde2a20825eab4434f16b2452) introduced
support for compiling a U-Boot boot script, but the logic contained a
syntax error which was only visible in the build log. Fix the error by
using separate []s for each expression in the if statement.

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/u-boot/u-boot.inc