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>
This commit is contained in:
Eric Le Bihan 2019-10-24 20:16:21 +02:00 committed by Thomas Petazzoni
parent 961de2062e
commit aa12b06b60
2 changed files with 11 additions and 0 deletions

View File

@ -152,6 +152,10 @@ ifeq ($(BR2_TOOLCHAIN_HAS_OPENMP),y)
TOOLCHAIN_EXTERNAL_LIBS += libgomp.so.* TOOLCHAIN_EXTERNAL_LIBS += libgomp.so.*
endif 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)) TOOLCHAIN_EXTERNAL_LIBS += $(call qstrip,$(BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS))

View File

@ -415,6 +415,13 @@ config BR2_TOOLCHAIN_EXTERNAL_CXX
support. If you don't know, leave the default value, support. If you don't know, leave the default value,
Buildroot will tell you if it's correct or not. 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 config BR2_TOOLCHAIN_EXTERNAL_FORTRAN
bool "Toolchain has Fortran support?" bool "Toolchain has Fortran support?"
select BR2_TOOLCHAIN_HAS_FORTRAN select BR2_TOOLCHAIN_HAS_FORTRAN