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}
14 --rootpath "${TARGET_DIR}" \
15 --tmppath "${GENIMAGE_TMP}" \
16 --inputpath "${BINARIES_DIR}" \
17 --outputpath "${BINARIES_DIR}" \
18 --config "${GENIMAGE_CFG}"