kumquat-buildroot/board/via/imx6_vab820/post-image.sh

17 lines
325 B
Bash
Raw Normal View History

#!/bin/bash
GENIMAGE_CFG="board/via/imx6_vab820/genimage.cfg"
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
rm -rf "${GENIMAGE_TMP}"
genimage \
--rootpath "${TARGET_DIR}" \
--tmppath "${GENIMAGE_TMP}" \
--inputpath "${BINARIES_DIR}" \
--outputpath "${BINARIES_DIR}" \
--config "${GENIMAGE_CFG}"
RET=${?}
exit ${RET}