(Actually CCing all that are CCed on patches)
On Fri, Jan 17, 2020 at 10:53:46AM +0000, Anthony PERARD wrote:
> Patch series available in this git branch:
> https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.build-system-xen-v2
>
> series is based on "[XEN PATCH v3 0/6] xen: Kconfig update with few extra"
>
> v2:
> Rather than taking Kbuild and making it work with Xen, the v2 takes the opposite
> approach of slowly transforming our current build system into Kbuild. That have
> the advantage of keeping all the feature we have and making the patches much
> easier to review. Kconfig update is done in an other patch series.
>
> v1:
> https://lists.xenproject.org/archives/html/xen-devel/2019-10/msg01609.html
>
> Hi,
>
> I have work toward building Xen (the hypervisor) with Linux's build system,
> Kbuild.
>
> The main reason for that is to be able to have out-of-tree build. It's annoying
> when a build fail because of the pvshim. Other benefit is a much faster
> rebuild, and `make clean` doesn't take ages, and better dependencies to figure
> out what needs to be rebuild.
>
> So, we are not there yet, but the series already contain quite a few
> improvement and cleanup. More patches are going to be added to the series.
>
> XXX Known issue
> - make dist-tests is broken. I'll fix that latter.
> - efi build maybe broken (xen doesn't boot on albana which looks like to be one
> of the uefi host)
With the new patch, and both squash! of v2.1, those two issues are fixed.
Makefile: Fix install-tests
squash! xen/build: introduce ccflags-y and CFLAGS_$@
squash! xen/build: have the root Makefile generates the CFLAGS
I've created a new branch:
https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.build-system-xen-v2.1
And a link to an osstest run:
http://logs.test-lab.xenproject.org/osstest/logs/146338/
Cheers,
--
Anthony PERARD
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel