config: arch: amd64: always use x86_64-linux-gnu- for x86 stuff
- it doesn't matter on what it is running, it's always the same compiler
This commit is contained in:
parent
e01008b607
commit
dde721c3ea
@ -27,10 +27,7 @@ declare -g KERNEL_BUILD_DTBS="no" # amd64 has no DTBs. that I know of.
|
||||
declare -g KERNEL_IMAGE_TYPE="${KERNEL_IMAGE_TYPE:-"bzImage"}"
|
||||
declare -g KERNEL_INSTALL_TYPE="${KERNEL_INSTALL_TYPE:-"install"}"
|
||||
|
||||
if [[ "$(uname -m)" == "aarch64" ]]; then
|
||||
# Allow building amd64 on aarch64, but using system toolchain only
|
||||
declare -g KERNEL_COMPILER="x86_64-linux-gnu-"
|
||||
declare -g UBOOT_COMPILER='x86_64-linux-gnu-'
|
||||
fi
|
||||
declare -g KERNEL_COMPILER="x86_64-linux-gnu-"
|
||||
declare -g UBOOT_COMPILER='x86_64-linux-gnu-'
|
||||
|
||||
true # make sure to exit with 0 status; this protects against shortcircuits etc above.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user