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:
Alejandro Vallejo authored and Andrew Cooper committed 2025-05-30 15:18:46 +01:00
1 parent d7d55c27cc
commit e773c257af
1 file changed
+9 -2
+9 -2
View File
@@ -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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.