On 23/05/2023 5:37 pm, 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-removing-config.mk-v1
>
> Hi,
>
> This series of patch cleanup the remaining rules still displaying their command
> line.
>
> Then, some change are made in Config.mk to remove build-id stuff only used by
> Xen build.
>
> Then, the variable AFLAGS and CFLAGS are been renamed XEN_AFLAGS and XEN_CFLAGS
> from the beginning to about inclusion of users CFLAGS as those are usually made
> for user space program, not kernel, especially in build environment for distro
> packages.
>
> Last patch removes the inclusion of Config.mk from xen/Rules.mk, as this slow
> down the build unnecessarily. xen/Makefile should do everything necessary to
> setup the build of the hypervisor, and is its only entry point.
Thankyou for doing this. I'm tempted to summarily ack it, but lets do
things properly.
One thing though, which I think might be a regression but I'm not sure.
When doing an incremental build (second build with no change), we get:
...
UPD include/xen/compile.h
__ __ _ _ _ ___ _ _ _
\ \/ /___ _ __ | || | / |( _ ) _ _ _ __ ___| |_ __ _| |__ | | ___
\ // _ \ '_ \ | || |_ | |/ _ \ __| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
/ \ __/ | | | |__ _|| | (_) |__| |_| | | | \__ \ || (_| | |_) | | __/
/_/\_\___|_| |_| |_|(_)_|\___/ \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
make[2]: Nothing to be done for 'all'.
make[4]: Nothing to be done for 'all'.
CC common/version.o
CC arch/x86/efi/boot.o
...
Where I think those two "nothing to be done for 'all'" are new. I don't
see them in a build from clean.
~Andrew
P.S. I do have some other notes for further cleanup, but I'm not going
to extend this current series with them.