kumquat-buildroot/board/technologic/ts4800/post-image.sh
Arnout Vandecappelle 31be2ec220 boards: replace $HOST_DIR/usr/ with $HOST_DIR/ in scripts
Since things are no longer installed in $(HOST_DIR)/usr, the callers
should also not refer to it.

This is a mechanical change with
git grep -l 'HOST_DIR}\?/usr/' board | xargs sed -i 's%\(HOST_DIR}\?\)/usr/%\1/%g'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-05 15:23:13 +02:00

20 lines
432 B
Bash
Executable File

#!/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}/bin/genimage \
--config ${GENIMAGE_CFG} \
--rootpath ${TARGET_DIR} \
--tmppath ${GENIMAGE_TMP} \
--inputpath $BINARIES_DIR \
--outputpath $BINARIES_DIR
exit $?