How to add a dependency on start.o to the test executables in waf?

Chris Johns chrisj at rtems.org
Fri Oct 25 05:33:38 UTC 2019


On 25/10/19 4:26 pm, Sebastian Huber wrote:
> On 25/10/2019 07:18, Sebastian Huber wrote:
>>>
>>>> How can I add a dependency on start.o to the test executables? I tried several
>>>> variants of bld.add_manual_dependency(), but nothing worked.
>>>
>>> I am not sure, I would need to have a close look at how the test stuff is being
>>> put together. I cannot see where start.o in the bld statement.
>>>
>>> Is start.o treated in a special way, maybe hidden when linking in the linker
>>> command?
>>
>> The start.o is a start file and not a normal object. It is added either
>> through the GCC specs or the linker command file STARTUP() directive.
> 
> The dependency tracking for start.o is a nice to have feature. The current build
> system also lacks support for it.

Then I would leave a comment and move on. Getting it perfect first time leaves
us with nothing to do ;) ;)

Chris


More information about the devel mailing list