Re: [Xen-devel] [XEN PATCH 5/8] xen: Import cc-ifversion from Kbuild

2019-12-12 Thread Andrew Cooper
On 12/12/2019 18:27, Anthony PERARD wrote: > This is in preparation of importing Kbuild to build Xen. We won't be > able to include Config.mk so we will need a replacement for the macro > `cc-ifversion'. > > This patch imports parts of "scripts/Kbuild.include" from Linux v5.4, > the macro

[Xen-devel] [XEN PATCH 5/8] xen: Import cc-ifversion from Kbuild

2019-12-12 Thread Anthony PERARD
This is in preparation of importing Kbuild to build Xen. We won't be able to include Config.mk so we will need a replacement for the macro `cc-ifversion'. This patch imports parts of "scripts/Kbuild.include" from Linux v5.4, the macro cc-ifversion. It makes use of CONFIG_GCC_VERSION that Kconfig