toolchain/toolchain-external: add support for D language
authorEric Le Bihan <eric.le.bihan.dev@free.fr>
Thu, 24 Oct 2019 18:16:21 +0000 (20:16 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 25 Oct 2019 17:27:44 +0000 (19:27 +0200)
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
toolchain/toolchain-external/pkg-toolchain-external.mk
toolchain/toolchain-external/toolchain-external-custom/Config.in.options

index 5eecd2a269b71a2336722f1f06c6eb55765d3c38..5147da01047a8d6bb352881a09d3b69e76b09d77 100644 (file)
@@ -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))
 
 
index 83d9ed61d7e0beaeacc65c35ab54576e96955760..a36747f4906867d7ce09417570ec214673194cb4 100644 (file)
@@ -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