Commit b745907c authored by Guido Gunther's avatar Guido Gunther

build_kernel_deb: Switch default to arm64

We only support a single armhf configuration but 3 arm64 ones.
parent 3d14eb80
...@@ -11,8 +11,9 @@ MAKE_OPTS="${MAKE_OPTS}" ...@@ -11,8 +11,9 @@ MAKE_OPTS="${MAKE_OPTS}"
set -u set -u
set -e set -e
CROSS_COMPILER=arm-linux-gnueabihf- CROSS_COMPILER=aarch64-linux-gnu-
ARCH=arm ARCH=arm64
COMPILER_ARCH="${ARCH}"
KERNEL_OUTPUT=../../files KERNEL_OUTPUT=../../files
CWD=`pwd` CWD=`pwd`
pureos_board=imx6 pureos_board=imx6
...@@ -47,6 +48,7 @@ case ${pureos_board} in ...@@ -47,6 +48,7 @@ case ${pureos_board} in
KERNEL_BRANCH=purism-nitrogen6_4.16.x KERNEL_BRANCH=purism-nitrogen6_4.16.x
KERNEL_REPO=https://source.puri.sm/Librem5/linux-nitrogen6.git KERNEL_REPO=https://source.puri.sm/Librem5/linux-nitrogen6.git
DOT_CONFIG=imx6_dot_config DOT_CONFIG=imx6_dot_config
CROSS_COMPILER=arm-linux-gnueabihf-
ARCH=arm ARCH=arm
COMPILER_ARCH=armhf COMPILER_ARCH=armhf
GIT_OPTS="--depth 1" GIT_OPTS="--depth 1"
...@@ -55,30 +57,21 @@ case ${pureos_board} in ...@@ -55,30 +57,21 @@ case ${pureos_board} in
imx8) imx8)
KERNEL_BRANCH=imx_4.9.51_imx8m_beta KERNEL_BRANCH=imx_4.9.51_imx8m_beta
KERNEL_REPO=https://source.codeaurora.org/external/imx/linux-imx.git KERNEL_REPO=https://source.codeaurora.org/external/imx/linux-imx.git
CROSS_COMPILER=aarch64-linux-gnu-
DOT_CONFIG=imx8_dot_config DOT_CONFIG=imx8_dot_config
ARCH=arm64
COMPILER_ARCH=arm64
GIT_OPTS="--depth 1" GIT_OPTS="--depth 1"
DTS_FILE="" DTS_FILE=""
;; ;;
ec-som) ec-som)
KERNEL_BRANCH=imx8-4.18-wip KERNEL_BRANCH=imx8-4.18-wip
KERNEL_REPO=https://source.puri.sm/Librem5/linux-emcraft.git KERNEL_REPO=https://source.puri.sm/Librem5/linux-emcraft.git
CROSS_COMPILER=aarch64-linux-gnu-
DOT_CONFIG=emcraft-som-imx8_defconfig DOT_CONFIG=emcraft-som-imx8_defconfig
ARCH=arm64
COMPILER_ARCH=arm64
GIT_OPTS="--depth 1" GIT_OPTS="--depth 1"
DTS_FILE="" DTS_FILE=""
;; ;;
devkit) devkit)
KERNEL_BRANCH=imx8-4.18-wip KERNEL_BRANCH=imx8-4.18-wip
KERNEL_REPO=https://source.puri.sm/Librem5/linux-emcraft.git KERNEL_REPO=https://source.puri.sm/Librem5/linux-emcraft.git
CROSS_COMPILER=aarch64-linux-gnu-
DOT_CONFIG=librem5-evk_defconfig DOT_CONFIG=librem5-evk_defconfig
ARCH=arm64
COMPILER_ARCH=arm64
GIT_OPTS="--depth 1" GIT_OPTS="--depth 1"
DTS_FILE="" DTS_FILE=""
;; ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment