summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Dunsmore <dunsmoreb@gmail.com>2013-11-29 23:49:15 -0500
committerGedare Bloom <gedare@rtems.org>2013-12-12 14:55:55 -0500
commita1525a741e84b8660e989e85652d9048669afc83 (patch)
treedfbd83feea613180ed31b97a91f81d6d0ccc078e
parent9df804f035840f22673f2e1f361d6622175cf370 (diff)
Convert led/ratemon2 example to Waf.
-rw-r--r--led/ratemon2/wscript15
-rw-r--r--led/wscript1
2 files changed, 16 insertions, 0 deletions
diff --git a/led/ratemon2/wscript b/led/ratemon2/wscript
new file mode 100644
index 0000000..9ac520f
--- /dev/null
+++ b/led/ratemon2/wscript
@@ -0,0 +1,15 @@
+# Copyright 2013 Gedare Bloom (gedare@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 = 'ratemon2',
+ source = ['init.c'])
+
diff --git a/led/wscript b/led/wscript
index 359a7f3..57d448a 100644
--- a/led/wscript
+++ b/led/wscript
@@ -14,3 +14,4 @@ def build(bld):
bld.recurse('event_server')
bld.recurse('timeout_event')
bld.recurse('ratemon1')
+ bld.recurse('ratemon2')