mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Makefile: fix install-tests
The top-level makefile make uses of internal implementation detail of the xen build system. Avoid that by creating a new target "install-tests" in xen/Makefile, and by fixing the top-level Makefile to not call xen/Rules.mk anymore. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
2d2cca9d15
commit
8ec7a9e310
2 files changed
+5
-4
No files matched your search
@@ -155,13 +155,11 @@ install-docs:
|
|||||||
# We only have build-tests install-tests, not uninstall-tests etc.
|
# We only have build-tests install-tests, not uninstall-tests etc.
|
||||||
.PHONY: build-tests
|
.PHONY: build-tests
|
||||||
build-tests: build-xen
|
build-tests: build-xen
|
||||||
export BASEDIR=$(XEN_ROOT)/xen; \
|
$(MAKE) -C xen tests
|
||||||
$(MAKE) -f $$BASEDIR/Rules.mk -C xen/test build
|
|
||||||
|
|
||||||
.PHONY: install-tests
|
.PHONY: install-tests
|
||||||
install-tests: install-xen
|
install-tests: install-xen
|
||||||
export BASEDIR=$(XEN_ROOT)/xen; \
|
$(MAKE) -C xen $@
|
||||||
$(MAKE) -f $$BASEDIR/Rules.mk -C xen/test install
|
|
||||||
|
|
||||||
# build xen and the tools and place them in the install
|
# build xen and the tools and place them in the install
|
||||||
# directory. 'make install' should then copy them to the normal system
|
# directory. 'make install' should then copy them to the normal system
|
||||||
|
|||||||
@@ -90,6 +90,9 @@ _install: $(TARGET)$(CONFIG_XEN_INSTALL_SUFFIX)
|
|||||||
.PHONY: _tests
|
.PHONY: _tests
|
||||||
_tests:
|
_tests:
|
||||||
$(MAKE) -f $(BASEDIR)/Rules.mk -C test tests
|
$(MAKE) -f $(BASEDIR)/Rules.mk -C test tests
|
||||||
|
.PHONY: install-tests
|
||||||
|
install-tests:
|
||||||
|
$(MAKE) -f $(BASEDIR)/Rules.mk -C test install
|
||||||
|
|
||||||
.PHONY: _uninstall
|
.PHONY: _uninstall
|
||||||
_uninstall: D=$(DESTDIR)
|
_uninstall: D=$(DESTDIR)
|
||||||
|
|||||||