download.sh 656 B

12345678910111213141516171819202122232425262728
  1. #!/bin/bash
  2. DEPS_ROOT=$(cd "$(dirname "$0")/" && pwd)
  3. cd ${DEPS_ROOT}
  4. if [ ! -d "lvgl" ]; then
  5. echo "git pull lvgl..."
  6. git clone https://github.com/littlevgl/lvgl.git --branch v6.0.1
  7. [ $? -eq 0 ] || exit $?
  8. ../app-framework/wgl/app/prepare_headers.sh
  9. fi
  10. if [ ! -d "lv_drivers" ]; then
  11. echo "git pull lv_drivers..."
  12. git clone https://github.com/littlevgl/lv_drivers.git --branch v6.0.1
  13. [ $? -eq 0 ] || exit $?
  14. fi
  15. if [ ! -d "tlsf" ]; then
  16. echo "git pull tlsf..."
  17. git clone https://github.com/mattconte/tlsf
  18. [ $? -eq 0 ] || exit $?
  19. #cd ${WAMR_DIR}/core/shared/mem-alloc
  20. fi
  21. exit 0