From patchwork Tue Feb 28 05:25:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [CONSOLIDATED, PULL, 35/36] mtd-utils: Don't use host 'ranlib' or 'ar'. Date: Tue, 28 Feb 2012 05:25:33 -0000 From: Saul Wold X-Patchwork-Id: 22243 Message-Id: <5a89a4817afc3d46b968213e99b20aa49a9f93fc.1330406574.git.sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org From: James Limbouris 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 --- meta/recipes-devtools/mtd/mtd-utils_1.4.9.bb | 4 ++-- 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 519472c..4228b51 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}