build: replace $(BASEDIR) and use $(srctree)
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 7 Apr 2022 15:56:00 +0000 (17:56 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 7 Apr 2022 15:56:00 +0000 (17:56 +0200)
commitbc8d05dd2dceb6569799965a4bd0aeff7a5827d4
tree1cc8ccba6d45477500018c69ede1f905a36ac64c
parent915e67b75c06367c061a63146cf5c0829366b7ac
build: replace $(BASEDIR) and use $(srctree)

$(srctree) is a better description for the source directory than
$(BASEDIR) that has been used for both source and build directory
(which where the same).

This adds $(srctree) to a few path where make's VPATH=$(srctree) won't
apply. And replace $(BASEDIR) by $(srctree).

Introduce "$(srcdir)" as a shortcut for "$(srctree)/$(src)" as the
later is used often enough.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Daniel P. Smith <dpsmith@apertussolutions.com> # XSM
12 files changed:
xen/Kconfig
xen/Makefile
xen/Rules.mk
xen/arch/x86/Makefile
xen/arch/x86/arch.mk
xen/build.mk
xen/common/Makefile
xen/common/libfdt/Makefile
xen/include/Makefile
xen/scripts/Kconfig.include
xen/scripts/Makefile.clean
xen/xsm/flask/Makefile