MakeBuildrootEnv.sh 408 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. PSGWRKDIR=`pwd`
  3. cd ..
  4. rm -rf buildroot
  5. git clone git://git.buildroot.net/buildroot
  6. cd buildroot
  7. git checkout 2021.11.3
  8. #==== Patches
  9. for i in ../PSG/patches/*.patch
  10. do
  11. echo "==Apply patch : <$i> =="
  12. patch -p1 < $i
  13. done
  14. #----
  15. chmod a+x *.sh
  16. cp ../PSG/configs/* ./configs
  17. git add .
  18. git commit -m "PSG wrk changes and setup"
  19. make BR2_EXTERNAL=../PSG iot2050_defconfig
  20. cd $PSGWRKDIR