From 67c8df358ea7642591ef28670dd7070e069c1f22 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sat, 7 Dec 2024 18:55:30 +0000 Subject: [PATCH] gzdoom: stage host binaries Install host-built binaries to STAGING_DIR_HOSTPKG as HOST_BUILD_DIR gets cleared and should not be referenced after host build has completed. Signed-off-by: Daniel Golle --- games/gzdoom/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/games/gzdoom/Makefile b/games/gzdoom/Makefile index b79e2a4..ae05680 100644 --- a/games/gzdoom/Makefile +++ b/games/gzdoom/Makefile @@ -48,7 +48,17 @@ endef define Host/Install $(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/share/gzdoom + $(INSTALL_BIN) $(HOST_BUILD_DIR)/tools/re2c/re2c $(STAGING_DIR_HOSTPKG)/share/gzdoom + $(INSTALL_BIN) $(HOST_BUILD_DIR)/tools/lemon/lemon $(STAGING_DIR_HOSTPKG)/share/gzdoom + $(INSTALL_DATA) $(HOST_BUILD_DIR)/tools/lemon/lempar.c $(STAGING_DIR_HOSTPKG)/share/gzdoom + $(INSTALL_BIN) $(HOST_BUILD_DIR)/tools/zipdir/zipdir $(STAGING_DIR_HOSTPKG)/share/gzdoom $(INSTALL_DATA) $(HOST_BUILD_DIR)/ImportExecutables.cmake $(STAGING_DIR_HOSTPKG)/share/gzdoom + $(SED) "s#$(HOST_BUILD_DIR)/tools/re2c/re2c#$(STAGING_DIR_HOSTPKG)/share/gzdoom/re2c#" \ + $(STAGING_DIR_HOSTPKG)/share/gzdoom/ImportExecutables.cmake + $(SED) "s#$(HOST_BUILD_DIR)/tools/lemon/lemon#$(STAGING_DIR_HOSTPKG)/share/gzdoom/lemon#" \ + $(STAGING_DIR_HOSTPKG)/share/gzdoom/ImportExecutables.cmake + $(SED) "s#$(HOST_BUILD_DIR)/tools/zipdir/zipdir#$(STAGING_DIR_HOSTPKG)/share/gzdoom/zipdir#" \ + $(STAGING_DIR_HOSTPKG)/share/gzdoom/ImportExecutables.cmake endef define Host/Uninstall