From 5a61c2cc775263ba7c4814b92d35b923ad0617a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Krause?= Date: Fri, 29 Apr 2016 09:56:58 +0200 Subject: [PATCH] mtd: install header files to staging directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit These header files are required by swupdate. Signed-off-by: Jörg Krause Signed-off-by: Thomas Petazzoni --- package/mtd/mtd.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk index adbf28d8f6..bf90212f5c 100644 --- a/package/mtd/mtd.mk +++ b/package/mtd/mtd.mk @@ -107,6 +107,9 @@ endef define MTD_INSTALL_STAGING_CMDS $(INSTALL) -D -m 0755 $(@D)/lib/libmtd.a $(STAGING_DIR)/usr/lib/libmtd.a $(INSTALL) -D -m 0755 $(@D)/ubi-utils/libubi.a $(STAGING_DIR)/usr/lib/libubi.a + $(INSTALL) -D -m 0644 $(@D)/include/libmtd.h $(STAGING_DIR)/usr/include/mtd/libmtd.h + $(INSTALL) -D -m 0644 $(@D)/ubi-utils/include/libubi.h $(STAGING_DIR)/usr/include/mtd/libubi.h + $(INSTALL) -D -m 0644 $(@D)/include/mtd/ubi-media.h $(STAGING_DIR)/usr/include/mtd/ubi-media.h endef define MTD_INSTALL_TARGET_CMDS -- 2.30.2