summaryrefslogtreecommitdiffstats
path: root/board/technologic/ts4800/post-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'board/technologic/ts4800/post-image.sh')
-rwxr-xr-xboard/technologic/ts4800/post-image.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/board/technologic/ts4800/post-image.sh b/board/technologic/ts4800/post-image.sh
new file mode 100755
index 0000000000..167dea812c
--- /dev/null
+++ b/board/technologic/ts4800/post-image.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+#
+# Copyright (C) 2015 Savoir-faire Linux
+# Post image generation script.
+
+BOARD_DIR="$(dirname $0)"
+GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
+GENIMAGE_TMP=${BUILD_DIR}/.genimage_tmp
+
+rm -rf ${GENIMAGE_TMP}
+
+${HOST_DIR}/usr/bin/genimage \
+ --config ${GENIMAGE_CFG} \
+ --rootpath ${TARGET_DIR} \
+ --tmppath ${GENIMAGE_TMP} \
+ --inputpath $BINARIES_DIR \
+ --outputpath $BINARIES_DIR
+
+exit $?
OpenPOWER on IntegriCloud