|
@@ -39,8 +39,9 @@ endif
|
|
# Compute GNU_TARGET_NAME
|
|
# Compute GNU_TARGET_NAME
|
|
GNU_TARGET_NAME = $(ARCH)-$(TARGET_VENDOR)-$(TARGET_OS)-$(LIBC)$(ABI)
|
|
GNU_TARGET_NAME = $(ARCH)-$(TARGET_VENDOR)-$(TARGET_OS)-$(LIBC)$(ABI)
|
|
|
|
|
|
-# FLAT binary format needs uclinux
|
|
|
|
-ifeq ($(BR2_BINFMT_FLAT),y)
|
|
|
|
|
|
+# FLAT binary format needs uclinux, except RISC-V 64-bits which needs
|
|
|
|
+# the regular linux name.
|
|
|
|
+ifeq ($(BR2_BINFMT_FLAT):$(BR2_RISCV_64),y:)
|
|
TARGET_OS = uclinux
|
|
TARGET_OS = uclinux
|
|
else
|
|
else
|
|
TARGET_OS = linux
|
|
TARGET_OS = linux
|