MakeBuildrootEnv.sh 479 B

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