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 <mail@tk154.de>
This commit is contained in:
Til Kaiser 2024-05-02 18:49:57 +02:00 committed by Rosen Penev
parent 5d1d6a1039
commit 5e63e53ddd
1 changed files with 8 additions and 0 deletions

View File

@ -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/