[oe] [meta-handheld] linux.inc: be more strict in CONF_SED_SCRIPT

2011-10-25 Thread Martin Jansa
* without this ARM_THUMB is also removing ARM_THUMBEE from
  defconfig and not setting it back

Signed-off-by: Martin Jansa martin.ja...@gmail.com
---
 recipes-kernel/linux/linux.inc |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes-kernel/linux/linux.inc b/recipes-kernel/linux/linux.inc
index 7a25b59..781d5ba 100644
--- a/recipes-kernel/linux/linux.inc
+++ b/recipes-kernel/linux/linux.inc
@@ -24,7 +24,7 @@ LOCALVERSION ?= 
 
 #kernel_conf_variable CMDLINE \${CMDLINE} ${CMDLINE_DEBUG}\
 kernel_conf_variable() {
-   CONF_SED_SCRIPT=$CONF_SED_SCRIPT /CONFIG_$1/d;
+   CONF_SED_SCRIPT=$CONF_SED_SCRIPT /CONFIG_$1[ =]/d;
if test $2 = n
then
echo # CONFIG_$1 is not set  ${S}/.config
-- 
1.7.7


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


Re: [oe] [2011.03-maintenance] Pull request for binutils

2011-10-25 Thread Mats Kärrman
Tom,
I'm sorry for the slow progress but I'm working 100% on something else so this 
is overtime...
What is the correct practice; to fork the oe repository at GitHub or to create 
a username/maintenance branch in the same repo?
BR // Mats

From: openembedded-devel-boun...@lists.openembedded.org 
[openembedded-devel-boun...@lists.openembedded.org] on behalf of Tom Rini 
[tom.r...@gmail.com]
Sent: Tuesday, October 25, 2011 4:43 AM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [2011.03-maintenance] Pull request for binutils

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Oct 21, 2011, at 1:38 PM, Mats Kärrman wrote:

 Hello Tom,

 Please pull this commit from here:

 URI: git://git.openembedded.org/openembedded
 Branch: org.openembedded.dev (master)

 Paul Menzel (1):
  binutils-{canadian,cross}-sdk_2.18: Remove checksums and implicitly 
 update them

Sorry if it wasn't clear on the wiki page but what I'm asking for is a git 
branch you've created somewhere (github, gitorious, whatever, is fine) and 
tested that you've got all of the changes you need cherry-picked in or 
otherwise applied.  Thanks!

- --
Tom

-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk6mIkMACgkQdZngf2G4WwNWIwCfdDRM8w8ouqgCV4h7az5a797N
dxQAnjsK4/yvXOsbAxUJoCW95GdBQaqk
=SxUa
-END PGP SIGNATURE-

___
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] [2011.03-maintenance] Pull request for binutils

2011-10-25 Thread Anders Darander
* Mats Kärrman mats.karr...@tritech.se [111025 09:37]:
 I'm sorry for the slow progress but I'm working 100% on something else
 so this is overtime...

Unfortunately a too common situation...

 What is the correct practice; to fork the oe repository at GitHub or
 to create a username/maintenance branch in the same repo?

Well, unless you already have a git account, with rw permission
openembedded.org (and thus can push to e.g. openembedded), the easiest
thing should be to use another hosting. I'm using github for my
pull-requests to meta-oe and oe-core.

If you do that, just:
1) fork openembedded on github
2) add the remote to you local git-tree
3) push your local branch to github, using i.e. `git push github
featureXXX`, assuming that you named the remote github.

Cheers,
Anders

-- 
Anders Darander
ChargeStorm AB / eStorm AB

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


Re: [oe] [2011.03-maintenance] Pull request for binutils

2011-10-25 Thread Denys Dmytriyenko
On Tue, Oct 25, 2011 at 09:50:30AM +0200, Anders Darander wrote:
 * Mats K?rrman mats.karr...@tritech.se [111025 09:37]:
  I'm sorry for the slow progress but I'm working 100% on something else
  so this is overtime...
 
 Unfortunately a too common situation...
 
  What is the correct practice; to fork the oe repository at GitHub or
  to create a username/maintenance branch in the same repo?
 
 Well, unless you already have a git account, with rw permission
 openembedded.org (and thus can push to e.g. openembedded), the easiest
 thing should be to use another hosting. I'm using github for my
 pull-requests to meta-oe and oe-core.
 
 If you do that, just:
 1) fork openembedded on github
 2) add the remote to you local git-tree
 3) push your local branch to github, using i.e. `git push github
 featureXXX`, assuming that you named the remote github.

Just don't forget that you want your personal tree be at the tip of 
2011.03-maintenance branch, not the master oe.dev (which would otherwise be 
similar to what you just sent). Then you can cherry-pick the needed commit, 
push it to github and generate a pull request.

-- 
Denys

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


[oe] Creating an ejre receipe

2011-10-25 Thread itodroid
Greetings all.  I'm not sure of the frequency of posting to this list, but I
thought I would ask all of you a question regarding creating a recipe for
Oracle/Sun's embedded JRE.  I can't seem to figure out the syntax needed to
create an appropriate recipe for automatically including the ejre in my
image.

