aboutsummaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorGravatar Eric Le Bihan <eric.le.bihan.dev@free.fr>2019-10-24 20:16:21 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-10-25 19:27:44 +0200
commitaa12b06b6017b64caca4ccd420f826a395fdc66d (patch)
tree8fed219b77c582aacf3038c11e334e1100926c02 /toolchain
parent961de2062e6fa65b0dfa675e84570510664070bc (diff)
downloadbuildroot-aa12b06b6017b64caca4ccd420f826a395fdc66d.tar.gz
buildroot-aa12b06b6017b64caca4ccd420f826a395fdc66d.tar.bz2
toolchain/toolchain-external: add support for D language
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/toolchain-external/pkg-toolchain-external.mk4
-rw-r--r--toolchain/toolchain-external/toolchain-external-custom/Config.in.options7
2 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk
index 5eecd2a269..5147da0104 100644
--- a/toolchain/toolchain-external/pkg-toolchain-external.mk
+++ b/toolchain/toolchain-external/pkg-toolchain-external.mk
@@ -152,6 +152,10 @@ ifeq ($(BR2_TOOLCHAIN_HAS_OPENMP),y)
TOOLCHAIN_EXTERNAL_LIBS += libgomp.so.*
endif
+ifeq ($(BR2_TOOLCHAIN_HAS_DLANG),y)
+TOOLCHAIN_EXTERNAL_LIBS += libgdruntime.so* libgphobos.so*
+endif
+
TOOLCHAIN_EXTERNAL_LIBS += $(call qstrip,$(BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS))
diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
index 83d9ed61d7..a36747f490 100644
--- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
+++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
@@ -415,6 +415,13 @@ config BR2_TOOLCHAIN_EXTERNAL_CXX
support. If you don't know, leave the default value,
Buildroot will tell you if it's correct or not.
+config BR2_TOOLCHAIN_EXTERNAL_DLANG
+ bool "Toolchain has D support?"
+ select BR2_TOOLCHAIN_HAS_DLANG
+ help
+ Select this option if your external toolchain has D
+ support.
+
config BR2_TOOLCHAIN_EXTERNAL_FORTRAN
bool "Toolchain has Fortran support?"
select BR2_TOOLCHAIN_HAS_FORTRAN