[examples-v2 commit] misc: bspcmdline: Add support to build with waf

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


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

Author:    Chirayu Desai <cdesai at cyanogenmod.org>
Date:      Sat Nov 30 23:41:41 2013 +0530

misc: bspcmdline: Add support to build with waf

Add wscript to support building with waf

---

 misc/bspcmdline/wscript |   15 +++++++++++++++
 misc/wscript            |    1 +
 2 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/misc/bspcmdline/wscript b/misc/bspcmdline/wscript
new file mode 100644
index 0000000..6d2cd95
--- /dev/null
+++ b/misc/bspcmdline/wscript
@@ -0,0 +1,15 @@
+# Copyright 2013 Gedare Bloom (gedare at rtems.org)
+#
+# This file's license is 2-clause BSD as in this distribution's LICENSE.2 file.
+#
+
+# Waf build script for an RTEMS Hello
+import rtems_waf.rtems as rtems
+
+def build(bld):
+    rtems.build(bld)
+
+    bld(features = 'c cprogram',
+        target = 'bspcmdline.exe',
+        source = ['test.c'])
+
diff --git a/misc/wscript b/misc/wscript
index 7439794..1315d7e 100644
--- a/misc/wscript
+++ b/misc/wscript
@@ -11,3 +11,4 @@ def build(bld):
     bld.recurse('minimum')
     if (arch == 'i386'):
         bld.recurse('x86_display_cpu')
+    bld.recurse('bspcmdline')




More information about the vc mailing list