download.sh 470 B

1234567891011121314151617181920
  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/lvgl/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/lvgl/lv_drivers.git --branch v6.0.1
  13. [ $? -eq 0 ] || exit $?
  14. fi
  15. exit 0