summaryrefslogtreecommitdiff
path: root/board/freescale/imx6ulevk/post-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/imx6ulevk/post-image.sh')
-rwxr-xr-xboard/freescale/imx6ulevk/post-image.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/freescale/imx6ulevk/post-image.sh b/board/freescale/imx6ulevk/post-image.sh
index cb75a47de..87573557c 100755
--- a/board/freescale/imx6ulevk/post-image.sh
+++ b/board/freescale/imx6ulevk/post-image.sh
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
-GENIMAGE_CFG="board/freescale/imx6ulevk/genimage.cfg"
+BOARD_DIR="$(dirname $0)"
+GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
rm -rf "${GENIMAGE_TMP}"