From: Jörg Krause Date: Fri, 29 Apr 2016 07:56:58 +0000 (+0200) Subject: mtd: install header files to staging directory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a61c2cc775263ba7c4814b92d35b923ad0617a0;p=buildroot.git mtd: install header files to staging directory These header files are required by swupdate. Signed-off-by: Jörg Krause Signed-off-by: Thomas Petazzoni --- 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