From: Til Kaiser Date: Thu, 2 May 2024 16:49:57 +0000 (+0200) Subject: mstflint: add InstallDev target X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=5e63e53ddd7bdde3e1c6e5bf88e15368006f181f;p=openwrt-packages.git mstflint: add InstallDev target This commit adds a missing InstallDev target, which includes header and library files to use the mtcr library. Signed-off-by: Til Kaiser --- diff --git a/utils/mstflint/Makefile b/utils/mstflint/Makefile index 2c4bf4960..30925018e 100644 --- a/utils/mstflint/Makefile +++ b/utils/mstflint/Makefile @@ -96,6 +96,14 @@ TARGET_CFLAGS += \ -D_GNU_SOURCE \ -I$(STAGING_DIR)/usr/include/libxml2 +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/mstflint $(1)/usr/include/ + + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/mstflint $(1)/usr/lib/ +endef + define Package/mstflint/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mstarchive $(1)/usr/bin/