RTEMS Tools | misc/bin2c/rtems-bin2c.c: Add feature to include license header in generated C files (!58)

Christian Mauderer (@c-mauderer) gitlab at rtems.org
Wed Mar 26 18:58:47 UTC 2025



Merge request https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/58 was reviewed by Christian Mauderer

--
  
Christian Mauderer started a new discussion on misc/bin2c/rtems-bin2c.c: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/58#note_121819

 > +      " * SPDX-License-Identifier: BSD-2-Clause\n"
 > +      " *\n"
 > +      " * Copyright (c) 2025, Harinder Singh Dhanoa\n"

Maybe here you shouldn't add a copyright line with you as the author or with a fixed year, except if you want to be the author of every file that is converted with this tool. It's hard to predict the author. So I maybe would just remove that line. Alternatively, something like `Copyright (C), RTEMS contributors` could be possible.

--
  
Christian Mauderer started a new discussion on misc/bin2c/rtems-bin2c.c: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/58#note_121820

 > +      " *\n"
 > +      " * Copyright (c) 2025, Harinder Singh Dhanoa\n"
 > +      " * All rights reserved.\n"

Where do you have the `All rights reserved` line from? The template in https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/LICENSE.md?ref_type=heads#bsd-2-clause doesn't have it.


-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/58
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/20250326/3da5d4ff/attachment-0001.htm>


More information about the bugs mailing list