[PATCH] spec/libdebugger: Only enable for supported architectures

Chris Johns chrisj at rtems.org
Thu Oct 21 08:36:00 UTC 2021


Could you please answer the other parts of the email you cut because it would
help understand this stuff?

Specifically the opt* and user options. When is an option optional and when is
an option an option but not optional?

On 21/10/21 7:09 pm, Sebastian Huber wrote:
> On 21/10/2021 10:06, Chris Johns wrote:
>> KeyError: '/cpukit/optlibddebugger'
>>
>> You have to admit this is a horrible error message. It provides no insight into
>> problem or the solution.
> 
> Looks like a typo. Maybe use optlibdebugger?

Yes it was. Thanks. However I am still confused.

If I add optlibdebugger to cpuopts.yml which is:

 build-type: config-header

I would expect libdl and libdebugger to appear in cpuopts.h as enable variables
but they do not? Why are they in this YAML file?

The the libdebugger YAML file I need:

 enabled-by: BUILD_LIBDEBUGGER

or:

 enabled-by:
  - arm
  - i386

however `enabled-by` is not in:

https://docs.rtems.org/branches/master/eng/req/items.html#spectypebuildlibraryitemtype

Is it OK to do this?

It is great this is working but it is confusing understanding why and that means
it is hard to know what you can do and not do?

Chris


More information about the devel mailing list