Re: [oe] openssl-native-1.0.0d-r14.0 compile fails

2011-06-22 Thread A. Schallenberg
Hello,

thank you, Henning, for pointing me to the correct directory.

Its contents are:
openssl-1.0.0d ls
ACKNOWLEDGMENTS
apps
bugs
certs
CHANGES
CHANGES.SSLeay
config
Configure
crypto
demos
doc
engines
e_os2.h
e_os.h
FAQ
include
INSTALL
install.com
INSTALL.DJGPP
INSTALL.MacOS
INSTALL.NW
INSTALL.OS2
INSTALL.VMS
INSTALL.W32
INSTALL.W64
INSTALL.WCE
libcrypto.a
LICENSE
MacOS
Makefile
Makefile.org
Makefile.shared
makevms.com
ms
Netware
NEWS
openssl.doxy
openssl.ld
openssl.spec
os2
patches
perl
PROBLEMS
README
README.ASN1
README.ENGINE
shlib
ssl
test
times
tools
util
VMS

I tried touching this Makefile (like Robert suggested
on his mail on this list in March) but it didn't help.

So it seems that the files are downloaded and extracted.
The message
make: *** No targets specified and no makefile found.  Stop.
is a bit strange, since here is a Makefile.

Best,
Andreas
-- 
Firmware developer

FON:+49-(0)8233-78994-18
FAX:+49-(0)8233-78994-28
mailto:andreas.schallenb...@3alitydigital.de
http://www.3alitydigital.de


3ality Digital Systems GmbH
Gut Mergenthau
D-86438 Kissing / Bavaria / Germany


Geschäftsführer/CEO: Steve Schklair
Sitz der Gesellschaft: Kissing
Registergericht Augsburg, HRB 16421

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] classes/native*.bbclass: fix error during parse with bitbake master

