summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Dunsmore <dunsmoreb@gmail.com>2013-11-29 20:18:59 -0500
committerGedare Bloom <gedare@rtems.org>2013-12-12 14:55:55 -0500
commitbe39b98e1d448d06c50e8b6c941447367c8d12bc (patch)
tree97af654f33448695c937ab6d7e49cb59c9e17e43
parent5f3cfe2cb56670465d82fef3f42bf37d44f35f82 (diff)
Convert led/timer example to Waf.
-rw-r--r--led/timer/wscript15
-rw-r--r--led/wscript10
-rw-r--r--wscript1
3 files changed, 26 insertions, 0 deletions
diff --git a/led/timer/wscript b/led/timer/wscript
new file mode 100644
index 0000000..585bd25
--- /dev/null
+++ b/led/timer/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 = 'timer',
+ source = ['init.c'])
+
diff --git a/led/wscript b/led/wscript
new file mode 100644
index 0000000..a5d1f33
--- /dev/null
+++ b/led/wscript
@@ -0,0 +1,10 @@
+# Copyright 2013 Gedare Bloom (gedare@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('timer')
+
diff --git a/wscript b/wscript
index b9c214b..43e870d 100644
--- a/wscript
+++ b/wscript
@@ -38,6 +38,7 @@ def build(bld):
bld.recurse('file_io')
bld.recurse('ticker')
bld.recurse('uboot')
+ bld.recurse('led')
def rebuild(ctx):
import waflib.Options