diff options
author | Bryan Dunsmore <dunsmoreb@gmail.com> | 2013-11-28 22:10:49 -0500 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2013-12-12 14:55:55 -0500 |
commit | 5f3cfe2cb56670465d82fef3f42bf37d44f35f82 (patch) | |
tree | 3c3e67dae3cb134086a94a589e17217b03aabfa0 /uboot | |
parent | Convert ticker example to use Waf. (diff) | |
download | rtems-examples-5f3cfe2cb56670465d82fef3f42bf37d44f35f82.tar.bz2 |
Convert uboot example to use Waf.
Diffstat (limited to 'uboot')
-rw-r--r-- | uboot/uboot_getenv/wscript | 15 | ||||
-rw-r--r-- | uboot/wscript | 10 |
2 files changed, 25 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') + |