diff options
author | Chirayu Desai <cdesai@cyanogenmod.org> | 2013-11-30 21:39:56 +0530 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2013-12-12 14:55:55 -0500 |
commit | 1d008f25037dba1203d1a94903c1386caf14c08b (patch) | |
tree | 1113143c3da30b4b29c1b156833ad03046896922 /benchmarks/nbench | |
parent | Convert misc/minimum example to Waf. (diff) | |
download | rtems-examples-1d008f25037dba1203d1a94903c1386caf14c08b.tar.bz2 |
benchmarks: Add support to build with waf
Add wscript(s) to support building benchmarks/nbench with waf
Diffstat (limited to 'benchmarks/nbench')
-rw-r--r-- | benchmarks/nbench/wscript | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/benchmarks/nbench/wscript b/benchmarks/nbench/wscript new file mode 100644 index 0000000..4675061 --- /dev/null +++ b/benchmarks/nbench/wscript @@ -0,0 +1,17 @@ +# 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): + + path = 'nbench-byte-2.2.3/' + + bld(features = 'c cprogram', + target = 'nbench.exe', + source = ['main.c', path + 'emfloat.c', path + 'hardware.c', + path + 'misc.c', path + 'nbench0.c', path + 'nbench1.c', + path + 'sysspec.c'], + lib = ['m']) |