Patchwork [*RFC,CONSOLIDATED,PULL,RFC*,16/23] uclibc: remove PACKAGE_ARCH, fix compilation on i586

login
register
mail settings
Submitter Saul Wold
Date June 13, 2011, 6:54 a.m.
Message ID <22f849c8a4e592ed6a828d85a353dcfaf1e558be.1307947593.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/5723/
State New, archived
Headers show

Comments

Saul Wold - June 13, 2011, 6:54 a.m.
From: Phil Blundell <pb@pbcl.net>

There is no good reason for uclibc to be machine specific.  Remove local
assignment to PACKAGE_ARCH so that it gets the default target
architecture and bump PR for that change.

See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/003064.html

Signed-off-by: Phil Blundell <philb@gnu.org>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/uclibc/uclibc_git.bb |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
Phil Blundell - June 13, 2011, 8:34 a.m.
On Sun, 2011-06-12 at 23:54 -0700, Saul Wold wrote:
> From: Phil Blundell <pb@pbcl.net>
> 
> There is no good reason for uclibc to be machine specific.  Remove local
> assignment to PACKAGE_ARCH so that it gets the default target
> architecture and bump PR for that change.

I just noticed that I forgot to update the subject line when I split
this patch into three.  This part no longer has anything to do with i586
compile fixes; it should just be "uclibc: remove PACKAGE_ARCH".

p.

Patch

diff --git a/meta/recipes-core/uclibc/uclibc_git.bb b/meta/recipes-core/uclibc/uclibc_git.bb
index f5c861b..b8f58f0 100644
--- a/meta/recipes-core/uclibc/uclibc_git.bb
+++ b/meta/recipes-core/uclibc/uclibc_git.bb
@@ -2,11 +2,9 @@  SRCREV="71d63ed75648da9b0b71afabb9c60aaad792c55c"
 
 require uclibc.inc
 PV = "0.9.31+0.9.32rc3"
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc"
 
-#recent versions uclibc require real kernel headers
-PACKAGE_ARCH = "${MACHINE_ARCH}"
 FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}"
 
 SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \