mtd: restore installation of libmtd to staging
authorAndrey Yurovsky <yurovsky@gmail.com>
Wed, 28 Jun 2017 03:56:10 +0000 (20:56 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Jul 2017 16:34:07 +0000 (18:34 +0200)
commit065a57eb2e8aab34b49e9c23378f8b0e2bb886ea
tree797dadb9725829fdecf55b3672b024fbea7883a9
parent7ca9fc3170de1a41fbcbc5dfdc2838c75bff72a5
mtd: restore installation of libmtd to staging

Commit 67117adc891e06154d23a01b8c8ee348c63e78eb backed out the
deployment of libmtd headers (libmtd.h, libubi.h, ubi-media.h) to
staging and these may be needed by packages that work directly with MTD,
for example swupdate. mtd also produces libmtd.a and libubi.a which are
needed by those packages.

Tested by configuring swupdate to use MTD and verifying that swupdate
now compiles and links.

Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com>
[Thomas: change to a post-install staging hook, and add comment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mtd/mtd.mk