toolchain-external: add fortran support option for custom external toolchains
authorRomain Naour <romain.naour@gmail.com>
Sat, 14 Jul 2018 17:15:42 +0000 (19:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 20 Oct 2018 18:27:45 +0000 (20:27 +0200)
If a custom external toolchain is used, we can't enable the fortran
support. Add a new option for that.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
toolchain/toolchain-external/toolchain-external-custom/Config.in.options

index 4639232bfbaec5831fa39114fe4032b7d8de6213..8665d2e2a7340c007236c7ac4bbd1bda91ae673f 100644 (file)
@@ -405,6 +405,14 @@ 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_FORTRAN
+       bool "Toolchain has Fortran support?"
+       select BR2_TOOLCHAIN_HAS_FORTRAN
+       help
+         Select this option if your external toolchain has Fortran
+         support. If you don't know, leave the default value,
+         Buildroot will tell you if it's correct or not.
+
 config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
        string "Extra toolchain libraries to be copied to target"
        help