mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools: Add install/uninstall targets to tests/x86_emulator
Bring test_x86_emulator in line with other tests by adding install/uninstall rules. Signed-off-by: Alejandro Vallejo <alejandro.vallejo@cloud.com> Acked-by: Stefano Stabellini <sstabellini@kernel.org> Acked-by: Anthony PERARD <anthony.perard@vates.tech> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
d7d55c27cc
commit
e773c257af
1 file changed
+9
-2
@@ -266,8 +266,15 @@ clean:
|
||||
.PHONY: distclean
|
||||
distclean: clean
|
||||
|
||||
.PHONY: install uninstall
|
||||
install uninstall:
|
||||
.PHONY: install
|
||||
install: all
|
||||
$(INSTALL_DIR) $(DESTDIR)$(LIBEXEC)/tests
|
||||
$(if $(TARGET-y),$(INSTALL_PROG) $(TARGET-y) $(DESTDIR)$(LIBEXEC)/tests)
|
||||
|
||||
.PHONY: uninstall
|
||||
uninstall:
|
||||
$(RM) -- $(addprefix $(DESTDIR)$(LIBEXEC)/tests/,$(TARGET-y))
|
||||
|
||||
|
||||
.PHONY: run32 clean32
|
||||
ifeq ($(XEN_COMPILE_ARCH),x86_64)
|
||||
|
||||