Skip to content

Commit dde721c

Browse files
rpardiniigorpecovnik
authored andcommitted
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
1 parent e01008b commit dde721c

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

config/sources/amd64.conf

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ declare -g KERNEL_BUILD_DTBS="no" # amd64 has no DTBs. that I know of.
2727
declare -g KERNEL_IMAGE_TYPE="${KERNEL_IMAGE_TYPE:-"bzImage"}"
2828
declare -g KERNEL_INSTALL_TYPE="${KERNEL_INSTALL_TYPE:-"install"}"
2929

30-
if [[ "$(uname -m)" == "aarch64" ]]; then
31-
# Allow building amd64 on aarch64, but using system toolchain only
32-
declare -g KERNEL_COMPILER="x86_64-linux-gnu-"
33-
declare -g UBOOT_COMPILER='x86_64-linux-gnu-'
34-
fi
30+
declare -g KERNEL_COMPILER="x86_64-linux-gnu-"
31+
declare -g UBOOT_COMPILER='x86_64-linux-gnu-'
3532

3633
true # make sure to exit with 0 status; this protects against shortcircuits etc above.

0 commit comments

Comments
 (0)