summaryrefslogtreecommitdiff
path: root/recipes-devtools/mtd/mtd-utils_%.bbappend
blob: 44d0071c49364a03b7653422312ded135af419ba (plain)
1
2
3
4
5
6
7
8
9
10
11
do_install_append () {
	install -d ${D}${includedir}/mtd/
	install -d ${D}${libdir}/

	install -m 0644 ${S}include/xalloc.h ${D}${includedir}/mtd/
	install -m 0644 ${S}include/common.h ${D}${includedir}/mtd/
	install -m 0644 ${S}include/libmtd.h ${D}${includedir}/mtd/
	install -m 0644 ${B}/include/config.h ${D}${includedir}/mtd/

	oe_libinstall -a -C ${B} libmtd ${D}${libdir}/
}