2011-06-22 Thread Paul Eggleton
Fixes AttributeError: 'NoneType' object has no attribute 'split' during
parsing with bitbake master. We should not be calling explode_deps with
None as the argument, so check for that before calling it.

Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
---
 classes/native.bbclass|5 -
 classes/nativesdk.bbclass |5 -
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/classes/native.bbclass b/classes/native.bbclass
index 1e7a6ec..e9d48a3 100644
--- a/classes/native.bbclass
+++ b/classes/native.bbclass
@@ -116,7 +116,10 @@ python __anonymous () {
 if native in (bb.data.getVar('BBCLASSEXTEND', d, True) or ):
 pn = bb.data.getVar(PN, d, True)
 depends = bb.data.getVar(DEPENDS_virtclass-native, d, True)
-deps = bb.utils.explode_deps(depends)
+if depends:
+deps = bb.utils.explode_deps(depends)
+else:
+deps = []
 newdeps = []
 for dep in deps:
 if dep.endswith(-cross):
diff --git a/classes/nativesdk.bbclass b/classes/nativesdk.bbclass
index 6689399..7a8f385 100644
--- a/classes/nativesdk.bbclass
+++ b/classes/nativesdk.bbclass
@@ -59,7 +59,10 @@ OVERRIDES =. virtclass-nativesdk:
 python __anonymous () {
 pn = bb.data.getVar(PN, d, True)
 depends = bb.data.getVar(DEPENDS_virtclass-nativesdk, d, True)
-deps = bb.utils.explode_deps(depends)
+if depends:
+deps = bb.utils.explode_deps(depends)
+else:
+deps = []
 newdeps = []
 for dep in deps:
 if dep.endswith(-native) or dep.endswith(-cross):
-- 
1.7.4.1


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] classes/native*.bbclass: fix error during parse with bitbake master

2011-06-22 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 22-06-11 11:13, Paul Eggleton wrote:
 Fixes AttributeError: 'NoneType' object has no attribute 'split' during
 parsing with bitbake master. We should not be calling explode_deps with
 None as the argument, so check for that before calling it.
 
 Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com

Looks good to me:

Acked-by: Koen Kooi k...@dominion.thruhere.net


 ---
  classes/native.bbclass|5 -
  classes/nativesdk.bbclass |5 -
  2 files changed, 8 insertions(+), 2 deletions(-)
 
 diff --git a/classes/native.bbclass b/classes/native.bbclass
 index 1e7a6ec..e9d48a3 100644
 --- a/classes/native.bbclass
 +++ b/classes/native.bbclass
 @@ -116,7 +116,10 @@ python __anonymous () {
  if native in (bb.data.getVar('BBCLASSEXTEND', d, True) or ):
  pn = bb.data.getVar(PN, d, True)
  depends = bb.data.getVar(DEPENDS_virtclass-native, d, True)
 -deps = bb.utils.explode_deps(depends)
 +if depends:
 +deps = bb.utils.explode_deps(depends)
 +else:
 +deps = []
  newdeps = []
  for dep in deps:
  if dep.endswith(-cross):
 diff --git a/classes/nativesdk.bbclass b/classes/nativesdk.bbclass
 index 6689399..7a8f385 100644
 --- a/classes/nativesdk.bbclass
 +++ b/classes/nativesdk.bbclass
 @@ -59,7 +59,10 @@ OVERRIDES =. virtclass-nativesdk:
  python __anonymous () {
  pn = bb.data.getVar(PN, d, True)
  depends = bb.data.getVar(DEPENDS_virtclass-nativesdk, d, True)
 -deps = bb.utils.explode_deps(depends)
 +if depends:
 +deps = bb.utils.explode_deps(depends)
 +else:
 +deps = []
  newdeps = []
  for dep in deps:
  if dep.endswith(-native) or dep.endswith(-cross):

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOAbV/MkyGM64RGpERAmpPAJ9OxqPqnYkcACLshJHBf2B2ta1FQgCfRadV
O+QuQwiB6rHxDcDeUkwydew=
=fWJI
-END PGP SIGNATURE-


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] classes/native*.bbclass: fix error during parse with bitbake master

2011-06-22 Thread Phil Blundell
On Wed, 2011-06-22 at 10:13 +0100, Paul Eggleton wrote:
  depends = bb.data.getVar(DEPENDS_virtclass-native, d, True)
 -deps = bb.utils.explode_deps(depends)
 +if depends:
 +deps = bb.utils.explode_deps(depends)
 +else:
 +deps = []

Can't you just make the first line be something like

depends = bb.data.getVar(DEPENDS_virtclass-native, d, True) or 

?

p.



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH v2] classes/native*.bbclass: fix error during parse with bitbake master

2011-06-22 Thread Paul Eggleton
Fixes AttributeError: 'NoneType' object has no attribute 'split' during
parsing with bitbake master. We should not be calling explode_deps with
None as the argument, so ensure the value isn't None.

Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
---
 classes/native.bbclass|2 +-
 classes/nativesdk.bbclass |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/classes/native.bbclass b/classes/native.bbclass
index 1e7a6ec..6f30471 100644
--- a/classes/native.bbclass
+++ b/classes/native.bbclass
@@ -115,7 +115,7 @@ python __anonymous () {
 
 if native in (bb.data.getVar('BBCLASSEXTEND', d, True) or ):
 pn = bb.data.getVar(PN, d, True)
-depends = bb.data.getVar(DEPENDS_virtclass-native, d, True)
+depends = bb.data.getVar(DEPENDS_virtclass-native, d, True) or 
 deps = bb.utils.explode_deps(depends)
 newdeps = []
 for dep in deps:
diff --git a/classes/nativesdk.bbclass b/classes/nativesdk.bbclass
index 6689399..6607abf 100644
--- a/classes/nativesdk.bbclass
+++ b/classes/nativesdk.bbclass
@@ -58,7 +58,7 @@ OVERRIDES =. virtclass-nativesdk:
 
 python __anonymous () {
 pn = bb.data.getVar(PN, d, True)
-depends = bb.data.getVar(DEPENDS_virtclass-nativesdk, d, True)
+depends = bb.data.getVar(DEPENDS_virtclass-nativesdk, d, True) or 
 deps = bb.utils.explode_deps(depends)
 newdeps = []
 for dep in deps:
-- 
1.7.4.1


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH v3] linphone: added recipe for v3.4.3

2011-06-22 Thread Guillaume BERAUDO
Hi all,


What is the process for getting this patch merged?


Regards,

Guillaume

Le Wed, 15 Jun 2011 11:02:21 +0200,
Guillaume Beraudo guillaume.bera...@belledonne-communications.com a
écrit :

 Recipe support linphone built with video support and without GTK.
 
 * included IGEPv2 specific patch to get audio playback at 8KHz rate.
 * included infrastructure to create flavoured recipes
 - with(out) video
 - with(out) gtk
 * removed dependency on:
 - obsolete disable-gtk-doc.patch;
 - cryptic b64_assert.patch;
 - already upstream preferences-segv.patch;
 - already upstream fix.unused.variable.patch
 ---
  recipes/linphone/files/igep0020/alsa_8khz.patch |   13 +
  recipes/linphone/linphone-common.inc|   61
 +++
 recipes/linphone/linphone-common_3.4.3.inc  |   11 
 recipes/linphone/linphone-nogtk_3.4.3.bb|   15 ++ 4 files
 changed, 100 insertions(+), 0 deletions(-) create mode 100644
 recipes/linphone/files/igep0020/alsa_8khz.patch create mode 100644
 recipes/linphone/linphone-common.inc create mode 100644
 recipes/linphone/linphone-common_3.4.3.inc create mode 100644
 recipes/linphone/linphone-nogtk_3.4.3.bb
 
 diff --git a/recipes/linphone/files/igep0020/alsa_8khz.patch
 b/recipes/linphone/files/igep0020/alsa_8khz.patch new file mode 100644
 index 000..17774d4
 --- /dev/null
 +++ b/recipes/linphone/files/igep0020/alsa_8khz.patch
 @@ -0,0 +1,13 @@
 +--- linphone/mediastreamer2/src/alsa.c_orig  2011-05-24
 12:39:33.824600109 +0200 
 linphone/mediastreamer2/src/alsa.c2011-05-24
 12:40:04.760407404 +0200 +@@ -32,8 +32,8 @@
 + /*in case of troubles with a particular driver, try incrementing
 ALSA_PERIOD_SIZE
 + to 512, 1024, 2048, 4096...
 + then try incrementing the number of periods*/
 +-#define ALSA_PERIODS 8
 +-#define ALSA_PERIOD_SIZE 256
 ++#define ALSA_PERIODS 4
 ++#define ALSA_PERIOD_SIZE 512
 + 
 + /*uncomment the following line if you have problems with an alsa
 driver
 + having sound quality trouble:*/
 diff --git a/recipes/linphone/linphone-common.inc
 b/recipes/linphone/linphone-common.inc new file mode 100644
 index 000..a9d0f5b
 --- /dev/null
 +++ b/recipes/linphone/linphone-common.inc
 @@ -0,0 +1,61 @@
 +inherit autotools pkgconfig gettext
 +#export PKG_CONFIG=${STAGING_BINDIR_NATIVE}/pkg-config
 +
 +SECTION = x11/network
 +SECTION_liblinphone = libs/network
 +SECTION_libmediastreamer = libs/network
 +SECTION_libortp = libs/network
 +SECTION_linphonec =  console/network
 +
 +DEPENDS = intltool readline libosip2 libexosip2 speex alsa-lib \
 + ${@base_conditional('LINPHONE_FLAVOUR_WITH_VIDEO', '1', '
 libxv ffmpeg libv4l', '', d)} \
 + ${@base_conditional('LINPHONE_FLAVOUR_WITH_GTK', '1', '
 gtk+', '', d)} \
 + 
 +
 +PROVIDES = linphonec liblinphone libmediastreamer libortp \
 + ${@base_conditional('LINPHONE_FLAVOUR_WITH_GTK', '1', '
 linphone', '', d)} +
 +SRC_URI_append_igep0020 =  file://alsa_8khz.patch
 +
 +
 +do_install_append(){
 + install -d ${D}${bindir}
 + install -m 0755 ${S}/coreapi/.libs/test_ecc
 ${D}${bindir}/test_ecc
 + install -m 0755 ${S}/coreapi/.libs/test_lsd
 ${D}${bindir}/test_lsd +}
 +
 +EXTRA_OECONF =  \
 + ${@base_conditional('LINPHONE_FLAVOUR_WITH_VIDEO', '1',
 '--with-ffmpeg=${STAGING_DIR_HOST}${layout_exec_prefix}
 --enable-video', '--disable-video', d)} \
 +--enable-alsa \
 +--with-osip=${STAGING_DIR_HOST}${layout_exec_prefix} \
 +--with-readline=${STAGING_DIR_HOST}${layout_exec_prefix} \
 +--with-speex=${STAGING_DIR_HOST}${layout_exec_prefix} \
 +--disable-manual \
 + --enable-console_ui=yes \
 + --enable-gtk_ui=${@base_conditional('LINPHONE_FLAVOUR_WITH_GTK',
 '1', 'yes', 'no', d)} \
 + --with-realprefix=/usr \
 + 
 +
 +PACKAGES =  \
 + ${@base_conditional('LINPHONE_FLAVOUR_WITH_GTK', '1',
 '${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-locale', '', d)} \
 + ${PN}-console linphone-rings liblinphone
 libmediastreamer-bin libmediastreamer libortp ${PN}-utils +
 +FILES_${PN} =  \ 
 + ${bindir}/linphone \
 +${datadir}/linphone \
 + ${datadir}/pixmaps \
 + ${datadir}/applications \
 + ${datadir}/gnome/apps \
 + ${datadir}/sounds/linphone/hello8000.wav \
 + ${datadir}/sounds/linphone/hello16000.wav \
 + ${datadir}/images/nowebcamCIF.jpg \
 + 
 +
 +FILES_${PN}-console = ${bindir}/linphonec ${bindir}/linphonecsh
 ${bindir}/sipomatic ${datadir}/sounds/linphone/ringback.wav
 +FILES_${PN}-rings = ${datadir}/sounds/linphone/rings
 +FILES_liblinphone = ${libdir}/liblinphone.so.*
 +FILES_libmediastreamer-bin = /usr/libexec/mediastream
 +FILES_libmediastreamer = ${libdir}/libmediastreamer.so.*
 +FILES_libortp = ${libdir}/libortp.so.* +FILES_${PN}-dev +=
 ${libdir}/*.a ${libdir}/*.la ${libdir}/pkgconfig ${includedir}
 +FILES_${PN}-utils = ${bindir}/test_ecc ${bindir}/test_lsd diff
 --git 

Re: [oe] [PATCH v3] linphone: added recipe for v3.4.3

2011-06-22 Thread Khem Raj

On 06/22/2011 04:16 AM, Guillaume BERAUDO wrote:

Hi all,


What is the process for getting this patch merged?




send pull request for meta-oe


Regards,

Guillaume

Le Wed, 15 Jun 2011 11:02:21 +0200,
Guillaume Beraudoguillaume.bera...@belledonne-communications.com  a
écrit :


Recipe support linphone built with video support and without GTK.

* included IGEPv2 specific patch to get audio playback at 8KHz rate.
* included infrastructure to create flavoured recipes
 - with(out) video
 - with(out) gtk
* removed dependency on:
 - obsolete disable-gtk-doc.patch;
 - cryptic b64_assert.patch;
 - already upstream preferences-segv.patch;
 - already upstream fix.unused.variable.patch
---
  recipes/linphone/files/igep0020/alsa_8khz.patch |   13 +
  recipes/linphone/linphone-common.inc|   61
+++
recipes/linphone/linphone-common_3.4.3.inc  |   11 
recipes/linphone/linphone-nogtk_3.4.3.bb|   15 ++ 4 files
changed, 100 insertions(+), 0 deletions(-) create mode 100644
recipes/linphone/files/igep0020/alsa_8khz.patch create mode 100644
recipes/linphone/linphone-common.inc create mode 100644
recipes/linphone/linphone-common_3.4.3.inc create mode 100644
recipes/linphone/linphone-nogtk_3.4.3.bb

diff --git a/recipes/linphone/files/igep0020/alsa_8khz.patch
b/recipes/linphone/files/igep0020/alsa_8khz.patch new file mode 100644
index 000..17774d4
--- /dev/null
+++ b/recipes/linphone/files/igep0020/alsa_8khz.patch
@@ -0,0 +1,13 @@
+--- linphone/mediastreamer2/src/alsa.c_orig2011-05-24
12:39:33.824600109 +0200 
linphone/mediastreamer2/src/alsa.c  2011-05-24
12:40:04.760407404 +0200 +@@ -32,8 +32,8 @@
+ /*in case of troubles with a particular driver, try incrementing
ALSA_PERIOD_SIZE
+ to 512, 1024, 2048, 4096...
+ then try incrementing the number of periods*/
+-#define ALSA_PERIODS 8
+-#define ALSA_PERIOD_SIZE 256
++#define ALSA_PERIODS 4
++#define ALSA_PERIOD_SIZE 512
+
+ /*uncomment the following line if you have problems with an alsa
driver
+ having sound quality trouble:*/
diff --git a/recipes/linphone/linphone-common.inc
b/recipes/linphone/linphone-common.inc new file mode 100644
index 000..a9d0f5b
--- /dev/null
+++ b/recipes/linphone/linphone-common.inc
@@ -0,0 +1,61 @@
+inherit autotools pkgconfig gettext
+#export PKG_CONFIG=${STAGING_BINDIR_NATIVE}/pkg-config
+
+SECTION = x11/network
+SECTION_liblinphone = libs/network
+SECTION_libmediastreamer = libs/network
+SECTION_libortp = libs/network
+SECTION_linphonec =  console/network
+
+DEPENDS = intltool readline libosip2 libexosip2 speex alsa-lib \
+   ${@base_conditional('LINPHONE_FLAVOUR_WITH_VIDEO', '1', '
libxv ffmpeg libv4l', '', d)} \
+   ${@base_conditional('LINPHONE_FLAVOUR_WITH_GTK', '1', '
gtk+', '', d)} \
+   
+
+PROVIDES = linphonec liblinphone libmediastreamer libortp \
+   ${@base_conditional('LINPHONE_FLAVOUR_WITH_GTK', '1', '
linphone', '', d)} +
+SRC_URI_append_igep0020 =  file://alsa_8khz.patch
+
+
+do_install_append(){
+   install -d ${D}${bindir}
+   install -m 0755 ${S}/coreapi/.libs/test_ecc
${D}${bindir}/test_ecc
+   install -m 0755 ${S}/coreapi/.libs/test_lsd
${D}${bindir}/test_lsd +}
+
+EXTRA_OECONF =  \
+   ${@base_conditional('LINPHONE_FLAVOUR_WITH_VIDEO', '1',
'--with-ffmpeg=${STAGING_DIR_HOST}${layout_exec_prefix}
--enable-video', '--disable-video', d)} \
+--enable-alsa \
+--with-osip=${STAGING_DIR_HOST}${layout_exec_prefix} \
+--with-readline=${STAGING_DIR_HOST}${layout_exec_prefix} \
+--with-speex=${STAGING_DIR_HOST}${layout_exec_prefix} \
+--disable-manual \
+   --enable-console_ui=yes \
+   --enable-gtk_ui=${@base_conditional('LINPHONE_FLAVOUR_WITH_GTK',
'1', 'yes', 'no', d)} \
+   --with-realprefix=/usr \
+   
+
+PACKAGES =  \
+   ${@base_conditional('LINPHONE_FLAVOUR_WITH_GTK', '1',
'${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-locale', '', d)} \
+   ${PN}-console linphone-rings liblinphone
libmediastreamer-bin libmediastreamer libortp ${PN}-utils +
+FILES_${PN} =  \
+   ${bindir}/linphone \
+${datadir}/linphone \
+   ${datadir}/pixmaps \
+   ${datadir}/applications \
+   ${datadir}/gnome/apps \
+   ${datadir}/sounds/linphone/hello8000.wav \
+   ${datadir}/sounds/linphone/hello16000.wav \
+   ${datadir}/images/nowebcamCIF.jpg \
+   
+
+FILES_${PN}-console = ${bindir}/linphonec ${bindir}/linphonecsh
${bindir}/sipomatic ${datadir}/sounds/linphone/ringback.wav
+FILES_${PN}-rings = ${datadir}/sounds/linphone/rings
+FILES_liblinphone = ${libdir}/liblinphone.so.*
+FILES_libmediastreamer-bin = /usr/libexec/mediastream
+FILES_libmediastreamer = ${libdir}/libmediastreamer.so.*
+FILES_libortp = ${libdir}/libortp.so.* +FILES_${PN}-dev +=
${libdir}/*.a ${libdir}/*.la ${libdir}/pkgconfig ${includedir}
+FILES_${PN}-utils = ${bindir}/test_ecc ${bindir}/test_lsd 

[oe] [PATCH v2] conf/bitbake: improve compression image handling and adapt linux-kexecboot.inc

2011-06-22 Thread Denis 'GNUtoo' Carikli
From: Otavio Salvador ota...@ossystems.com.br

 * add GZIP_COMPRESSION_LEVEL
 * add BZIP2_COMPRESSION_LEVEL
 * use xz-native to generate lzma images

Kexecboot.inc needed to be adjusted in order to reflect the dependency
  change from lzma-native to xz-native

The initramfs.cpio.gz were tested with linux-kexecboot on nokia900.

Signed-off-by: Otavio Salvador ota...@ossystems.com.br
Signed-off-by: Denis 'GNUtoo' Carikli gnu...@no-log.org
---
 conf/bitbake.conf |   22 --
 recipes/linux/linux-kexecboot.inc |4 ++--
 2 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 17a494d..299537a 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -150,6 +150,8 @@ QEMU_OPTIONS_armv7a   = -cpu cortex-a8
 # default compression levels
 XZ_COMPRESSION_LEVEL ?= -e -9
 LZMA_COMPRESSION_LEVEL ?= -e -9
+GZIP_COMPRESSION_LEVEL ?= -9
+BZIP2_COMPRESSION_LEVEL ?= -9
 
 # default integrity check
 XZ_INTEGRITY_CHECK ?= crc32
@@ -384,14 +386,14 @@ IMAGE_CMD_jffs2 = mkfs.jffs2 -x lzo 
--root=${IMAGE_ROOTFS} --faketime --output=
 IMAGE_CMD_yaffs2 = mkyaffs2image ${EXTRA_IMAGECMD} ${IMAGE_ROOTFS} 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.yaffs2
 IMAGE_CMD_cramfs = mkcramfs ${IMAGE_ROOTFS} 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}
 IMAGE_CMD_ext2 = genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}
-IMAGE_CMD_ext2.gz = install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 
-b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} 
${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f 
-9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; mv 
${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz
-IMAGE_CMD_ext2.bz2 = install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 
4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} 
${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; bzip2 
-f -9 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2; mv 
${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2.bz2 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.bz2
+IMAGE_CMD_ext2.gz = install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 
-b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} 
${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f 
${GZIP_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; 
mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz
+IMAGE_CMD_ext2.bz2 = install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 
4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} 
${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; bzip2 
-f ${BZIP2_COMPRESSION_LEVEL} 
${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2; mv 
${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2.bz2 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.bz2
 IMAGE_CMD_ext3 = genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3
-IMAGE_CMD_ext3.gz = install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 
-b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} 
${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs 
-j ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; gzip -f -9 
${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; mv 
${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3.gz 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.gz
-IMAGE_CMD_ext3.bz2 = install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 
4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} 
${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; 
tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; bzip2 -f -9 
${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; mv 
${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3.bz2 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.bz2
+IMAGE_CMD_ext3.gz = install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 
-b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} 
${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs 
-j ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; gzip -f 
${GZIP_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; 
mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3.gz 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.gz
+IMAGE_CMD_ext3.bz2 = install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 
4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} 
${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; 
tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; bzip2 -f 
${BZIP2_COMPRESSION_LEVEL} 
${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; mv 
${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3.bz2 

Re: [oe] [PATCH v2] conf/bitbake: improve compression image handling and adapt linux-kexecboot.inc

2011-06-22 Thread Phil Blundell
On Wed, 2011-06-22 at 17:57 +0200, Denis 'GNUtoo' Carikli wrote:
 @@ -150,6 +150,8 @@ QEMU_OPTIONS_armv7a   = -cpu cortex-a8
  # default compression levels
  XZ_COMPRESSION_LEVEL ?= -e -9
  LZMA_COMPRESSION_LEVEL ?= -e -9
 +GZIP_COMPRESSION_LEVEL ?= -9
 +BZIP2_COMPRESSION_LEVEL ?= -9

I still dislike this for the same reasons as before.  The lzma bits are
fine.

p.



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH v3] conf/bitbake: improve compression image handling and adapt linux-kexecboot.inc

2011-06-22 Thread Denis 'GNUtoo' Carikli
From: Otavio Salvador ota...@ossystems.com.br

We now use xz-native to generate lzma images

Kexecboot.inc needed to be adjusted in order to reflect the dependency
  change from lzma-native to xz-native

The initramfs.cpio.gz were tested with linux-kexecboot on nokia900.

Signed-off-by: Otavio Salvador ota...@ossystems.com.br
Signed-off-by: Denis 'GNUtoo' Carikli gnu...@no-log.org
---
 conf/bitbake.conf |4 ++--
 recipes/linux/linux-kexecboot.inc |4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 17a494d..bbf86c0 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -404,7 +404,7 @@ IMAGE_CMD_cpio = cd ${IMAGE_ROOTFS}  (find . | cpio -o 
-H newc ${DEPLOY_DIR_
 IMAGE_CMD_cpio.gz = type cpio /dev/null; cd ${IMAGE_ROOTFS}  (find . | 
cpio -o -H newc | gzip -c -9 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) 
${EXTRA_IMAGECMD}
 IMAGE_CMD_cpio.xz = type cpio /dev/null; cd ${IMAGE_ROOTFS}  (find . | 
cpio -o -H newc | xz -c ${XZ_COMPRESSION_LEVEL} --check=${XZ_INTEGRITY_CHECK}  
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.xz) ${EXTRA_IMAGECMD}
 IMAGE_CMD_cpio.gz.u-boot = type cpio /dev/null; cd ${IMAGE_ROOTFS}  (find 
. | cpio -o -H newc | gzip -c -9 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}; mkimage 
-A ${UBOOT_ARCH} -O linux -T ramdisk -C gzip -n ${IMAGE_NAME} -d 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz.u-boot
-IMAGE_CMD_cpio.lzma = type cpio /dev/null; cd ${IMAGE_ROOTFS}  (find . | 
cpio -o -H newc | lzma -c ${LZMA_COMPRESSION_LEVEL} 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) ${EXTRA_IMAGECMD}
+IMAGE_CMD_cpio.lzma = type cpio /dev/null; cd ${IMAGE_ROOTFS}  (find . | 
cpio -o -H newc | xz --format=lzma -c ${LZMA_COMPRESSION_LEVEL} 
--check=${XZ_INTEGRITY_CHECK} 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) ${EXTRA_IMAGECMD}
 IMAGE_CMD_ubi = echo \[ubifs\]  ubinize.cfg ; echo mode=ubi  ubinize.cfg ; 
echo image=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img  ubinize.cfg ; echo 
vol_id=0  ubinize.cfg ; echo vol_type=dynamic  ubinize.cfg ; echo 
vol_name=${UBI_VOLNAME}  ubinize.cfg ; echo vol_flags=autoresize  
ubinize.cfg;mkfs.ubifs -r ${IMAGE_ROOTFS} -o 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS}  ubinize -o 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ${UBINIZE_ARGS} ubinize.cfg
 IMAGE_CMD_ubifs = mkfs.ubifs -r ${IMAGE_ROOTFS} -o 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS}
 
@@ -435,7 +435,7 @@ IMAGE_DEPENDS_ext4.gz = genext2fs-native e2fsprogs-native
 IMAGE_DEPENDS_ext4.bz2 = genext2fs-native e2fsprogs-native
 IMAGE_DEPENDS_ext4.xz = genext2fs-native e2fsprogs-native xz-native
 IMAGE_DEPENDS_cpio.gz.u-boot = u-boot-mkimage-native
-IMAGE_DEPENDS_cpio.lzma = lzma-native
+IMAGE_DEPENDS_cpio.lzma = xz-native
 IMAGE_DEPENDS_cpio.xz = xz-native
 IMAGE_DEPENDS_squashfs = squashfs-tools-native
 IMAGE_DEPENDS_squashfs-lzma = squashfs-tools-native
diff --git a/recipes/linux/linux-kexecboot.inc 
b/recipes/linux/linux-kexecboot.inc
index efa45f2..d1bf6aa 100644
--- a/recipes/linux/linux-kexecboot.inc
+++ b/recipes/linux/linux-kexecboot.inc
@@ -1,5 +1,5 @@
 # We set INC_PR here, since a change in the kexecboot recipe will need to get 
picked up by *all* the kernels:
-INC_PR = r39
+INC_PR = r40
 
 inherit kernel siteinfo
 
@@ -57,7 +57,7 @@ def kernel_version_less_or_equal(variable, checkvalue, 
truevalue, falsevalue, d)
 
 # force lzma compression for kernel (linux-kexecboot = 2.6.32)
 # force lzma compression for initramfs (linux-kexecboot = 2.6.30)
-DEPENDS += '${@kernel_version_less_or_equal(PV, 2.6.29, , lzma-native, 
d)}'
+DEPENDS += '${@kernel_version_less_or_equal(PV, 2.6.29, , xz-native, 
d)}'
 
 KERNEL_COMPRESSION = '${@kernel_version_less_or_equal(PV, 2.6.31, , 
CONFIG_KERNEL_LZMA=y, d)}'
 
-- 
1.7.0.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH 1/1] matrix-tui: Update to arago toolchain

2011-06-22 Thread Jeff Lance
* Modify to use arago MACHINE name for platforms
* Add all Sitara platforms
* Update SRCREV to 41

Signed-off-by: Jeff Lance j-lan...@ti.com
---
 recipes/ti/matrix-tui.inc|   12 +++-
 recipes/ti/matrix-tui_1.1.bb |4 ++--
 2 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/recipes/ti/matrix-tui.inc b/recipes/ti/matrix-tui.inc
index 1ad8aa8..a3793d3 100644
--- a/recipes/ti/matrix-tui.inc
+++ b/recipes/ti/matrix-tui.inc
@@ -9,13 +9,6 @@ INC_PR = r7
 
 COMPATIBLE_MACHINE = (omapl138|omap3)
 
-PLATFORM_am37x-evm = am3715
-PLATFORM_beagleboard = am3715
-PLATFORM_am3517-evm = am3517
-PLATFORM_am180x-evm = am180x
-PLATFORM_am181x-evm = am181x
-PLATFORM_da850-omapl138-evm = am180x
-
 SRC_URI = 
svn://gforge.ti.com/svn/matrix_tui/;module=trunk;proto=https;user=anonymous;pswd=''
 \
file://init \
 
@@ -28,7 +21,7 @@ S = ${WORKDIR}/trunk
 #INITSCRIPT_PARAMS = defaults 99
 
 do_configure() {
-   sed -i -e 's:PATH=${LINUX_DEVKIT_PATH}/arm-none-linux-gnueabi:PATH ?= 
${LINUX_DEVKIT_PATH}/arm-none-linux-gnueabi:' makefile.init
+   sed -i -e 's:PATH=${LINUX_DEVKIT_PATH}/arm-arago-linux-gnueabi:PATH ?= 
${LINUX_DEVKIT_PATH}/arm-arago-linux-gnueabi:' makefile.init
sed -i -e 's|LIBS :=|LIBS := ${LDFLAGS} |' Release/objects.mk
 }
 
@@ -39,11 +32,12 @@ do_compile() {
export TUI_INCLUDE_PATH=${STAGING_INCDIR}
export XML_INCLUDE_PATH=${STAGING_INCDIR}/libxml2
export TUI_LIB_PATH=${STAGING_LIBDIR}
+   export PLATFORM=${MACHINE}
make release
 }
 
 do_install() {
-   export PLATFORM=${PLATFORM}
+   export PLATFORM=${MACHINE}
make DESTDIR=${D} install
install -d ${D}${sysconfdir}/init.d/
install -c -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/matrix-tui
diff --git a/recipes/ti/matrix-tui_1.1.bb b/recipes/ti/matrix-tui_1.1.bb
index 9814d5f..7e95d62 100644
--- a/recipes/ti/matrix-tui_1.1.bb
+++ b/recipes/ti/matrix-tui_1.1.bb
@@ -1,4 +1,4 @@
 require matrix-tui.inc
 
-SRCREV = 37
-PR = ${INC_PR}.4
+SRCREV = 41
+PR = ${INC_PR}.5
-- 
1.7.0.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 1/1] matrix-tui: Update to arago toolchain

2011-06-22 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 22-06-11 21:02, Jeff Lance wrote:
 * Modify to use arago MACHINE name for platforms

This seems to use OE machine names, not arago ones.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOAlU7MkyGM64RGpERArNMAKCKDhoL6RlXDoer6iTxSqSSS/kz5gCgl7a/
QWX5DbueV0sa410g3jcZ/HU=
=a3L3
-END PGP SIGNATURE-


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 1/1] matrix-tui: Update to arago toolchain

2011-06-22 Thread Denys Dmytriyenko
On Wed, Jun 22, 2011 at 10:48:59PM +0200, Koen Kooi wrote:
 On 22-06-11 21:02, Jeff Lance wrote:
  * Modify to use arago MACHINE name for platforms
 
 This seems to use OE machine names, not arago ones.

Technically correct. But since Arago is just an OE distro, the machine names 
are the same. It's like arguing that omap3evm is not Angstrom machine... :)

-- 
Denys

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH v3] conf/bitbake: improve compression image handling and adapt linux-kexecboot.inc

2011-06-22 Thread Andrea Adami
...
-IMAGE_CMD_cpio.lzma = type cpio /dev/null; cd ${IMAGE_ROOTFS} 
(find . | cpio -o -H newc | lzma -c ${LZMA_COMPRESSION_LEVEL}
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma)
${EXTRA_IMAGECMD}

+IMAGE_CMD_cpio.lzma = type cpio /dev/null; cd ${IMAGE_ROOTFS} 
(find . | cpio -o -H newc | xz --format=lzma -c
${LZMA_COMPRESSION_LEVEL} --check=${XZ_INTEGRITY_CHECK}
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) ${EXTRA_IMAGECMD}


Hello, thx for refreshing the patch.

being that we have  two vars:
XZ_COMPRESSION_LEVEL ?= -e -9
LZMA_COMPRESSION_LEVEL ?= -e -9

wouldn't it better to use   XZ_COMPRESSION_LEVEL?
Remember (man xz) that lzma-utils '-9' is equivalent to xz-utils '-8'
in terms of dictionary/ram needed for decompression.

Regards

Andrea

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 1/1] matrix-tui: Update to arago toolchain

2011-06-22 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 22-06-11 23:08, Denys Dmytriyenko wrote:
 On Wed, Jun 22, 2011 at 10:48:59PM +0200, Koen Kooi wrote:
 On 22-06-11 21:02, Jeff Lance wrote:
 * Modify to use arago MACHINE name for platforms

 This seems to use OE machine names, not arago ones.
 
 Technically correct. But since Arago is just an OE distro, the machine names 
 are the same. It's like arguing that omap3evm is not Angstrom machine... :)

But since arago is not present in OE we shouldn't make such mistakes in
commit messages, no?

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOAmV1MkyGM64RGpERAm98AJ9Dr4/KQ+RCKIdCIYapLoNfVeTKggCgmdCl
/PBldHthKj8lIYWqUBfCFp0=
=wdiK
-END PGP SIGNATURE-


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 1/1] matrix-tui: Update to arago toolchain

2011-06-22 Thread Denys Dmytriyenko
On Wed, Jun 22, 2011 at 02:02:01PM -0500, Jeff Lance wrote:
 * Modify to use arago MACHINE name for platforms
 * Add all Sitara platforms
 * Update SRCREV to 41
 
 Signed-off-by: Jeff Lance j-lan...@ti.com

Jeff,

See my coments below.


 ---
  recipes/ti/matrix-tui.inc|   12 +++-
  recipes/ti/matrix-tui_1.1.bb |4 ++--
  2 files changed, 5 insertions(+), 11 deletions(-)
 
 diff --git a/recipes/ti/matrix-tui.inc b/recipes/ti/matrix-tui.inc
 index 1ad8aa8..a3793d3 100644
 --- a/recipes/ti/matrix-tui.inc
 +++ b/recipes/ti/matrix-tui.inc
 @@ -9,13 +9,6 @@ INC_PR = r7
  
  COMPATIBLE_MACHINE = (omapl138|omap3)
  
 -PLATFORM_am37x-evm = am3715
 -PLATFORM_beagleboard = am3715
 -PLATFORM_am3517-evm = am3517
 -PLATFORM_am180x-evm = am180x
 -PLATFORM_am181x-evm = am181x
 -PLATFORM_da850-omapl138-evm = am180x
 -
  SRC_URI = 
 svn://gforge.ti.com/svn/matrix_tui/;module=trunk;proto=https;user=anonymous;pswd=''
  \
   file://init \
  
 @@ -28,7 +21,7 @@ S = ${WORKDIR}/trunk
  #INITSCRIPT_PARAMS = defaults 99
  
  do_configure() {
 - sed -i -e 's:PATH=${LINUX_DEVKIT_PATH}/arm-none-linux-gnueabi:PATH ?= 
 ${LINUX_DEVKIT_PATH}/arm-none-linux-gnueabi:' makefile.init
 + sed -i -e 's:PATH=${LINUX_DEVKIT_PATH}/arm-arago-linux-gnueabi:PATH ?= 
 ${LINUX_DEVKIT_PATH}/arm-arago-linux-gnueabi:' makefile.init

I don't think this is needed. The whole point of that sed magic I put in 
there, is to make assignments of TUI_INCLUDE_PATH, XML_INCLUDE_PATH and 
TUI_LIB_PATH conditionally, so they can be overwritten below in the 
do_compile() task...


   sed -i -e 's|LIBS :=|LIBS := ${LDFLAGS} |' Release/objects.mk
  }
  
 @@ -39,11 +32,12 @@ do_compile() {
   export TUI_INCLUDE_PATH=${STAGING_INCDIR}
   export XML_INCLUDE_PATH=${STAGING_INCDIR}/libxml2
   export TUI_LIB_PATH=${STAGING_LIBDIR}
 + export PLATFORM=${MACHINE}
   make release
  }
  
  do_install() {
 - export PLATFORM=${PLATFORM}
 + export PLATFORM=${MACHINE}
   make DESTDIR=${D} install
   install -d ${D}${sysconfdir}/init.d/
   install -c -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/matrix-tui
 diff --git a/recipes/ti/matrix-tui_1.1.bb b/recipes/ti/matrix-tui_1.1.bb
 index 9814d5f..7e95d62 100644
 --- a/recipes/ti/matrix-tui_1.1.bb
 +++ b/recipes/ti/matrix-tui_1.1.bb
 @@ -1,4 +1,4 @@
  require matrix-tui.inc
  
 -SRCREV = 37
 -PR = ${INC_PR}.4
 +SRCREV = 41
 +PR = ${INC_PR}.5
 -- 
 1.7.0.4
 
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 1/1] matrix-tui: Update to arago toolchain

2011-06-22 Thread Maupin, Chase
 -Original Message-
 From: openembedded-devel-boun...@lists.openembedded.org
 [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
 Denys Dmytriyenko
 Sent: Wednesday, June 22, 2011 4:11 PM
 To: openembedded-devel@lists.openembedded.org
 Cc: Lance, Jeff
 Subject: Re: [oe] [PATCH 1/1] matrix-tui: Update to arago toolchain
 
 On Wed, Jun 22, 2011 at 02:02:01PM -0500, Jeff Lance wrote:
  * Modify to use arago MACHINE name for platforms
  * Add all Sitara platforms
  * Update SRCREV to 41
 
  Signed-off-by: Jeff Lance j-lan...@ti.com
 
 Jeff,
 
 See my coments below.
 
 
  ---
   recipes/ti/matrix-tui.inc|   12 +++-
   recipes/ti/matrix-tui_1.1.bb |4 ++--
   2 files changed, 5 insertions(+), 11 deletions(-)
 
  diff --git a/recipes/ti/matrix-tui.inc b/recipes/ti/matrix-tui.inc
  index 1ad8aa8..a3793d3 100644
  --- a/recipes/ti/matrix-tui.inc
  +++ b/recipes/ti/matrix-tui.inc
  @@ -9,13 +9,6 @@ INC_PR = r7
 
   COMPATIBLE_MACHINE = (omapl138|omap3)
 
  -PLATFORM_am37x-evm = am3715
  -PLATFORM_beagleboard = am3715
  -PLATFORM_am3517-evm = am3517
  -PLATFORM_am180x-evm = am180x
  -PLATFORM_am181x-evm = am181x
  -PLATFORM_da850-omapl138-evm = am180x
  -
   SRC_URI =
 svn://gforge.ti.com/svn/matrix_tui/;module=trunk;proto=https;user=anon
 ymous;pswd='' \
  file://init \
   
  @@ -28,7 +21,7 @@ S = ${WORKDIR}/trunk
   #INITSCRIPT_PARAMS = defaults 99
 
   do_configure() {
  -   sed -i -e 's:PATH=${LINUX_DEVKIT_PATH}/arm-none-linux-
 gnueabi:PATH ?= ${LINUX_DEVKIT_PATH}/arm-none-linux-gnueabi:'
 makefile.init
  +   sed -i -e 's:PATH=${LINUX_DEVKIT_PATH}/arm-arago-linux-
 gnueabi:PATH ?= ${LINUX_DEVKIT_PATH}/arm-arago-linux-gnueabi:'
 makefile.init
 
 I don't think this is needed. The whole point of that sed magic I put
 in
 there, is to make assignments of TUI_INCLUDE_PATH, XML_INCLUDE_PATH and
 TUI_LIB_PATH conditionally, so they can be overwritten below in the
 do_compile() task...

The makefile defaults have been changed to use arm-arago-linux-gnueabi instead 
of the arm-none-linux-gnueabi.  If you want these values to still be optionally 
assigned then you would still need these changes right?

Now perhaps a better way to do this is change the makefile.init to use the ?= 
optional assignment so that you don't need to do this sed magic.  Would that 
also work?

 
 
  sed -i -e 's|LIBS :=|LIBS := ${LDFLAGS} |' Release/objects.mk
   }
 
  @@ -39,11 +32,12 @@ do_compile() {
  export TUI_INCLUDE_PATH=${STAGING_INCDIR}
  export XML_INCLUDE_PATH=${STAGING_INCDIR}/libxml2
  export TUI_LIB_PATH=${STAGING_LIBDIR}
  +   export PLATFORM=${MACHINE}
  make release
   }
 
   do_install() {
  -   export PLATFORM=${PLATFORM}
  +   export PLATFORM=${MACHINE}
  make DESTDIR=${D} install
  install -d ${D}${sysconfdir}/init.d/
  install -c -m 0755 ${WORKDIR}/init
 ${D}${sysconfdir}/init.d/matrix-tui
  diff --git a/recipes/ti/matrix-tui_1.1.bb b/recipes/ti/matrix-
 tui_1.1.bb
  index 9814d5f..7e95d62 100644
  --- a/recipes/ti/matrix-tui_1.1.bb
  +++ b/recipes/ti/matrix-tui_1.1.bb
  @@ -1,4 +1,4 @@
   require matrix-tui.inc
 
  -SRCREV = 37
  -PR = ${INC_PR}.4
  +SRCREV = 41
  +PR = ${INC_PR}.5
  --
  1.7.0.4
 
 
  ___
  Openembedded-devel mailing list
  Openembedded-devel@lists.openembedded.org
  http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-
 devel
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] libshiboken: Do not override `DEPENDS`

2011-06-22 Thread Paul Menzel
Date: Mon, 20 Jun 2011 18:01:13 +0200

This is a fix up for commit 1b9260e7 [1].

commit 1b9260e7a6c756d6938821f013a41c371065980a
Author: Paul Menzel paulepan...@users.sourceforge.net
Date:   Sun Jun 19 11:45:37 2011 +0200

  shiboken: Add `apiextrator-native` to `DEPENDS`

This commit does not fix the mentioned error, that
`ApiExtractorConfig.cmake` is not built, since by using `=` instead of `
+=` the dependencies from the include file `shiboken.inc` are overriden
in the recipe.

This patch fixes the error and is built tested using `minimal` for
`MACHINE = beagleboard`.

[1] 
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=1b9260e7a6c756d6938821f013a41c371065980a

Signed-off-by: Paul Menzel paulepan...@users.sourceforge.net
CC: Simon Busch morp...@gravedo.de
---
 recipes/pyside/libshiboken_1.0.2.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/pyside/libshiboken_1.0.2.bb 
b/recipes/pyside/libshiboken_1.0.2.bb
index a9edded..91ea29b 100644
--- a/recipes/pyside/libshiboken_1.0.2.bb
+++ b/recipes/pyside/libshiboken_1.0.2.bb
@@ -1,6 +1,6 @@
 require shiboken.inc
 
-DEPENDS = python
+DEPENDS += python
 RDEPENDS_${PN} = python-core
 PR = ${INC_PR}.1
 
-- 
1.7.5.4


signature.asc
Description: This is a digitally signed message part
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] libfso-qt-embedded: Do not override `DEPENDS`

2011-06-22 Thread Paul Menzel
Date: Wed, 22 Jun 2011 23:41:38 +0200

Using `=` instead of `+=` overrides the dependencies declared in 
`libfso-qt.inc`.

Task configure therefore fails with the following errors.

1. `fso-specs` is not found.

checking for SPECS... no
configure: error: Package requirements (fso-specs = 2011.06.01.1) were 
not met:

No package 'fso-specs' found

2. `qfsodbusxml2cpp` is not found.

checking for QFSODBUSXML2CPP... no
configure: error: Package requirements (qfsodbusxml2cpp = 0.7.0) were 
not met:

No package 'qfsodbusxml2cpp' found

Using `+=` solves these problems and is built tested using `minimal` for 
`MACHINE = beagleboard`.

Signed-off-by: Paul Menzel paulepan...@users.sourceforge.net
CC: Simon Busch morp...@gravedo.de
---
 recipes/freesmartphone/libfso-qt-embedded_git.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/freesmartphone/libfso-qt-embedded_git.bb 
b/recipes/freesmartphone/libfso-qt-embedded_git.bb
index 647f439..641cf8d 100644
--- a/recipes/freesmartphone/libfso-qt-embedded_git.bb
+++ b/recipes/freesmartphone/libfso-qt-embedded_git.bb
@@ -2,5 +2,5 @@ require libfso-qt.inc
 
 PR = ${INC_PR}.0
 
-DEPENDS = qt4-embedded
+DEPENDS += qt4-embedded
 EXTRA_OECONF_append = --enable-qt-embedded
-- 
1.7.5.4


signature.asc
Description: This is a digitally signed message part
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 1/1] matrix-tui: Update to arago toolchain

2011-06-22 Thread Denys Dmytriyenko
On Wed, Jun 22, 2011 at 05:17:48PM -0500, Maupin, Chase wrote:
   @@ -28,7 +21,7 @@ S = ${WORKDIR}/trunk
#INITSCRIPT_PARAMS = defaults 99
  
do_configure() {
   - sed -i -e 's:PATH=${LINUX_DEVKIT_PATH}/arm-none-linux-
  gnueabi:PATH ?= ${LINUX_DEVKIT_PATH}/arm-none-linux-gnueabi:'
  makefile.init
   + sed -i -e 's:PATH=${LINUX_DEVKIT_PATH}/arm-arago-linux-
  gnueabi:PATH ?= ${LINUX_DEVKIT_PATH}/arm-arago-linux-gnueabi:'
  makefile.init
  
  I don't think this is needed. The whole point of that sed magic I put
  in
  there, is to make assignments of TUI_INCLUDE_PATH, XML_INCLUDE_PATH and
  TUI_LIB_PATH conditionally, so they can be overwritten below in the
  do_compile() task...
 
 The makefile defaults have been changed to use arm-arago-linux-gnueabi 
 instead of the arm-none-linux-gnueabi.  If you want these values to still be 
 optionally assigned then you would still need these changes right?
 
 Now perhaps a better way to do this is change the makefile.init to use the 
 ?= optional assignment so that you don't need to do this sed magic.  Would 
 that also work?

That would be great, thanks!


 sed -i -e 's|LIBS :=|LIBS := ${LDFLAGS} |' Release/objects.mk

Maybe you can add this one in the default Makefile too? :) Less hacking in the 
recipe.

-- 
Denys

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] linux-omap: Disable UART sleep timeout to avoid serial port problems on wakeup.

2011-06-22 Thread Joel A Fernandes
linux-omap: Disable UART sleep timeout to avoid serial port problems on wakeup.

Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
---
 ...0046-ARM-OMAP-beagle-disable-uart-timeout.patch |   21 
 recipes/linux/linux-omap-psp_2.6.32.bb |1 +
 2 files changed, 22 insertions(+), 0 deletions(-)

diff --git 
a/recipes/linux/linux-omap-psp-2.6.32/0046-ARM-OMAP-beagle-disable-uart-timeout.patch
 
b/recipes/linux/linux-omap-psp-2.6.32/0046-ARM-OMAP-beagle-disable-uart-timeout.patch
new file mode 100644
index 000..b0c0d0b
--- /dev/null
+++ 
b/recipes/linux/linux-omap-psp-2.6.32/0046-ARM-OMAP-beagle-disable-uart-timeout.patch
@@ -0,0 +1,21 @@
+commit 06a8d6478752403a617ed9fb9f6b78c31ad25020
+Author: Joel A Fernandes agnel.j...@gmail.com
+Date:   Tue Jun 21 17:31:13 2011 -0500
+
+omap: Disable UART sleep timeout to avoid serial port problems on wakeup.
+
+Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
+
+diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
+index 19805a7..35a24af 100644
+--- a/arch/arm/mach-omap2/serial.c
 b/arch/arm/mach-omap2/serial.c
+@@ -36,7 +36,7 @@
+ #define UART_OMAP_NO_EMPTY_FIFO_READ_IP_REV   0x52
+ #define UART_OMAP_WER 0x17/* Wake-up enable register */
+ 
+-#define DEFAULT_TIMEOUT (5 * HZ)
++#define DEFAULT_TIMEOUT 0
+ 
+ struct omap_uart_state {
+   int num;
diff --git a/recipes/linux/linux-omap-psp_2.6.32.bb 
b/recipes/linux/linux-omap-psp_2.6.32.bb
index da2e943..11e1f06 100644
--- a/recipes/linux/linux-omap-psp_2.6.32.bb
+++ b/recipes/linux/linux-omap-psp_2.6.32.bb
@@ -58,6 +58,7 @@ SRC_URI = 
git://arago-project.org/git/projects/linux-omap3.git;protocol=http;br
file://0043-MTD-silence-ecc-errors-on-mtdblock0.patch \

file://0044-ARM-OMAP-beagle-every-known-beagle-except-revB-uses-.patch \

file://0045-ARM-OMAP-beagle-add-support-for-beagleFPGA-expansion.patch \
+   file://0046-ARM-OMAP-beagle-disable-uart-timeout.patch \

file://cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch \
file://cam/0002-mt9t111-Fix-all-checkpatch-errors.patch \
file://cam/0003-mt9t111-Pass-v4l2_int_device-data.patch \

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel