MakeBuildrootEnv.sh 514 B

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