Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] jpeg-native: Do not use libtool-cross for native recipe
@ 2012-09-24 23:55 Khem Raj
  2012-09-25  8:14 ` Richard Purdie
  0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2012-09-24 23:55 UTC (permalink / raw)
  To: openembedded-core

This fixes errors when building native recipes like below
Additionally fix some space issues.

 /work/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux-libtool:
line 981: /work/yocto/poky/build/tmp/sysroots/x86_64-linux//bin/sed: No
such file or directory
| x86_64-linux-libtool: compile: Failed to create `.libs'
| make[1]: *** [jaricom.lo] Error 1
| make[1]: *** Waiting for unfinished jobs....
|
/work/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux-libtool:
line 981: /work/yocto/poky/build/tmp/sysroots/x86_64-linux//bin/sed: No
such file or directory
|
/work/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux-libtool:
line 981: /work/yocto/poky/build/tmp/sysroots/x86_64-linux//bin/sed: No
such file or directory
| x86_64-linux-libtool: compile: Failed to create `.libs'
| x86_64-linux-libtool: compile: Failed to create `.libs'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/jpeg/jpeg_8d.bb |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/jpeg/jpeg_8d.bb b/meta/recipes-core/jpeg/jpeg_8d.bb
index 6781619..1f6366b 100644
--- a/meta/recipes-core/jpeg/jpeg_8d.bb
+++ b/meta/recipes-core/jpeg/jpeg_8d.bb
@@ -11,7 +11,7 @@ SECTION = "libs"
 DEPENDS = "libtool-cross"
 DEPENDS_virtclass-native = "libtool-native"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
 	   file://debian-libjpeg7_7-1.diff \
@@ -22,8 +22,10 @@ SRC_URI[sha256sum] = "00029b1473f0f0ea72fbca3230e8cb25797fbb27e58ae2e46bb8bf5a80
 
 inherit autotools 
 
-EXTRA_OECONF="--enable-static --enable-shared"
-EXTRA_OEMAKE='"LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"'
+EXTRA_OECONF = "--enable-static --enable-shared"
+EXTRA_OEMAKE = '"LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"'
+
+EXTRA_OEMAKE_class-native = ""
 
 CFLAGS_append = " -D_REENTRANT"
 
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-09-27 15:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24 23:55 [PATCH] jpeg-native: Do not use libtool-cross for native recipe Khem Raj
2012-09-25  8:14 ` Richard Purdie
2012-09-25 13:27   ` Khem Raj
2012-09-26 13:59     ` Richard Purdie
2012-09-27 14:14       ` Khem Raj
2012-09-27 15:16         ` Richard Purdie
2012-09-27 15:44           ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox