summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-05-12 19:30:58 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-05-12 19:30:58 +0800
commitb6c691321248da209c482525b96b77d5602688b9 (patch)
tree7e9809b62fe597b2cdb3661e5827dc00d4db8ab5 /meta
parentba804d1729640a0587db8ba94bde6018570a8b0c (diff)
downloadopenembedded-core-b6c691321248da209c482525b96b77d5602688b9.tar.gz
openembedded-core-b6c691321248da209c482525b96b77d5602688b9.tar.bz2
openembedded-core-b6c691321248da209c482525b96b77d5602688b9.zip
mtd-utils: Fix mtd-utils-native do_install task to install binaries into the correct place rather than using hardcoded paths
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/mtd/mtd-utils_1.1.0+git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/packages/mtd/mtd-utils_1.1.0+git.bb b/meta/packages/mtd/mtd-utils_1.1.0+git.bb
index fa62475f4b..12e1c75e31 100644
--- a/meta/packages/mtd/mtd-utils_1.1.0+git.bb
+++ b/meta/packages/mtd/mtd-utils_1.1.0+git.bb
@@ -15,7 +15,7 @@ S = "${WORKDIR}/git/"
EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR'"
do_install () {
- oe_runmake install DESTDIR=${D}
+ oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir}
install -d ${D}${includedir}/mtd/
for f in ${S}/include/mtd/*.h; do
install -m 0644 $f ${D}${includedir}/mtd/