MakeBuildrootEnv.sh 475 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. PSGWRKDIR=`pwd`
  3. cd ..
  4. rm -rf buildroot
  5. git clone https://github.com/buildroot/buildroot.git
  6. cd buildroot
  7. git checkout 2023.02.x
  8. #==== Patches
  9. for i in ../PSG/patches/*.patch
  10. do
  11. echo "==Apply patch : <$i> =="
  12. patch -p1 < $i
  13. git add .
  14. git commit -m "PSG Patch :<$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 iot2050_V2_defconfig
  22. cd $PSGWRKDIR