[examples-v2 commit] Convert led/delay example to Waf.
Gedare Bloom
gedare at rtems.org
Thu Dec 12 19:49:53 UTC 2013
Module: examples-v2
Branch: master
Commit: cb9155fa44190de52134cfe9a48372f1bd45fb2f
Changeset: http://git.rtems.org/examples-v2/commit/?id=cb9155fa44190de52134cfe9a48372f1bd45fb2f
Author: Bryan Dunsmore <dunsmoreb at gmail.com>
Date: Fri Nov 29 22:50:24 2013 -0500
Convert led/delay example to Waf.
---
led/delay/wscript | 15 +++++++++++++++
led/wscript | 1 +
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/led/delay/wscript b/led/delay/wscript
new file mode 100644
index 0000000..99b1aa8
--- /dev/null
+++ b/led/delay/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 = 'delay',
+ source = ['init.c'])
+
diff --git a/led/wscript b/led/wscript
index b6b37e7..e667d55 100644
--- a/led/wscript
+++ b/led/wscript
@@ -9,3 +9,4 @@ def build(bld):
bld.recurse('timer')
bld.recurse('sem_server')
bld.recurse('msg_server')
+ bld.recurse('delay')
More information about the vc
mailing list