Make-bb-kernel_Qt5.7.sh 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/bin/bash
  2. #-- build kernelsources from RCN Repos
  3. #--
  4. GFAWRKDIR=`pwd`
  5. cd ..
  6. rm -rf bb-kernel
  7. git clone https://github.com/RobertCNelson/bb-kernel
  8. cd bb-kernel
  9. git checkout -b GfA 4.4.104-bone-rt-r21
  10. # -- patch kernelbuild
  11. patch -p1 < ../GfA/build_kernel_44104rt.sh.patch
  12. #---------------------------------
  13. ./build_kernel.sh
  14. cd $GFAWRKDIR
  15. rm ~/buildroot_dl/GfAkernel57.tar.gz
  16. rm GfAkernel57.tar.gz
  17. tar -C ../bb-kernel/KERNEL --exclude=./.config --exclude=./.git -czvf GfAkernel57.tar.gz ./
  18. #--
  19. #--
  20. #!/bin/bash
  21. GFAWRKDIR=`pwd`
  22. cd ..
  23. rm -rf buildroot57
  24. git clone git://git.buildroot.net/buildroot ./buildroot57
  25. cd buildroot57
  26. git checkout 63a20d5dfebe83e2b2bd683dc78ebdf787dff100 -b gfawrk
  27. patch -p1 < ../GfA/patches/0001-GfA-wrk-changes-and-setup.patch
  28. patch -p1 < ../GfA/patches/0002-mysql-add-innodb-engine-to-package.patch
  29. patch -p1 < ../GfA/patches/0003-add-SW_IO1-to-SW_IO4-to-headers-and-evtest.patch
  30. patch -p1 < ../GfA/patches/0004-libmodbus-GfA-fflush-for-debug.patch
  31. patch -p1 < ../GfA/patches/0005-GfA-empty-input-queue-on-CRC-error.patch
  32. #
  33. chmod a+x *.sh
  34. cp ../GfA/configs/* ./configs
  35. git add .
  36. git commit -m "GfA wrk changes and setup"
  37. make BR2_EXTERNAL=../GfA Display001_4.4.104_rt21_Qt5.7_defconfig
  38. cd $GFAWRKDIR
  39. #------