From fb847e83797022dceedbcf92c5c2c72cffc32883 Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Sat, 24 Jan 2026 17:15:40 +0100 Subject: [PATCH] board/bsh/imx8mn-bsh-smm-s2: exit post-build.sh on error Add 'set -eu' to ensure that command failures or unset variables are properly reported to the 'make' process. This prevents silent failures during the image generation phase. Signed-off-by: Dario Binacchi Signed-off-by: Julien Olivain --- board/bsh/imx8mn-bsh-smm-s2/post-build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/bsh/imx8mn-bsh-smm-s2/post-build.sh b/board/bsh/imx8mn-bsh-smm-s2/post-build.sh index 49df4cd6fb..ede1738ecb 100755 --- a/board/bsh/imx8mn-bsh-smm-s2/post-build.sh +++ b/board/bsh/imx8mn-bsh-smm-s2/post-build.sh @@ -1,4 +1,6 @@ #!/bin/sh +set -eu + BOARD_DIR="$(dirname $0)" cp ${BOARD_DIR}/nand-full.lst ${BINARIES_DIR}