RTEMS Source Builder | Draft: RSB modifications to install stdcxx.py in gdb/python/rtems (!35)

Chris Johns (@chris) gitlab at rtems.org
Wed Aug 14 01:33:48 UTC 2024




Chris Johns started a new discussion on source-builder/config/gcc-common-1.cfg: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/35#note_110934

 >  #
 >  %global _gcclibdir %{_prefix}/lib
 >  
 > +#
 > +# Path to source-builder/config. The _configdir macro contains 
 > +# 4 copies to the config inside source-builder/
 > +#
 > +%define sb_configdir %(echo %{_configdir} | cut -d':' -f1)

This will not work. You should not assume any order in that path or even need to parse it.

Why explicitly provide the path? The `%include` directive should search `%_confdir`?

I would have thought something like:

```
%define %include tools/rtems-install-stdcxx.cfg
```

should work?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/35#note_110934
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240814/47390aef/attachment-0001.htm>


More information about the bugs mailing list