summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uboot/uboot_getenv/wscript15
-rw-r--r--uboot/wscript10
-rw-r--r--wscript1
3 files changed, 26 insertions, 0 deletions
diff --git a/uboot/uboot_getenv/wscript b/uboot/uboot_getenv/wscript
new file mode 100644
index 0000000..21c128a
--- /dev/null
+++ b/uboot/uboot_getenv/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 = 'uboot_getenv',
+ source = ['test.c'])
+
diff --git a/uboot/wscript b/uboot/wscript
new file mode 100644
index 0000000..cf7f95d
--- /dev/null
+++ b/uboot/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('uboot_getenv')
+
diff --git a/wscript b/wscript
index ddc9fa4..b9c214b 100644
--- a/wscript
+++ b/wscript
@@ -37,6 +37,7 @@ def build(bld):
bld.recurse('classic_api')
bld.recurse('file_io')
bld.recurse('ticker')
+ bld.recurse('uboot')
def rebuild(ctx):
import waflib.Options