[PATCH rtems-examples 3/6] led/wscript: POSIX threads does not require POSIX enabled

Joel Sherrill joel at rtems.org
Sun Apr 23 20:44:45 UTC 2023


---
 led/wscript | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/led/wscript b/led/wscript
index edccad5..b10d4e8 100644
--- a/led/wscript
+++ b/led/wscript
@@ -15,12 +15,11 @@ def build(bld):
     bld.recurse('timeout_event')
     bld.recurse('ratemon1')
     bld.recurse('ratemon2')
-    if rtems.check_posix(bld):
-        bld.recurse('ratemon_cond_server')
-        bld.recurse('posix_cond_server')
-        bld.recurse('posix_delay_nanosleep')
-        bld.recurse('posix_delay_sleep')
-        bld.recurse('posix_mutex_server')
-        # This test requires POSIX and C++
-        if bld.env['CXX'] is not None:
-            bld.recurse('complex1')
+    bld.recurse('ratemon_cond_server')
+    bld.recurse('posix_cond_server')
+    bld.recurse('posix_delay_nanosleep')
+    bld.recurse('posix_delay_sleep')
+    bld.recurse('posix_mutex_server')
+    # This test requires POSIX and C++
+    if bld.env['CXX'] is not None:
+      bld.recurse('complex1')
-- 
1.8.3.1



More information about the devel mailing list