File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ crosscompile=0
1010if [[ -z $( cat /proc/cpuinfo | grep -i ' model name.*ArmV7' ) ]]; then
1111 if [[ -z " $( which arm-linux-gnueabihf-gcc) " ]]; then echo " please install gcc-arm-linux-gnueabihf" ; exit 1; fi
1212
13- export ARCH=arm; export CROSS_COMPILE=arm-linux-gnueabihf-
13+ export ARCH=arm; export CROSS_COMPILE=' ccache arm-linux-gnueabihf-'
1414 crosscompile=1
1515fi ;
1616
1717# Check Dependencies
1818PACKAGE_Error=0
19- for package in " u-boot-tools" " bc" " make" " gcc" " libc6-dev" " libncurses5-dev" " libssl-dev" " fakeroot" ; do
19+ for package in " u-boot-tools" " bc" " make" " gcc" " libc6-dev" " libncurses5-dev" " libssl-dev" " fakeroot" " ccache " ; do
2020 TESTPKG=$( dpkg -l | grep " \s${package} " )
2121 if [[ -z " ${TESTPKG} " ]]; then echo " please install ${package} " ; PACKAGE_Error=1; fi
2222done
127127 fakeroot dpkg-deb --build bananapi-r2-image ../debian
128128 cd ..
129129 ls -lh debian/* .deb
130- dpkg -c debian/bananapi-r2-image-${kernbranch} _${kernver} -1_armhf.deb
130+ dpkg -c debian/bananapi-r2-image-${kernbranch,, } _${kernver} -1_armhf.deb
131131 else
132132 echo " First build kernel ${ver} "
133133 echo " eg: ./build"
You can’t perform that action at this time.
0 commit comments