Make-bb-kernel.sh 534 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. GFAWRKDIR=`pwd`
  3. cd ..
  4. rm -rf buildroot
  5. git clone https://gogs.reru.org/PUBLIC_REPOS/buildroot.git ./buildroot
  6. cd buildroot
  7. ##git checkout fa3267bd460095eb9e1478b27d9cb8fa80f96163
  8. git checkout 2021.08
  9. ##git checkout 0bec4c8a4a90cde57ccd46dcad4b9a860c71ffde
  10. #
  11. for i in ../GfA/patches/*.patch
  12. do
  13. echo "==Apply patch : <$i> =="
  14. patch -p1 < $i
  15. done
  16. chmod a+x *.sh
  17. cp ../GfA/configs/* ./configs
  18. git add .
  19. git commit -m "GfA wrk changes and setup"
  20. make BR2_EXTERNAL=../GfA SOPINEA64_L50_Qt5.15_defconfig
  21. cd $GFAWRKDIR
  22. #------