[examples-v2 commit] posix_api: Pass needed argument to posix check

Gedare Bloom gedare at rtems.org
Thu Dec 12 19:49:55 UTC 2013


Module:    examples-v2
Branch:    master
Commit:    f493f88ea5e4f1fb46d0cd8e3a4e0e05db25b1f0
Changeset: http://git.rtems.org/examples-v2/commit/?id=f493f88ea5e4f1fb46d0cd8e3a4e0e05db25b1f0

Author:    Chirayu Desai <cdesai at cyanogenmod.org>
Date:      Wed Dec  4 21:23:34 2013 +0530

posix_api: Pass needed argument to posix check

Fixes commit 579cc3c468c0dc923e37474e38c778bc2d085382

Traceback (most recent call last):
  File "/home/cdesai/bin/.waf-1.7.13-8c328f55ac27cdb03b8c949f189bbac3/waflib/Scripting.py", line 97, in waf_entry_point
    run_commands()
  File "/home/cdesai/bin/.waf-1.7.13-8c328f55ac27cdb03b8c949f189bbac3/waflib/Scripting.py", line 153, in run_commands
    ctx=run_command(cmd_name)
  File "/home/cdesai/bin/.waf-1.7.13-8c328f55ac27cdb03b8c949f189bbac3/waflib/Scripting.py", line 146, in run_command
    ctx.execute()
  File "/home/cdesai/bin/.waf-1.7.13-8c328f55ac27cdb03b8c949f189bbac3/waflib/Scripting.py", line 351, in execute
    return execute_method(self)
  File "/home/cdesai/bin/.waf-1.7.13-8c328f55ac27cdb03b8c949f189bbac3/waflib/Build.py", line 106, in execute
    self.execute_build()
  File "/home/cdesai/bin/.waf-1.7.13-8c328f55ac27cdb03b8c949f189bbac3/waflib/Build.py", line 109, in execute_build
    self.recurse([self.run_dir])
  File "/home/cdesai/bin/.waf-1.7.13-8c328f55ac27cdb03b8c949f189bbac3/waflib/Context.py", line 128, in recurse
    user_function(self)
  File "/home/cdesai/rtems/examples-v2/wscript", line 45, in build
    bld.recurse('posix_api')
  File "/home/cdesai/bin/.waf-1.7.13-8c328f55ac27cdb03b8c949f189bbac3/waflib/Context.py", line 128, in recurse
    user_function(self)
  File "/home/cdesai/rtems/examples-v2/posix_api/wscript", line 9, in build
    if rtems.check_posix():
TypeError: check_posix() takes exactly 1 argument (0 given)

---

 posix_api/wscript |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/posix_api/wscript b/posix_api/wscript
index 7f2e506..d0fe38a 100644
--- a/posix_api/wscript
+++ b/posix_api/wscript
@@ -6,7 +6,7 @@
 import rtems_waf.rtems as rtems
 
 def build(bld):
-    if rtems.check_posix():
+    if rtems.check_posix(bld):
         bld.recurse('psx_example_1')
         bld.recurse('psx_example_2')
         bld.recurse('psx_example_3')




More information about the vc mailing list