#!/bin/bash #-- build kernelsources from RCN Repos #-- GFAWRKDIR=`pwd` cd .. rm -rf bb-kernel git clone https://github.com/RobertCNelson/bb-kernel cd bb-kernel git checkout -b GfA 4.4.104-bone-rt-r21 # -- patch kernelbuild patch -p1 < ../GfA/build_kernel_44104rt.sh.patch #--------------------------------- ./build_kernel.sh cd $GFAWRKDIR rm ~/buildroot_dl/GfAkernel57.tar.gz rm GfAkernel57.tar.gz tar -C ../bb-kernel/KERNEL --exclude=./.config --exclude=./.git -czvf GfAkernel57.tar.gz ./ #-- #-- #!/bin/bash GFAWRKDIR=`pwd` cd .. rm -rf buildroot57 git clone git://git.buildroot.net/buildroot ./buildroot57 cd buildroot57 git checkout 63a20d5dfebe83e2b2bd683dc78ebdf787dff100 -b gfawrk patch -p1 < ../GfA/patches/0001-GfA-wrk-changes-and-setup.patch patch -p1 < ../GfA/patches/0002-mysql-add-innodb-engine-to-package.patch patch -p1 < ../GfA/patches/0003-add-SW_IO1-to-SW_IO4-to-headers-and-evtest.patch patch -p1 < ../GfA/patches/0004-libmodbus-GfA-fflush-for-debug.patch patch -p1 < ../GfA/patches/0005-GfA-empty-input-queue-on-CRC-error.patch # chmod a+x *.sh cp ../GfA/configs/* ./configs git add . git commit -m "GfA wrk changes and setup" make BR2_EXTERNAL=../GfA Display001_4.4.104_rt21_Qt5.7_defconfig cd $GFAWRKDIR #------