post-image.sh 416 B

123456789101112131415161718
  1. #!/bin/bash
  2. #
  3. # Copyright (C) 2015-2016 Savoir-Faire Linux
  4. # Post image generation script.
  5. BOARD_DIR="$(dirname $0)"
  6. GENIMAGE_CFG=$BOARD_DIR/genimage.cfg
  7. GENIMAGE_TMP=$BUILD_DIR/.genimage_tmp
  8. rm -rf $GENIMAGE_TMP
  9. ${HOST_DIR}/bin/genimage \
  10. --config ${GENIMAGE_CFG} \
  11. --rootpath $TARGET_DIR \
  12. --tmppath $GENIMAGE_TMP \
  13. --inputpath $BINARIES_DIR \
  14. --outputpath $BINARIES_DIR