[Buildroot] [PATCH v1 1/1] board/versal/post-image: remove unnecessary mkdir
Neal Frager
neal.frager at amd.com
Fri Oct 3 09:25:14 UTC 2025
The board/versal/post-image.sh script has an unnecessary mkdir command:
mkdir -p "${BINARIES_DIR}"
Just above the command, the script is making a symlink for the Linux DTB in
the ${BINARIES_DIR}, so if the ${BINARIES_DIR} did not already exist with
images inside, the script would fail regardless of whether this mkdir is
executed or not.
For this reason, remove the mkdir call from the script because it is not
necessary.
Signed-off-by: Neal Frager <neal.frager at amd.com>
---
board/versal/post-image.sh | 1 -
1 file changed, 1 deletion(-)
diff --git a/board/versal/post-image.sh b/board/versal/post-image.sh
index b5ce2e3f0c..3242e4384a 100755
--- a/board/versal/post-image.sh
+++ b/board/versal/post-image.sh
@@ -12,7 +12,6 @@ FIRST_DT=$(sed -nr \
BOARD_DIR="$(dirname "$0")"
-mkdir -p "${BINARIES_DIR}"
cat <<-__HEADER_EOF > "${BINARIES_DIR}/bootgen.bif"
the_ROM_image:
{
--
2.25.1
More information about the buildroot
mailing list