Skip to contentSkip to conversation

board/ti/common/am6xx: remove debug flag from post-build script

PATCH Applied Dario Binacchi 2 participants 4 messages Jan 24 – Feb 6

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 board/ti/common/am6xx: remove debug flag from post-build script

Remove the '-x' option from the shebang, which was a leftover from the debugging phase and not intended for the final submission.

---
 board/ti/common/am6xx/post-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/ti/common/am6xx/post-build.sh +1 -1
index d066e28fd0d5..e3ff4d7f12ce 100755
@@ -1,4 +1,4 @@
-#!/bin/sh -x
+#!/bin/sh
 
 # genimage will need to find the extlinux.conf
 # in the binaries directory
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 board/ti/common/am6xx: 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.

---
 board/ti/common/am6xx/post-build.sh | 1 +
 1 file changed, 1 insertion(+)
board/ti/common/am6xx/post-build.sh +1 -0
index e3ff4d7f12ce..c32cfe25b299 100755
@@ -1,4 +1,5 @@
 #!/bin/sh
+set -eu
 
 # genimage will need to find the extlinux.conf
 # in the binaries directory
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw
In reply to Dario Binacchi

In reply of:

Quoted 4 lines

Remove the '-x' option from the shebang, which was a leftover from the debugging phase and not intended for the final submission.

Applied to 2025.02.x & 2025.11.x. Thanks

Quoted 21 lines
---
 board/ti/common/am6xx/post-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/ti/common/am6xx/post-build.sh +1 -1
index d066e28fd0d5..e3ff4d7f12ce 100755
@@ -1,4 +1,4 @@
-#!/bin/sh -x
+#!/bin/sh
 
 # genimage will need to find the extlinux.conf
 # in the binaries directory
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot