board/stmicroelectronics/stm32f4xx: 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 <dario.binacchi@amarulasolutions.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 3c8ecc05c6)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Dario Binacchi
2026-01-24 16:23:11 +01:00
committed by Thomas Perale
parent 7a748c6c92
commit eff9b51b40

View File

@@ -1,4 +1,5 @@
#!/bin/sh
set -eu
# Busybox is built without network support
sed -i '/hostname/d' ${TARGET_DIR}/etc/inittab