31be2ec220
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>
20 lines
432 B
Bash
Executable File
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 $?
|