Hi Gerd,

These patches are a great idea but I don't know if we can take GPLv2 code
like that. Are they even mergeable into the main edk2 repo (as it's not
compatible with BSD-2-clause)?

Thanks,
Pedro

On Mon, Apr 4, 2022 at 10:32 AM Gerd Hoffmann <kra...@redhat.com> wrote:

> The linux kernel has a bunch of useful macros to check whenever a given
> compiler supports specific flags.  Import them, adapt them for edk2, then
> put them into use to make both gcc5 and gcc12 work for BaseTools.
>
> Gerd Hoffmann (3):
>   BaseTools: import compiler check macros from linux kernel
>   BaseTools: adapt comniler checks mmacros for edk2
>   BaseTools: fix gcc workaround
>
>  BaseTools/Source/C/DevicePath/GNUmakefile     |  3 +-
>  .../Source/C/Makefiles/compiler.makefile      | 76 +++++++++++++++++++
>  2 files changed, 78 insertions(+), 1 deletion(-)
>  create mode 100644 BaseTools/Source/C/Makefiles/compiler.makefile
>
> --
> 2.35.1
>
>
>
> 
>
>
>

-- 
Pedro Falcato


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#88409): https://edk2.groups.io/g/devel/message/88409
Mute This Topic: https://groups.io/mt/90237796/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to