On 24/11/18 6:55 pm, Vijay Kumar Banerjee wrote:
> 
>     OK, we just need a patch. :)
> 
> this worked
> ========================
> diff --git a/tester/covoar/wscript b/tester/covoar/wscript
> index d447117..bf70bfb 100644
> --- a/tester/covoar/wscript
> +++ b/tester/covoar/wscript
> @@ -125,6 +125,7 @@ def build(bld):
>      bld.program(target = 'covoar',
>                  source = ['covoar.cc'],
>                  use = ['ccovoar'] + modules,
> +                install_path = bld.srcnode.abspath() + '/tester/bin',
>                  cflags = ['-O2', '-g'],
>                  cxxflags = ['-std=c++11', '-O2', '-g'],
>                  includes = ['.'] + rtl_includes)
> 
> ======================== 
> 
> since there's a bin folder being created as a result, do we include bin in
> .gitignore ?
> 

No please do not add and this is the wrong spot to install too. Installing is to
under the prefix passed on the waf's configure command line and not the source
directory.

The spot to change is here:

 https://git.rtems.org/rtems-tools/tree/tester/rt/coverage.py#n303

and in the wscript using something like:

 install_path = '${PREFIX}/share/rtems/tester/bin'

Chris
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to