crosscompile pbp kernel script: (configure VARS for your own usage)
Quote:#!/bin/sh
### LINUX-PINEBOOK-PRO-GIT-CROSSCOMPILE v0.20200607.1701
# execute in clean kernel source directory after placing your .config and applying any patches
## VARS
BUILDCONFIG="ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu-"
KERNELCONFIG="INITRD=yes KBUILD_IMAGE=arch/arm64/boot/Image"
GCCARMDIR=/usr/local/linaro-arm-gcc9
NPROC=10
TCPU=cortex-a72.cortex-a53
TOPTS=+crypto+crc
TARCH=armv8-a
## USE LINARO ARM GCC
# https://developer.arm.com/tools-and-soft.../downloads
# https://developer.arm.com/-/media/Files/...gnu.tar.xz
# untar to GCCARMDIR
export PATH=$GCCARMDIR/bin:$PATH
## CONFIGURE
make -j $NPROC $BUILDCONFIG oldconfig
make -j $NPROC $BUILDCONFIG menuconfig
## BUILD
KCFLAGS="-O2 -pipe -march=$TARCH$TOPTS -mcpu=$TCPU -mtune=$TCPU" \
KCPPFLAGS="-O2 -pipe -march=$TARCH$TOPTS -mcpu=$TCPU -mtune=$TCPU" \
make -j $NPROC $BUILDCONFIG $KERNELCONFIG bindeb-pkg
## EXIT
exit
## INSTALL
# move to pinebook pro and install manually via dpkg
## ENJOY