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

Harinder Singh Dhanoa (@hsd1807) gitlab at rtems.org
Thu Mar 27 12:01:22 UTC 2025




Harinder Singh Dhanoa commented on a discussion on misc/bin2c/rtems-bin2c.c: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/58#note_121852

 >        exit(1);
 >      }
 >    }
 > +  
 > +  /* Read license header if specified */
 > +  const char *defaultbsdlicense = 
 > +    "/*\n"
 > +      " * SPDX-License-Identifier: BSD-2-Clause\n"
 > +      " *\n"
 > +      " * Copyright (c) 2025, Harinder Singh Dhanoa\n"
 > +      " * All rights reserved.\n"

I didn't knew about this template, I saw that line in some images when I was searching on Google, like here https://imgv2-1-f.scribdassets.com/img/document/211067596/original/bd00d8793f/1?v=1. Anyways, removed that.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/58#note_121852
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/20250327/fa5192a3/attachment.htm>


More information about the bugs mailing list