Skip to content

Commit

Permalink
My board, no ccache
Browse files Browse the repository at this point in the history
  • Loading branch information
BtbN committed Oct 4, 2024
1 parent b3d80c7 commit 5dcdf86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ builddir=../build
ramdisksize=4G
#numproc=8

board=bpi-r2
#board=bpi-r2
#board=bpi-r64
#board=bpi-r2pro
#board=bpi-r3
#board=bpi-r4
board=bpi-r4

#r64 with rtl8367
#boardversion=v0.1
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ hostarch=$(uname -m) #r64:aarch64 r2: armv7l
if [[ ! $hostarch =~ aarch64|armv ]];then
if [[ "$ARCH" == "arm64" ]]; then
if [[ -z "$(which aarch64-linux-gnu-gcc)" ]];then echo "please install gcc-aarch64-linux-gnu";exit 1;fi
export CROSS_COMPILE='ccache aarch64-linux-gnu-'
export CROSS_COMPILE='aarch64-linux-gnu-'
elif [[ "$ARCH" == "arm" ]]; then
if [[ -z "$(which arm-linux-gnueabihf-gcc)" ]];then echo "please install gcc-arm-linux-gnueabihf";exit 1;fi
export CROSS_COMPILE='ccache arm-linux-gnueabihf-'
export CROSS_COMPILE='arm-linux-gnueabihf-'
fi

crosscompile=1
Expand Down

0 comments on commit 5dcdf86

Please sign in to comment.