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:
parent
57d5d87d46
commit
5a91b1b0ee
1 changed files with 2 additions and 2 deletions
|
|
@ -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),)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue