mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
x86_64: allow specifying alternative compilers via CROSSDEV, rather than restricting to specific compiler
Test: git clone -b dev -depth 1 https://github.com/open-vela/prebuilts_gcc_windows-x86_64_x86_64-none-elf.git ${HOME}/x86_64-none-elf export CROSSDEV=${HOME}/x86_64-none-elf/bin/x86_64-none-elf- ./tools/configure.sh -l qemu-intel64:nsh make Output: Create version.h LN: platform/board to /home/shanmin/git/nuttx-apps/platform/dummy Register: hello Register: dd Register: nsh Register: sh Register: ostest LD: nuttx Signed-off-by: Shanmin Zhang <zhangshanmin@xiaomi.com>
This commit is contained in:
committed by
Xiang Xiao
parent
57d5d87d46
commit
5a91b1b0ee
@@ -79,11 +79,11 @@ LLVM_ABITYPE := sysv
|
||||
# Cygwin toolchains don't generate ELF binaries.
|
||||
|
||||
ifeq ($(CONFIG_WINDOWS_CYGWIN),y)
|
||||
CROSSDEV = i486-nuttx-elf-
|
||||
CROSSDEV ?= i486-nuttx-elf-
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_HOST_MACOS),y)
|
||||
CROSSDEV = x86_64-elf-
|
||||
CROSSDEV ?= x86_64-elf-
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_CXX_STANDARD),)
|
||||
|
||||
Reference in New Issue
Block a user