[examples-v2 commit] hello: simplify wscript and fix authorship copyrights

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


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

Author:    Gedare Bloom <gedare at rtems.org>
Date:      Mon Nov 25 16:51:35 2013 -0500

hello: simplify wscript and fix authorship copyrights

---

 hello/hello_world_c/wscript |   21 ++-------------------
 hello/wscript               |    2 +-
 2 files changed, 3 insertions(+), 20 deletions(-)

diff --git a/hello/hello_world_c/wscript b/hello/hello_world_c/wscript
index 74e191b..a896051 100644
--- a/hello/hello_world_c/wscript
+++ b/hello/hello_world_c/wscript
@@ -1,32 +1,15 @@
-# Copyright 2013 Chris Johns (chrisj at rtems.org)
-# 
+# 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
 
-version = "1.0.0"
-
 def build(bld):
     rtems.build(bld)
 
-    arch_bsp = bld.get_env()['RTEMS_ARCH_BSP']
-    arch = bld.get_env()['RTEMS_ARCH']
-    bsp = bld.get_env()['RTEMS_BSP']
-    cflags = bld.get_env()['CFLAGS']
-
-    #
-    # The include paths and defines.
-    #
-    bld.includes = ['.']
-    bld.defines = ['PACKAGE_VERSION="' + version + '"']
-
     bld(features = 'c cprogram',
         target = 'hello',
-        includes = bld.includes,
-        defines = bld.defines,
-        cflags = cflags,
         source = ['test.c'])
 
diff --git a/hello/wscript b/hello/wscript
index 69ced42..1653dff 100644
--- a/hello/wscript
+++ b/hello/wscript
@@ -1,4 +1,4 @@
-# Copyright 2013 Chris Johns (chrisj at rtems.org)
+# Copyright 2013 Gedare Bloom (gedare at rtems.org)
 #
 # This file's license is 2-clause BSD as in this distribution's LICENSE.2 file.
 #




More information about the vc mailing list