Everytime I try to bitbake, my deployment packet (ipk) is  1000 bytes.  In
other words, I think its empty.  The recipe should simply untar the .tar.gz
file and put it into a format that can be distributed into the sysroot (I'm
picking /usr/java for its destination).  I'd appreciate any
feedback/comments/fixes to the following:

DESCRIPTION = Oracle/Sun Embedded JRE
PV = 1.6.0
PR = 27
SRC_URI =
file://ejre-1_6_0_27-fcs-b07-linux-arm-vfp-eabi-headless-18_jul_2011.tar.gz


S = ${WORKDIR}

SRC_URI[md5sum]=b30175c5168e1df394bc79474583f2a3
SRC_URI[sha256sum]=d8b02bd16c95435d9c460cea060bc10b6eda00a2e8864d6412074903
dd73243c

do_compile() {
}

do_install() {
  install -d ${D}/usr/java
  cp -R ${S}/ejre${PV}_${PR}/* ${D}/usr/java
}

do_qa_staging() {
}

do_package_qa() {
}

FILES_${PN} =  \
  ${D}/usr/java/* \


PACKAGE = ${PN}


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


Re: [oe] Creating an ejre receipe

2011-10-25 Thread Phil Blundell
On Tue, 2011-10-25 at 12:23 -0700, itodroid wrote:
 FILES_${PN} =  \
   ${D}/usr/java/* \
 

That's probably your issue.  Try removing that ${D} and see if your
situation improves.

p.



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


[oe] [PATCH meta-oe] memtester: Corrected recipe following review comments and guidelines

2011-10-25 Thread Joel A Fernandes
This is an import of memtester from OE classic,
commit ID: 5671855bfba71575e4919c4b5fc9c5dcb8052612

Fixes to recipe:
* Added patch header to Makefile.patch
* Corrected order of variables and added HOMEPAGE to recipe
* Removed the line, S = ${WORKDIR}/memtester-${PV} as its the default
* Removed new-line at end of recipe

Signed-off-by: Joel A Fernandes joelag...@ti.com
---
 .../memtester/files/Makefile.patch |   23 +++
 .../recipes-benchmark/memtester/memtester_4.1.3.bb |6 +---
 2 files changed, 20 insertions(+), 9 deletions(-)

diff --git a/meta-oe/recipes-benchmark/memtester/files/Makefile.patch 
b/meta-oe/recipes-benchmark/memtester/files/Makefile.patch
index 57a0464..971e52a 100644
--- a/meta-oe/recipes-benchmark/memtester/files/Makefile.patch
+++ b/meta-oe/recipes-benchmark/memtester/files/Makefile.patch
@@ -1,8 +1,18 @@
-Index: memtester-4.0.5/Makefile
-===
 memtester-4.0.5.orig/Makefile  2005-03-14 06:02:30.0 -0800
-+++ memtester-4.0.5/Makefile   2006-07-08 23:53:42.0 -0700
-@@ -24,8 +24,8 @@
+From 9a950b14b9f7767d83e5faac2e1e8203c500e2c2 Mon Sep 17 00:00:00 2001
+From: Rod Whitby r...@whitby.id.au
+Date: Tue, 25 Oct 2011 18:43:50 -0500
+Subject: [PATCH] memtester: Added patch to Makefile to change 
no-longer-supported 'head -1' syntax to 'head -n 1'.
+
+Signed-off-by: Joel A Fernandes joelag...@ti.com
+---
+ Makefile |4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index a271bf5..6bccff3 100644
+--- a/Makefile
 b/Makefile
+@@ -32,8 +32,8 @@ install: all
  auto-ccld.sh: \
  conf-cc conf-ld warn-auto.sh
( cat warn-auto.sh; \
@@ -13,3 +23,6 @@ Index: memtester-4.0.5/Makefile
)  auto-ccld.sh
  
  compile: \
+-- 
+1.7.0.4
+
diff --git a/meta-oe/recipes-benchmark/memtester/memtester_4.1.3.bb 
b/meta-oe/recipes-benchmark/memtester/memtester_4.1.3.bb
index 9f4e53e..f220553 100644
--- a/meta-oe/recipes-benchmark/memtester/memtester_4.1.3.bb
+++ b/meta-oe/recipes-benchmark/memtester/memtester_4.1.3.bb
@@ -1,5 +1,6 @@
-SECTION = console/utils
 DESCRIPTION = Utility to test for faulty memory subsystem
+HOMEPAGE = http://pyropus.ca/software/memtester/;
+SECTION = console/utils
 LICENSE = GPLv2
 
 LIC_FILES_CHKSUM = file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3
@@ -10,8 +11,6 @@ SRC_URI += file://Makefile.patch
 SRC_URI[md5sum] = e562451620cf5343016950462bc0dc38
 SRC_URI[sha256sum] = 
ac56f0b6d6d6e58bcf2a3fa7f2c9b29894f5177871f21115a1906c535106acf6
 
-S = ${WORKDIR}/memtester-${PV}
-
 do_compile () {
echo '${CC} ${CFLAGS} -DPOSIX -c'  conf-cc
echo '${CC} ${LDFLAGS}'  conf-ld
@@ -24,4 +23,3 @@ do_install () {
install -m 0755 memtester ${D}${bindir}/
install -m 0755 memtester.8 ${D}${mandir}/man8/
 }
-
-- 
1.7.0.4


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