summaryrefslogtreecommitdiff
path: root/ticker
diff options
context:
space:
mode:
authorBryan Dunsmore <dunsmoreb@gmail.com>2013-11-28 09:58:46 -0500
committerGedare Bloom <gedare@rtems.org>2013-12-12 14:55:55 -0500
commitdbda7c5510dbc569a35464e61ff75d2e51958c41 (patch)
tree1c429a1ecd371ee725ddd90402ba9f0365275573 /ticker
parente1e8ba10317043ac8f768eb0dd611b2a3c013f7b (diff)
Convert ticker example to use Waf.
Diffstat (limited to 'ticker')
-rw-r--r--ticker/low_ticker/wscript15
-rw-r--r--ticker/low_ticker1/wscript15
-rw-r--r--ticker/low_ticker2/wscript15
-rw-r--r--ticker/ticker/wscript15
-rw-r--r--ticker/wscript10
5 files changed, 70 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@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@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@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@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@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'])
+