summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/mtd
diff options
context:
space:
mode:
authorJames Limbouris <james@digitalmatter.com.au>2012-02-28 11:49:06 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-28 12:14:52 +0000
commitb8231237c6878599833c9bbaef7b68060fcbe935 (patch)
treed3ce30cfcd7c704a8108d4211ae6d436097a2ab9 /meta/recipes-devtools/mtd
parentd0853052228128ccca2b744dae9c4dceae23067a (diff)
downloadopenembedded-core-b8231237c6878599833c9bbaef7b68060fcbe935.tar.gz
openembedded-core-b8231237c6878599833c9bbaef7b68060fcbe935.tar.bz2
openembedded-core-b8231237c6878599833c9bbaef7b68060fcbe935.zip
mtd-utils: Don't use host 'ranlib' or 'ar'.
If ranlib, ar, or cc are not supplied to make, it attempts to use ${CROSS}xxx. Since ${CROSS} is not set, host ranlib may run, producing an unusable .a file on some platforms. Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Diffstat (limited to 'meta/recipes-devtools/mtd')
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils_1.4.9.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/mtd/mtd-utils_1.4.9.bb b/meta/recipes-devtools/mtd/mtd-utils_1.4.9.bb
index 519472c463..4228b51ea1 100644
--- a/meta/recipes-devtools/mtd/mtd-utils_1.4.9.bb
+++ b/meta/recipes-devtools/mtd/mtd-utils_1.4.9.bb
@@ -11,9 +11,9 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=995cfe51b0a3cf
S = "${WORKDIR}/git/"
-PR = "r0"
+PR = "r1"
-EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'"
+EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'"
do_install () {
oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir}