MakeBuildrootEnv.sh 427 B

1234567891011121314151617
  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 gfawrk
  8. git checkout master -b gfawrk
  9. #==== Patches
  10. patch -p1 < ../PSG/001-PSG_add_CrossCompile_sh.patch
  11. #
  12. chmod a+x *.sh
  13. cp ../PSG/configs/* ./configs
  14. git add .
  15. git commit -m "PSG wrk changes and setup"
  16. make BR2_EXTERNAL=../PSG iot2000_defconfig
  17. cd $PSGWRKDIR