summaryrefslogtreecommitdiff
path: root/recipes-devtools
diff options
context:
space:
mode:
authorStefan Müller-Klieser <S.Mueller-Klieser@phytec.de>2017-04-21 13:45:54 +0200
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2017-04-21 14:00:49 +0200
commite3fc8ec012063962da80736026382ad174e8c2ce (patch)
tree54e4d6faf18b548986e4ea516ab397b45e18fd2b /recipes-devtools
parent972d59d335aa4d5ae787cd79eaf003ecea4d9d8f (diff)
downloadmeta-yogurt-e3fc8ec012063962da80736026382ad174e8c2ce.tar.bz2
meta-yogurt-e3fc8ec012063962da80736026382ad174e8c2ce.zip
mtd-utils: fix build of libmtd
Includes and default path changed. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/mtd/mtd-utils_%.bbappend10
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes-devtools/mtd/mtd-utils_%.bbappend b/recipes-devtools/mtd/mtd-utils_%.bbappend
index 4b365b7..44d0071 100644
--- a/recipes-devtools/mtd/mtd-utils_%.bbappend
+++ b/recipes-devtools/mtd/mtd-utils_%.bbappend
@@ -2,10 +2,10 @@ do_install_append () {
install -d ${D}${includedir}/mtd/
install -d ${D}${libdir}/
- install -m 0644 include/xalloc.h ${D}${includedir}/mtd/
- install -m 0644 include/version.h ${D}${includedir}/mtd/
- install -m 0644 include/common.h ${D}${includedir}/mtd/
- install -m 0644 include/libmtd.h ${D}${includedir}/mtd/
+ 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 lib libmtd ${D}${libdir}/
+ oe_libinstall -a -C ${B} libmtd ${D}${libdir}/
}