[PATCH 01/10] build: Generate build hash

Chris Johns chrisj at rtems.org
Thu Feb 25 23:22:38 UTC 2021


On 26/2/21 2:18 am, Sebastian Huber wrote:
> On 25/02/2021 09:42, Sebastian Huber wrote:
>>> Should we look to use a list that is contained? A list that effects the code on
>>> the target? In a purest sense a hash created from the CU pieces in all target
>>> libraries would be ideal however this is recursive.
>> This is a good idea. Maybe we should iterate over all start files and
>> libraries generated by the build and then create a hash of all executable
>> sections. Then we recompile one object with a command line define with the
>> build hash and replace this object in librtemscpu.a.
> I will drop for now the introduction of a rtems_get_build_hash() in favour of a
> rtems_get_build_label() since my waf skills are not good enough to do the above
> task.

Lets chip away at this. I think it is important.

Chris


More information about the devel mailing list