diff options
-rw-r--r-- | meta/recipes-devtools/mtd/mtd-utils_git.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb b/meta/recipes-devtools/mtd/mtd-utils_git.bb index 2d76991d2f..cdcc766748 100644 --- a/meta/recipes-devtools/mtd/mtd-utils_git.bb +++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb | |||
@@ -55,6 +55,14 @@ ALTERNATIVE_LINK_NAME[flashcp] = "${sbindir}/flashcp" | |||
55 | 55 | ||
56 | do_install () { | 56 | do_install () { |
57 | oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir} | 57 | oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir} |
58 | install -d ${D}${includedir}/mtd | ||
59 | install -d ${D}${libdir} | ||
60 | install -m 0644 ${S}/include/libubi.h ${D}${includedir} | ||
61 | install -m 0644 ${S}/include/libmtd.h ${D}${includedir} | ||
62 | install -m 0644 ${S}/include/libscan.h ${D}${includedir} | ||
63 | install -m 0644 ${S}/include/libubigen.h ${D}${includedir} | ||
64 | oe_libinstall -a libubi ${D}${libdir}/ | ||
65 | oe_libinstall -a libmtd ${D}${libdir}/ | ||
58 | } | 66 | } |
59 | 67 | ||
60 | PACKAGES =+ "mtd-utils-misc mtd-utils-tests" | 68 | PACKAGES =+ "mtd-utils-misc mtd-utils-tests" |