python-pathpy: new package
[buildroot-gz.git] / board / digilent / zybo / post-image.sh
blob619cb9019e4ef83fadaaad5481cc0261404a65aa
1 #!/bin/sh
3 BOARD_DIR="$(dirname $0)"
4 GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
5 GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
6 OUTPUT_DIR="${O}/images"
8 rm -rf "${GENIMAGE_TMP}"
10 cp board/digilent/zybo/uEnv.txt ${BINARIES_DIR}
11 cp board/digilent/zybo/system.bit ${BINARIES_DIR}
13 genimage \
14 --rootpath "${TARGET_DIR}" \
15 --tmppath "${GENIMAGE_TMP}" \
16 --inputpath "${BINARIES_DIR}" \
17 --outputpath "${BINARIES_DIR}" \
18 --config "${GENIMAGE_CFG}"