summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/optmake.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spec/build/bsps/optmake.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/build/bsps/optmake.yml b/spec/build/bsps/optmake.yml
new file mode 100644
index 0000000000..3ef1b515af
--- /dev/null
+++ b/spec/build/bsps/optmake.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- script: |
+ def yesno(conf, enable):
+ if enable in conf.env.ENABLE:
+ return "yes"
+ return "no"
+ conf.env["RTEMS_HAS_MULTIPROCESSING"] = yesno(conf, "RTEMS_MULTIPROCESSING")
+ conf.env["RTEMS_HAS_NETWORKING"] = yesno(conf, "RTEMS_NETWORKING")
+ conf.env["RTEMS_HAS_POSIX_API"] = yesno(conf, "RTEMS_POSIX_API")
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+type: build