MakeBuildrootEnv.sh 549 B

12345678910111213141516171819202122
  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 63a20d5dfebe83e2b2bd683dc78ebdf787dff100 -b psgwrk
  8. git checkout c4d26992560875930866a627cc936da2f938401b -b psgwrk
  9. #git checkout 2021.8.1 -b psgwrk
  10. #==== Patches
  11. for i in ../PSG/patches/*.patch
  12. do
  13. echo "==Apply patch : <$i> =="
  14. patch -p1 < $i
  15. done
  16. #----
  17. chmod a+x *.sh
  18. cp ../PSG/configs/* ./configs
  19. git add .
  20. git commit -m "PSG wrk changes and setup"
  21. make BR2_EXTERNAL=../PSG iot2000_defconfig
  22. cd $PSGWRKDIR