[examples-v2 commit] Convert misc/minimum example to Waf.
Gedare Bloom
gedare at rtems.org
Thu Dec 12 19:49:54 UTC 2013
Module: examples-v2
Branch: master
Commit: 6bfcd330b43ea3d7d805f5394e4d9f4d125cc642
Changeset: http://git.rtems.org/examples-v2/commit/?id=6bfcd330b43ea3d7d805f5394e4d9f4d125cc642
Author: Bryan Dunsmore <dunsmoreb at gmail.com>
Date: Sat Nov 30 09:02:57 2013 -0500
Convert misc/minimum example to Waf.
---
misc/minimum/wscript | 15 +++++++++++++++
misc/wscript | 9 +++++++++
wscript | 1 +
3 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/misc/minimum/wscript b/misc/minimum/wscript
new file mode 100644
index 0000000..f39cd05
--- /dev/null
+++ b/misc/minimum/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 = 'minimum',
+ source = ['test.c'])
+
diff --git a/misc/wscript b/misc/wscript
new file mode 100644
index 0000000..ad1b7a6
--- /dev/null
+++ b/misc/wscript
@@ -0,0 +1,9 @@
+# Copyright 2013 Gedare Bloom (gedare at rtems.org)
+#
+# This file's license is 2-clause BSD as in this distribution's LICENSE.2 file.
+#
+
+import rtems_waf.rtems as rtems
+
+def build(bld):
+ bld.recurse('minimum')
diff --git a/wscript b/wscript
index 43e870d..dd50cb2 100644
--- a/wscript
+++ b/wscript
@@ -39,6 +39,7 @@ def build(bld):
bld.recurse('ticker')
bld.recurse('uboot')
bld.recurse('led')
+ bld.recurse('misc')
def rebuild(ctx):
import waflib.Options
More information about the vc
mailing list