|
@@ -39,7 +39,13 @@ $(error BR2_TOOLCHAIN_BUILDROOT_VENDOR cannot be 'unknown'. \
|
|
endif
|
|
endif
|
|
|
|
|
|
# Compute GNU_TARGET_NAME
|
|
# Compute GNU_TARGET_NAME
|
|
|
|
+# FDPIC on ARM requires a special target name: it has no OS field and must
|
|
|
|
+# use the suffix -uclinuxfdpiceabi.
|
|
|
|
+ifeq ($(BR2_arm)$(BR2_armeb):$(BR2_BINFMT_FDPIC),y:y)
|
|
|
|
+GNU_TARGET_NAME = $(ARCH)-$(TARGET_VENDOR)-uclinuxfdpiceabi
|
|
|
|
+else
|
|
GNU_TARGET_NAME = $(ARCH)-$(TARGET_VENDOR)-$(TARGET_OS)-$(LIBC)$(ABI)
|
|
GNU_TARGET_NAME = $(ARCH)-$(TARGET_VENDOR)-$(TARGET_OS)-$(LIBC)$(ABI)
|
|
|
|
+endif
|
|
|
|
|
|
# FLAT binary format needs uclinux, except RISC-V which needs the
|
|
# FLAT binary format needs uclinux, except RISC-V which needs the
|
|
# regular linux name.
|
|
# regular linux name.
|