mstflint: add InstallDev target
authorTil Kaiser <mail@tk154.de>
Thu, 2 May 2024 16:49:57 +0000 (18:49 +0200)
committerRosen Penev <rosenp@gmail.com>
Mon, 13 May 2024 01:12:01 +0000 (18:12 -0700)
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>
utils/mstflint/Makefile

index 2c4bf4960eb0dade609524d14a41068a70ed1563..30925018ed6e3b008a5ca2ecfe1303ef137bbbb5 100644 (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/