[2/2] board/ti/common/am6xx: exit post-build.sh on error

Message ID 20260124152941.902168-2-dario.binacchi@amarulasolutions.com
State New
Headers show
Series
  • [1/2] board/ti/common/am6xx: remove debug flag from post-build script
Related show

Commit Message

Dario Binacchi Jan. 24, 2026, 3:29 p.m. UTC
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>
---
 board/ti/common/am6xx/post-build.sh | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/board/ti/common/am6xx/post-build.sh b/board/ti/common/am6xx/post-build.sh
index e3ff4d7f12ce..c32cfe25b299 100755
--- a/board/ti/common/am6xx/post-build.sh
+++ b/board/ti/common/am6xx/post-build.sh
@@ -1,4 +1,5 @@ 
 #!/bin/sh
+set -eu
 
 # genimage will need to find the extlinux.conf
 # in the binaries directory