[examples-v2 commit] Convert ticker example to use Waf.
Gedare Bloom
gedare at rtems.org
Thu Dec 12 19:49:53 UTC 2013
Module: examples-v2
Branch: master
Commit: dbda7c5510dbc569a35464e61ff75d2e51958c41
Changeset: http://git.rtems.org/examples-v2/commit/?id=dbda7c5510dbc569a35464e61ff75d2e51958c41
Author: Bryan Dunsmore <dunsmoreb at gmail.com>
Date: Thu Nov 28 09:58:46 2013 -0500
Convert ticker example to use Waf.
---
ticker/low_ticker/wscript | 15 +++++++++++++++
ticker/low_ticker1/wscript | 15 +++++++++++++++
ticker/low_ticker2/wscript | 15 +++++++++++++++
ticker/ticker/wscript | 15 +++++++++++++++
ticker/wscript | 10 ++++++++++
wscript | 1 +
6 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/ticker/low_ticker/wscript b/ticker/low_ticker/wscript
new file mode 100644
index 0000000..0b9d795
--- /dev/null
+++ b/ticker/low_ticker/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 = 'low_ticker',
+ source = ['init.c'])
+
diff --git a/ticker/low_ticker1/wscript b/ticker/low_ticker1/wscript
new file mode 100644
index 0000000..2c11622
--- /dev/null
+++ b/ticker/low_ticker1/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 = 'low_ticker1',
+ source = ['init.c'])
+
diff --git a/ticker/low_ticker2/wscript b/ticker/low_ticker2/wscript
new file mode 100644
index 0000000..c126578
--- /dev/null
+++ b/ticker/low_ticker2/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 = 'low_ticker2',
+ source = ['init.c'])
+
diff --git a/ticker/ticker/wscript b/ticker/ticker/wscript
new file mode 100644
index 0000000..fbba4d3
--- /dev/null
+++ b/ticker/ticker/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 = 'ticker',
+ source = ['init.c'])
+
diff --git a/ticker/wscript b/ticker/wscript
new file mode 100644
index 0000000..d35629e
--- /dev/null
+++ b/ticker/wscript
@@ -0,0 +1,10 @@
+# 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(['ticker', 'low_ticker', 'low_ticker1', 'low_ticker2'])
+
diff --git a/wscript b/wscript
index 347f8fa..ddc9fa4 100644
--- a/wscript
+++ b/wscript
@@ -36,6 +36,7 @@ def build(bld):
bld.recurse('filesystem/fat_ramdisk')
bld.recurse('classic_api')
bld.recurse('file_io')
+ bld.recurse('ticker')
def rebuild(ctx):
import waflib.Options
More information about the vc
mailing list