[examples-v2 commit] misc: adamain: Add support for building waf

Gedare Bloom gedare at rtems.org
Thu Dec 12 19:49:55 UTC 2013


Module:    examples-v2
Branch:    master
Commit:    154b0723d3a5093e12b8ff4defabd46902979439
Changeset: http://git.rtems.org/examples-v2/commit/?id=154b0723d3a5093e12b8ff4defabd46902979439

Author:    Chirayu Desai <cdesai at cyanogenmod.org>
Date:      Wed Dec  4 22:44:19 2013 +0530

misc: adamain: Add support for building waf

But do not build it by default yet.
Also see commit 9dd07ee6bb99bf57e7a9b5fb819dad88f2657ac4

---

 misc/adamain/wscript |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/misc/adamain/wscript b/misc/adamain/wscript
new file mode 100644
index 0000000..0f9d312
--- /dev/null
+++ b/misc/adamain/wscript
@@ -0,0 +1,14 @@
+# 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 = 'adamain.exe',
+        source = ['adacode.c', 'rtems_init.c'])




More information about the vc mailing list