stubdom: introduce xenlibs.mk
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 25 Feb 2022 15:13:16 +0000 (15:13 +0000)
committerJulien Grall <jgrall@amazon.com>
Thu, 16 Jun 2022 15:58:50 +0000 (16:58 +0100)
commit1489a2a084d588701af086b473aeb98e9c4ebaa2
treeda0cbbf1b4d4cb344a5859bb6d85b9ffe38dbdb4
parent9ae030da5cf3bd7151d2d2d7125c768bfcffff97
stubdom: introduce xenlibs.mk

This new makefile will be used to build libraries that provides
"Makefile.common".

At some point, we will be converting Makefile in tools/ to "subdirmk"
and stubdom build will not be able to use those new makefiles, so we
will put the necessary information for stubdom to build the xen
libraries into a new Makefile.common and xenlibs.mk will use it.
We only need to build static libraries and don't need anything else.

The check for the presence of "Makefile.common" will go aways once
there is one for all libraries used by stubdom build.

Also remove DESTDIR= from "clean" targets, we don't do installation in
this recipe so the value of DESTDIR doesn't matter.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
stubdom/Makefile
stubdom/xenlibs.mk [new file with mode: 0644]