summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2013-11-25 16:51:35 -0500
committerGedare Bloom <gedare@rtems.org>2013-12-12 14:55:54 -0500
commit065fcefabd1a49fe7d4cb16a659088bb503a5e42 (patch)
treecfb6da01af1a6d54058e563bb633ecdb328d850b
parente966c73efaf30c5eb13a7d0260b4bf324bdffaea (diff)
hello: simplify wscript and fix authorship copyrights
-rw-r--r--hello/hello_world_c/wscript21
-rw-r--r--hello/wscript2
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@rtems.org)
-#
+# 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
-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@rtems.org)
+# Copyright 2013 Gedare Bloom (gedare@rtems.org)
#
# This file's license is 2-clause BSD as in this distribution's LICENSE.2 file.
#