diff options
author | James Limbouris <james@digitalmatter.com.au> | 2012-02-28 11:49:06 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-28 12:27:52 +0000 |
commit | 991e34ca89757fc6cb46cba750c62f02b5ee92cb (patch) | |
tree | 118a96d5423eafda7e03613635fd1122d3ce2ab8 /meta | |
parent | 13949f2100d179ead5136fa9d636c09588d4b0b4 (diff) | |
download | poky-991e34ca89757fc6cb46cba750c62f02b5ee92cb.tar.gz |
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.
(From OE-Core rev: b8231237c6878599833c9bbaef7b68060fcbe935)
Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | 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 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 | |||
11 | 11 | ||
12 | S = "${WORKDIR}/git/" | 12 | S = "${WORKDIR}/git/" |
13 | 13 | ||
14 | PR = "r0" | 14 | PR = "r1" |
15 | 15 | ||
16 | EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'" | 16 | EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'" |
17 | 17 | ||
18 | do_install () { | 18 | do_install () { |
19 | oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir} | 19 | oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir} |