package/snappy: add .hash file
[buildroot-gz.git] / board / freescale / imx51evk / post-image.sh
blob87573557caa005c1554d1c5f4c0e885fff3eec20
1 #!/usr/bin/env bash
3 BOARD_DIR="$(dirname $0)"
4 GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
5 GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
7 rm -rf "${GENIMAGE_TMP}"
9 genimage \
10 --rootpath "${TARGET_DIR}" \
11 --tmppath "${GENIMAGE_TMP}" \
12 --inputpath "${BINARIES_DIR}" \
13 --outputpath "${BINARIES_DIR}" \
14 --config "${GENIMAGE_CFG}"
16 exit $?