scm/bb/tizen-distro.git
12 years agogtk-engines: fix build with glib-2.32
Martin Jansa [Thu, 3 May 2012 05:42:52 +0000 (07:42 +0200)]
gtk-engines: fix build with glib-2.32

(From OE-Core rev: 93a4f4a8e7c298c5a19e757ae797328369da104e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonfs-utils: don't try to unload nfsd module
Andreas Oberritter [Mon, 30 Apr 2012 19:58:00 +0000 (21:58 +0200)]
nfs-utils: don't try to unload nfsd module

* When nfsserver get's stopped, "modprobe -r nfsd" may
  hang indefinitely. As there's no need to unload the
  module, just remove the call to modprobe.

(From OE-Core rev: aba81b64679ec0b1809946cb480e261af47f7625)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopulseaudio: disable tcpwrap by default
Saul Wold [Wed, 2 May 2012 18:32:19 +0000 (11:32 -0700)]
pulseaudio: disable tcpwrap by default

This ensures that tcpwrapper usage is always disabled, this was
inconsistent because it would test for libwrap and sometimes enable
and sometimes not.

This ensures consistent build reproducibility.

(From OE-Core rev: afa0efc3473fb5ba88d95594e382da2e03145c3b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuilder: Add Please Wait Dialog Box
Saul Wold [Tue, 1 May 2012 23:15:36 +0000 (16:15 -0700)]
builder: Add Please Wait Dialog Box

Add dialog box while bitbake starts hob to inform user
to please wait for the hob screen to become visible.

(From OE-Core rev: d4d8dd9e272ee651b98bb336e96be601af366d41)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognutls: Update to 2.12.18
Saul Wold [Mon, 30 Apr 2012 20:37:43 +0000 (13:37 -0700)]
gnutls: Update to 2.12.18

Change the SRC_URI to use the GNU_MIRROR

(From OE-Core rev: 753b22012f10c393c191d3116b9d38ee4be6d112)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxauth: Update to 1.0.7
Saul Wold [Mon, 30 Apr 2012 18:27:54 +0000 (11:27 -0700)]
xauth: Update to 1.0.7

(From OE-Core rev: 7f020c1e8429ab510f4c41ac7b7abfdd4db308fb)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobigreqsproto: Update to 1.1.2
Saul Wold [Mon, 30 Apr 2012 18:27:32 +0000 (11:27 -0700)]
bigreqsproto: Update to 1.1.2

(From OE-Core rev: cb96670f21707f8ae7ad58a6cb67cfaa6d7871a3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxkbcomp: Update to 1.2.4
Saul Wold [Mon, 30 Apr 2012 18:27:05 +0000 (11:27 -0700)]
xkbcomp: Update to 1.2.4

(From OE-Core rev: 7bab740e59bc25c9887d1e38e8106073b0c8c5af)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomc: Update to 4.8.3
Saul Wold [Mon, 30 Apr 2012 18:26:48 +0000 (11:26 -0700)]
mc: Update to 4.8.3

(From OE-Core rev: b947c322efbe6984467717004105e2f8ed7588d8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: Update to 2.21.1
Saul Wold [Mon, 30 Apr 2012 18:26:24 +0000 (11:26 -0700)]
util-linux: Update to 2.21.1

(From OE-Core rev: 2114d734b9c4ace980ef9fa30dd5b5f76f49b934)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocairo: Update to 1.12.2
Saul Wold [Mon, 30 Apr 2012 18:26:06 +0000 (11:26 -0700)]
cairo: Update to 1.12.2

Clean up some packaging issues, cairo-sphinx was installed
and is a testing tool that does not need to be packaged

(From OE-Core rev: 6a0dac89932b41502bb55a2dae07d835ca3c6245)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxhost: Update to 1.0.5
Saul Wold [Mon, 30 Apr 2012 18:25:38 +0000 (11:25 -0700)]
xhost: Update to 1.0.5

(From OE-Core rev: eb087d8dacab9e4a7ea1fce35cd86b0c71f0a630)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxmodmap: Update to 1.0.7
Saul Wold [Mon, 30 Apr 2012 18:24:05 +0000 (11:24 -0700)]
xmodmap: Update to 1.0.7

(From OE-Core rev: 6615decca17874dcd212d7a17bb3078808a705fb)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibtasn1: Update to 2.12
Saul Wold [Mon, 30 Apr 2012 18:23:33 +0000 (11:23 -0700)]
libtasn1: Update to 2.12

Use the GUN_MIRROR correctly

(From OE-Core rev: 7ab772c7de029734ccffd239ddc2a4e2953a1bb0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoresolvconf: Update to 1.65
Saul Wold [Mon, 30 Apr 2012 18:22:56 +0000 (11:22 -0700)]
resolvconf: Update to 1.65

(From OE-Core rev: 066e9a8aa13d33f0f96f036dfcbf48e0e0dab80f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro-tracking: update as per recent recipe upgrades
Nitin A Kamble [Mon, 30 Apr 2012 21:33:40 +0000 (14:33 -0700)]
distro-tracking: update as per recent recipe upgrades

(From OE-Core rev: 59522839dcfa6a9e95b0a8d0e1e2f210fc02e75d)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: upgrade from 2.7.2 to 2.7.3
Nitin A Kamble [Tue, 1 May 2012 17:23:29 +0000 (10:23 -0700)]
python: upgrade from 2.7.2 to 2.7.3

bin/python2 link is provided by the python install process,
so no need to create it.

rebase these patches to the newer code:
 fix_for_using_different_libdir.patch
 04-default-is-optimized.patch
remove this patch as it is upstream now:
 sys_platform_is_now_always_linux2.patch

Change default python version to 2.7.3 in the distro config

(From OE-Core rev: 5d92a95ea9b480235b7c9ca5949a681376eba725)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb: upgrade from 7.4 to 7.4.1
Nitin A Kamble [Mon, 30 Apr 2012 21:56:26 +0000 (14:56 -0700)]
gdb: upgrade from 7.4 to 7.4.1

(From OE-Core rev: a93e087d98f6b537d26932be85c80402337d15cb)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
[Fixed sha256 - sgw]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoquilt: upgrade from 0.51 to 0.60
Nitin A Kamble [Mon, 30 Apr 2012 21:37:25 +0000 (14:37 -0700)]
quilt: upgrade from 0.51 to 0.60

(From OE-Core rev: 0e6843e7a3ed3b12e5f2bc6273047c2be5e47489)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomakedepend: upgrade from 1.0.3 to 1.0.4
Nitin A Kamble [Mon, 30 Apr 2012 21:31:42 +0000 (14:31 -0700)]
makedepend: upgrade from 1.0.3 to 1.0.4

(From OE-Core rev: 4b3ab58c4319607aaa9ce6075d221a48b359feae)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcmode-external-csl: use the existing precompiled locale files
Christopher Larson [Mon, 16 Apr 2012 20:18:22 +0000 (15:18 -0500)]
tcmode-external-csl: use the existing precompiled locale files

(From OE-Core rev: 3679de3e7085504a3f717e54d8adc9a0d53c5840)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibc-package: rework ''precompiled' locale handling
Christopher Larson [Fri, 27 Apr 2012 04:03:55 +0000 (23:03 -0500)]
libc-package: rework ''precompiled' locale handling

There were a couple problems with the handling of precompiled locales.

- it gathered the list of locales from the directories - this breaks due to
  the naming mismatch, e.g. en_US.UTF-8 vs en_US.utf8.
- it retained its hardcoded assumption that the non-suffixed locale (en_US, as
  opposed to en_US.*) is UTF-8, while the others are otherwise. Hardcoding
  this is both inflexible and just plain wrong for some toolchains. It's most
  common in desktop distros for 'en_US' to be non-utf8, and ''en_US.UTF-8' is
  utf8, and this is the case in some external toolchains as well.

The code now uses the SUPPORTED file to hold the knowledge it needs. This file
not only holds the list of locales to generate, but also maps the locale names
to the charsets they correspond to. The code now uses this to assemble its
charset map, falling back to the '.' suffix as charset when the locale is not
in the map. For precompiled, it now uses the locale->charset knowledge it has,
thereby allowing non-utf8 non-suffixed locale names, whereas for
non-precompiled, it reverts to the previous assumption, renaming the utf8
locale and forcibly suffixing the others.

So, a person maintaining an external toolchain recipe is responsible for
ensuring that the SUPPORTED file they provide matches up with the compiled
locales in the toolchain, if they want to utilize precompiled locales.

I believe in the long term the compiled case should do the same thing
precompiled does, and use SUPPORTED or a similar mechanism to encode the
knowledge, and if people want all the non-suffixed names to be utf8, they can
change that file to do so. This would avoid the hardcoded assumption in the
code, as well as consolidating the behavior between the compiled and
precompiled cases.

(From OE-Core rev: 3f36058923ccda25a3dd85046542e65b6034c09e)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotclibc-eglibc: drop hardcoded locale-base-en-us/en-gb
Christopher Larson [Fri, 27 Apr 2012 22:39:12 +0000 (17:39 -0500)]
tclibc-eglibc: drop hardcoded locale-base-en-us/en-gb

This is handled by IMAGE_LINGUAS, so hardcoding it here is at best unnecessary
duplication.

(From OE-Core rev: 7808c7ee9277170fbfb22bcf0575285174c2718a)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-csl-toolchain: update SUPPORTED to match toolchain
Christopher Larson [Fri, 27 Apr 2012 04:04:15 +0000 (23:04 -0500)]
external-csl-toolchain: update SUPPORTED to match toolchain

(From OE-Core rev: 65f3868c25df053ddf6ad2201ea0d68dc5c68fb1)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-csl-toolchain: cleanup, simplify, use base_libdir
Christopher Larson [Mon, 16 Apr 2012 20:32:16 +0000 (15:32 -0500)]
external-csl-toolchain: cleanup, simplify, use base_libdir

(From OE-Core rev: be158f5cb6650b761ac2f3649d071c051329a799)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-csl-toolchain: silence .a/.debug QA warnings
Christopher Larson [Mon, 16 Apr 2012 20:21:07 +0000 (15:21 -0500)]
external-csl-toolchain: silence .a/.debug QA warnings

(From OE-Core rev: a5f204130ff1232deb5f4b449961296d397630b4)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-csl-toolchain: split out a libstdc++-staticdev package
Christopher Larson [Mon, 16 Apr 2012 19:32:01 +0000 (14:32 -0500)]
external-csl-toolchain: split out a libstdc++-staticdev package

This silences one of the QA warnings.

(From OE-Core rev: 3412a1d69201951dd097e4d9a4abcec124d34d68)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocsl-versions.inc: capture version in signatures
Christopher Larson [Mon, 16 Apr 2012 20:16:38 +0000 (15:16 -0500)]
csl-versions.inc: capture version in signatures

We want to ensure that changing external toolchain version will change the
metadata checksums of target recipes. This will do so via ensuring that any
variable which references TOOLCHAIN_OPTIONS also pulls in the toolchain
version variables.

(From OE-Core rev: 041a61368350dfbca825d2b2781543ea22678161)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase.bbclass: use isinstance for base_eventhandler
Christopher Larson [Fri, 27 Apr 2012 04:34:58 +0000 (23:34 -0500)]
base.bbclass: use isinstance for base_eventhandler

(From OE-Core rev: 86556a2bfa23ba69fea2ade14599054b186150cd)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: shift build config summary control to here
Christopher Larson [Fri, 27 Apr 2012 04:32:31 +0000 (23:32 -0500)]
bitbake.conf: shift build config summary control to here

(From OE-Core rev: 164df0708d9add81be7d1fd56d487253062756d8)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibsndfile1: use PACKAGECONFIG for alsa distro feature
Christopher Larson [Mon, 16 Apr 2012 16:05:01 +0000 (11:05 -0500)]
libsndfile1: use PACKAGECONFIG for alsa distro feature

(From OE-Core rev: af593b5a3a8e1e552b34ca2785894ac468763024)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpcap: use PACKAGECONFIG for bluetooth distro feature
Christopher Larson [Sat, 7 Apr 2012 00:01:51 +0000 (19:01 -0500)]
libpcap: use PACKAGECONFIG for bluetooth distro feature

(From OE-Core rev: 78821b3a893c8934d0f0f54df46cdbbc37f082d8)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistcc: use PACKAGECONFIG for x11 distro feature
Christopher Larson [Fri, 6 Apr 2012 20:59:08 +0000 (15:59 -0500)]
distcc: use PACKAGECONFIG for x11 distro feature

(From OE-Core rev: c2bebf05752ec01144e32dbf2bbe4cfa86ae67df)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: add missing flex-native/bison-native deps
Christopher Larson [Mon, 9 Apr 2012 23:00:28 +0000 (18:00 -0500)]
mesa: add missing flex-native/bison-native deps

A quick glance at configure.ac shows that both are required to build mesa, but
we were relying on their being built implicitly via other recipes in the
dependency chain. Make it explicit.

(From OE-Core rev: 4fb71999fad9e844850831caf2431ee8731787db)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocreate-recipe: base on autospectacle.pl to create recipe file
Kang Kai [Tue, 13 Mar 2012 03:23:59 +0000 (11:23 +0800)]
create-recipe: base on autospectacle.pl to create recipe file

[Yocto 1656]
create-recipe is based on original autospectacle.pl from project Meego.
Add feature to create a recipe .bb file. It requires a parameter to be
told where to download source package, then download and parse.
Create recipe file according to parse results.

(From OE-Core rev: e1f3a0bcce7b24d6c48e6c92c54bcb03858a5748)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautospectacle.pl: pull it from meego as a base
Kang Kai [Tue, 13 Mar 2012 03:00:15 +0000 (11:00 +0800)]
autospectacle.pl: pull it from meego as a base

This autospectacle.pl is from meego project
http://meego.gitorious.org/meego-developer-tools/autospectacle

And take its latest
commit f462b759c6f569f35283d0885c97ae53b010bb03
as base of Yocto 1656: Recipe creation/import script.

(From OE-Core rev: 74b1d119cf3712a64d627a2adc1adcf7b8cd4123)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgcc: Add MLPREFIX to sanity check skip
Saul Wold [Tue, 1 May 2012 15:08:48 +0000 (08:08 -0700)]
libgcc: Add MLPREFIX to sanity check skip

Fixes:
ERROR: QA Issue: non -staticdev package contains static .a library: lib32-libgcov-dev path '/work/x86-pokymllib32-linux/lib32-libgcc-4.7.0+svnr186651-r0/packages-split/lib32-libgcov-dev/usr/lib/i586-pokymllib32-linux/4.7.1/libgcov.a'
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/work/x86-pokymllib32-linux/lib32-libgcc-4.7.0+svnr186651-r0/temp/log.do_package.9691
NOTE: package lib32-libgcc-4.7.0+svnr186651-r0: task do_package: Failed
ERROR: Task 1077 (virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/meta/recipes-devtools/gcc/libgcc_4.7.bb, do_package) failed with exit code '1'
(From OE-Core rev: dd303065890e44f6f2c986988938c3599ea94e4f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoUpdate version to 1.15.2 (correspdoning to Yocto 1.2 release)
Richard Purdie [Tue, 1 May 2012 15:07:50 +0000 (16:07 +0100)]
Update version to 1.15.2 (correspdoning to Yocto 1.2 release)

(Bitbake rev: 270a05b0b4ba0959fe0624d2a4885d7b70426da5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc-package: remove /var
Saul Wold [Sat, 28 Apr 2012 15:23:23 +0000 (08:23 -0700)]
eglibc-package: remove /var

This is a newly installed directory and Makefile that is not needed
in an embedded setup

It fixes:
ERROR: For recipe eglibc, the following files/directories were installed but not shipped in any package:
ERROR:   /var
ERROR:   /var/db
ERROR:   /var/db/Makefile

(From OE-Core rev: 35b5fb2dd2131d4c7dc6635c14c6e08ea6926457)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoFix a couple of missing Upstream-Status
Saul Wold [Mon, 30 Apr 2012 15:46:35 +0000 (08:46 -0700)]
Fix a couple of missing Upstream-Status

(From OE-Core rev: 7555519e4878380c106f120e48aaa971bb6ac00f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking_fields: Change for ofono, iptables, etc
Dongxiao Xu [Sat, 28 Apr 2012 08:08:46 +0000 (16:08 +0800)]
distro_tracking_fields: Change for ofono, iptables, etc

(From OE-Core rev: 046f55ea8e9286560660cee4d2d50f7b539c3e3b)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoalsa-tools: update to 1.0.25
Kang Kai [Thu, 26 Apr 2012 09:24:48 +0000 (17:24 +0800)]
alsa-tools: update to 1.0.25

Update to version 1.0.25.
Add option "--prefix" to GITCOMPILE_ARGS and FILES_${PN} to package
the installed but not shipped files.

(From OE-Core rev: f5da0cdc2ac2e14704319a83bd39e1e0e85ffaed)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg-collateral: import fixes from OE-Classic
Andreas Oberritter [Thu, 26 Apr 2012 22:19:22 +0000 (00:19 +0200)]
opkg-collateral: import fixes from OE-Classic

* Set lists_dir to /var/lib/opkg

  commit 16808bc4817492beba512f4e73bce8c232d1eafa
  Author: Marcin Juszkiewicz <hrw@openembedded.org>
  Date:   Mon Mar 17 23:40:48 2008 +0000

* Update new options sample and move the opkg.conf to correct place

  commit cc9825d97962287df75e164aec456901292e1b7f
  Author: Tick Chen <ticktock35@gmail.com>
  Date:   Mon Dec 29 19:41:47 2008 +0800

(From OE-Core rev: ffe93e2a099e4cadb1829dc12a58a6d7bef9a5a7)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg-utils: bump SRCREV for Packages cache fix and other fixes
Martin Jansa [Thu, 29 Mar 2012 22:19:59 +0000 (00:19 +0200)]
opkg-utils: bump SRCREV for Packages cache fix and other fixes

(From OE-Core rev: 5863e2ae81b7840d6cb9b80641a7fd69ce4d6f1f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxorg: add more native BBCLASSEXTENDs from meta-oe
Martin Jansa [Wed, 21 Mar 2012 07:51:39 +0000 (08:51 +0100)]
xorg: add more native BBCLASSEXTENDs from meta-oe

* We have now .bbappends in meta-oe, but adding native BBCLASSEXTEND
  doesn't add any maintenance cost to oe-core and makes recipe upgrades
  easier (no need to wait for .bbappend renames ready for meta-oe).

(From OE-Core rev: 320816f96b81b8eac02b5bbdbd3d8c79d0095a00)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: Pass HOST_CC_ARCH through CONFIG_EXTRA_CFLAGS
Khem Raj [Wed, 25 Apr 2012 22:44:06 +0000 (15:44 -0700)]
busybox: Pass HOST_CC_ARCH through CONFIG_EXTRA_CFLAGS

The -mabi option is part of HOST_CC_ARCH which does not
appear in CFLAGS. This is for completeness since compiler
already defaults to n64 it wont matter that much

(From OE-Core rev: 2aa0540515efc15957101e24224b425ee00446d9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb: Add support for building gdb target for SH4
Khem Raj [Wed, 25 Apr 2012 22:45:32 +0000 (15:45 -0700)]
gdb: Add support for building gdb target for SH4

(From OE-Core rev: d478424fbe01942577ab541174df191528556554)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopcmanfm: Add sh3/sh4 to supported hosts
Khem Raj [Mon, 30 Apr 2012 17:33:53 +0000 (10:33 -0700)]
pcmanfm: Add sh3/sh4 to supported hosts

(From OE-Core rev: f64dfe61234eee27b61f994ec9598bf9e820d271)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-cross.inc: Fix cross testing script
Khem Raj [Sat, 28 Apr 2012 15:15:30 +0000 (08:15 -0700)]
gcc-cross.inc: Fix cross testing script

shift the cmdline argument after determining
there is atleast 1 argument to shift otherwise
it ends up in error when no argument is specified

(From OE-Core rev: 4cd306ab0c9404a31f38c7e5fb67fe32fdca3d4b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb: Dont need lttng-ust for SH4
Khem Raj [Fri, 27 Apr 2012 21:24:56 +0000 (14:24 -0700)]
gdb: Dont need lttng-ust for SH4

(From OE-Core rev: ad9e844e5349a5bbea1ce60b75e5b1e55db9039e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomusicbrainz: Specify libpthread on cmdline for uclibc
Khem Raj [Sat, 14 Apr 2012 01:47:48 +0000 (18:47 -0700)]
musicbrainz: Specify libpthread on cmdline for uclibc

uclibc librt needs some functionality from libpthread

(From OE-Core rev: 302e212ae00e06078da6085dcb2b541ab02f6f6e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext,m4: Add -lrt to LDFLAGS for uclibc
Khem Raj [Thu, 12 Apr 2012 06:02:53 +0000 (23:02 -0700)]
gettext,m4: Add -lrt to LDFLAGS for uclibc

uclibc has recently got posix_spawn implementation
and the implementation resided in librt so we link
-lrt to get the configure tests using uclibc provided
definitions and not the gnu-lib wrappers

Let libintl.a live in -staticdev package

(From OE-Core rev: 68e07a5ff114b5f413a5eeedeb551d82bc77774c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: Dont disable iconv for uclibc
Khem Raj [Sun, 29 Apr 2012 21:59:15 +0000 (14:59 -0700)]
glib-2.0: Dont disable iconv for uclibc

Currently we stub out iconv in glib when building
for uclibc which is not needed and infact results
in building systems with false hope of having
iconv and they misbehave during runtime

(From OE-Core rev: d13b1dc1897af733cc2ec22df50ae9d1fd0b48af)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouclibc-0.9.33: Update to tip of 0.9.33 branch
Khem Raj [Sun, 29 Apr 2012 17:27:43 +0000 (10:27 -0700)]
uclibc-0.9.33: Update to tip of 0.9.33 branch

(From OE-Core rev: ce0007e7561e67f57f6e6ba3a63f327a21a6cf96)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouclibc-git: Update to latest git tip
Khem Raj [Sat, 28 Apr 2012 15:28:34 +0000 (08:28 -0700)]
uclibc-git: Update to latest git tip

(From OE-Core rev: 0ba05b985b59f7200005e8fd28be6ebca019c46c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotune-sh4.inc: Fix spelling of big-endian feature set
Peter Seebach [Fri, 27 Apr 2012 23:51:46 +0000 (18:51 -0500)]
tune-sh4.inc: Fix spelling of big-endian feature set

In tune-sh3, tune-xscale, and tune-sh4, several FEATURES lines referred
to nonexistent features like "sh3eb" when they should have referred to "sh3
bigendian" or the like.  Caught by the TUNEVALID sanity check.

(From OE-Core rev: e63fb1e9918bff6f91bbab09b29248ab8b649e84)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoofono: upgrade to 1.6
Martin Jansa [Sun, 29 Apr 2012 08:46:42 +0000 (10:46 +0200)]
ofono: upgrade to 1.6

* 1.5 is not compatible with glib-2.32 and newer
  | In file included from gisi/client.h:30:0,
  |                  from gisi/client.c:33:
  |/OE/shr-core/tmp-eglibc/sysroots/spitz/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."

(From OE-Core rev: 72684aac1d97469ee5cf9ef0d017a8b933e2a6d6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoiptables: upgrade to version 1.4.13
Dongxiao Xu [Fri, 27 Apr 2012 08:25:44 +0000 (16:25 +0800)]
iptables: upgrade to version 1.4.13

Remove a patch since it is already in upstream.

(From OE-Core rev: 90f32e0fffaef55415088f523e282ca3c08fa7ee)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez-hcidump: upgrade to version 2.4
Dongxiao Xu [Fri, 27 Apr 2012 07:14:30 +0000 (15:14 +0800)]
bluez-hcidump: upgrade to version 2.4

(From OE-Core rev: dbab058af2ef513c1ff358fc620f3e7937a30ab9)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotelepathy-glib: upgrade to version 0.18.1
Dongxiao Xu [Fri, 27 Apr 2012 07:12:28 +0000 (15:12 +0800)]
telepathy-glib: upgrade to version 0.18.1

(From OE-Core rev: d4ae664263df2ebe8bbed913b4c6b56b02bc0a45)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotelepathy-mission-control: upgrade to version 5.12.0
Dongxiao Xu [Fri, 27 Apr 2012 07:07:28 +0000 (15:07 +0800)]
telepathy-mission-control: upgrade to version 5.12.0

(From OE-Core rev: e3297c55b3f6a1e2fe032b0b0a980955c8ba9106)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-fluendo-mpegdemux: upgrade to version 0.10.70
Dongxiao Xu [Fri, 27 Apr 2012 01:19:35 +0000 (09:19 +0800)]
gst-fluendo-mpegdemux: upgrade to version 0.10.70

(From OE-Core rev: f0b3234ef2f6e2b0ea47fba382ccc1e963aeb67c)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt-4.8.1: Fix compile failures on qemux86
Richard Purdie [Mon, 30 Apr 2012 09:35:11 +0000 (09:35 +0000)]
qt-4.8.1: Fix compile failures on qemux86

(From OE-Core rev: b8dc9182ed8959ce5a6aa285c3c7f78df2432ac3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcl: fix target recipe build issue on older distros
Nitin A Kamble [Thu, 26 Apr 2012 22:53:19 +0000 (15:53 -0700)]
tcl: fix target recipe build issue on older distros

the builddir is put in front of the LD_LIBRARY_PATH, causing dynamically
linking of target library with native tclsh.

Fix this behavior to cross build tcl correctly.

This issue got exposed when eglibc-2.15 was configured for the target.

(From OE-Core rev: 76e8df78bdb641b045e34dcf01d7b9eb626401dc)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcmode-default.inc: Update to eglibc 2.15 everywhere
Richard Purdie [Fri, 27 Apr 2012 16:11:35 +0000 (17:11 +0100)]
tcmode-default.inc: Update to eglibc 2.15 everywhere

(From OE-Core rev: 08a251a8dcbac85e0627a886bfff0907d950da7f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm: Only rebuild the indexes if the packages have changed
Richard Purdie [Thu, 9 Feb 2012 14:09:18 +0000 (14:09 +0000)]
package_rpm: Only rebuild the indexes if the packages have changed

This change farms the solvedb creation out to a separate script which
handles creation of the index, only if mtime of any of the packages
has changed.

For a core-image-minimal set of rpm's this saves ~20s of a 45s rootfs
build. For core-image-sato it saves 1 minute of a 5 minute rootfs build.
The more packages in the system, the bigger the saving will be.

(From OE-Core rev: 3021136e7b42ab64ca16f30c88467c4b00d51ee0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxorg-app: Use ${libdir} and ${datadir} for packaging.
Lianhao Lu [Fri, 27 Apr 2012 06:34:24 +0000 (14:34 +0800)]
xorg-app: Use ${libdir} and ${datadir} for packaging.

Used ${libdir} and ${datadir} instead of hard coded direcotries for
packaging.

Also included INC_PR in PR.

(From OE-Core rev: ff533176a875663be797058bc35fa8ff3f9f8147)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoavahi: not using hard coded libdir.
Lianhao Lu [Fri, 27 Apr 2012 06:34:21 +0000 (14:34 +0800)]
avahi: not using hard coded libdir.

Used ${libdir} instead of the hard docoded libdir.

(From OE-Core rev: 5f2263a89ab6d6aad47f5a524c84a42713d358de)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopt: Fixing pkgconfig file installation issue.
Lianhao Lu [Fri, 27 Apr 2012 06:34:20 +0000 (14:34 +0800)]
popt: Fixing pkgconfig file installation issue.

Install the pkgconfig files into $(libdir) instead of $(prefix)/lib/.

(From OE-Core rev: 2addeb2639b798934d12d2f959dcac5a4ac697c2)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: Make 4.8.1 the default version
Richard Purdie [Fri, 27 Apr 2012 11:23:05 +0000 (12:23 +0100)]
qt4: Make 4.8.1 the default version

(From OE-Core rev: 35aea9a7e7709217a051a72252a2893b68b6d178)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: Add missing patch headers
Richard Purdie [Fri, 27 Apr 2012 11:21:43 +0000 (12:21 +0100)]
qt4: Add missing patch headers

(From OE-Core rev: ec2f6e1fb655289f5ef51f2b1fa86d5fedccfc61)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoQt 4.8 GCC 4.7 fixes
Ken Werner [Fri, 27 Apr 2012 10:59:17 +0000 (12:59 +0200)]
Qt 4.8 GCC 4.7 fixes

This change introduces two new patches to Qt 4.8. One prevents the build
system from using the -fuse-ld=gold GCC flag as this isn't upstream and
therefore not supported by many toolchains out there. The second patch
fixes a compile time error when using toolchains based on GCC 4.7.

(From OE-Core rev: c98d60923b84bcd285644cecaed1fa0455747a2f)

Signed-off-by: Ken Werner <ken.werner@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-video-vesa: Add recommendation for xserver libint10 module which this driver...
Richard Purdie [Thu, 26 Apr 2012 13:08:56 +0000 (14:08 +0100)]
xf86-video-vesa: Add recommendation for xserver libint10 module which this driver needs

Without this module, the driver doesn't work correctly.

(From OE-Core rev: 04e5102e6d9f2332dd39467c3261d610338358fc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm.bbclass: Replace shell provides/requires script with python version
Richard Purdie [Thu, 26 Apr 2012 19:54:23 +0000 (20:54 +0100)]
package_rpm.bbclass: Replace shell provides/requires script with python version

The existing shell script is a fork bomb and forks off hundreds of
grep/cur/wc calls as it reads from its input stream and iterates over
the file data table for each line of input. This patch replaces the
shell code with python code which doesn't exec anything and hence runs
much faster without the exec() overhead. This speeds up rpm packaging
considerably, as can be measured simply by timing it, or watching the
processor utilisation.

(From OE-Core rev: 2fb5f72b47840ed7f540df181595878e3f5ba4c6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: Fix mklibs patch to simply remove troublesome uname usage
Richard Purdie [Thu, 26 Apr 2012 20:36:05 +0000 (20:36 +0000)]
mesa: Fix mklibs patch to simply remove troublesome uname usage

Without this we started seeing the -mx32 flag being passed to the compiler
for things like arm builds which makes no sense.

(From OE-Core rev: 288b7a9d0e6093f85e4a1d3e34d4332b9c43b47b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcmode-default.inc: Default to gcc 4.7
Richard Purdie [Thu, 26 Apr 2012 14:03:52 +0000 (15:03 +0100)]
tcmode-default.inc: Default to gcc 4.7

(From OE-Core rev: f5fb611f79ddb256252335e2549ddd2a0e45a772)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-package-sdk: Package plugin files generated by gcc-4.7
Khem Raj [Fri, 13 Apr 2012 04:35:48 +0000 (21:35 -0700)]
gcc-package-sdk: Package plugin files generated by gcc-4.7

(From OE-Core rev: e2ce49ca28fe7f6054406bc276a3402cfc04f545)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.7: Do not use --with-header option for cross-gcc
Khem Raj [Fri, 13 Apr 2012 04:35:14 +0000 (21:35 -0700)]
gcc-4.7: Do not use --with-header option for cross-gcc

(From OE-Core rev: 11cbd871e0969931d5c81ec53684446f4293faf1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.7: Let cpp specs honor include searches in relocated install tree
Khem Raj [Fri, 13 Apr 2012 04:33:22 +0000 (21:33 -0700)]
gcc-4.7: Let cpp specs honor include searches in relocated install tree

Fix from Yocto Bug 2074

(From OE-Core rev: fe32e09ccbef3a9896955e8d4c3113c53f95de48)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.7: Use full relative path in require directive
Khem Raj [Sun, 8 Apr 2012 05:14:23 +0000 (22:14 -0700)]
gcc-4.7: Use full relative path in require directive

This will help in meta-linaro where it will be able
to utilize maximum recipes from OE-Core and thereby
keep close compatibility with OE-Core gcc recipes

(From OE-Core rev: 3c9f7eb2e2d70869a71a584eb1ba670b50a88379)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgcc-4.7: Package libgcov nativesdk correctly
Khem Raj [Fri, 23 Mar 2012 15:19:31 +0000 (08:19 -0700)]
libgcc-4.7: Package libgcov nativesdk correctly

(From OE-Core rev: 2bcc03b6787d4bb0731c047bf25c945228136e5f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.7: Lower the internal consistency check level to release
Khem Raj [Thu, 22 Mar 2012 23:15:50 +0000 (16:15 -0700)]
gcc-4.7: Lower the internal consistency check level to release

This should help in speeding up compilation at the expense
of a bit less info when gcc ICEs but we dont get many gcc
ICEs and therefore using --enable-checking=release is
right balance

(From OE-Core rev: a84c097cc7c52a856601e546880440d9375b0e30)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.7: Disable cloog and ppl
Khem Raj [Thu, 22 Mar 2012 23:08:03 +0000 (16:08 -0700)]
gcc-4.7: Disable cloog and ppl

If build system has those libraries installed
gcc configure will pick them up. We want
consistent builds so we disable them since we
do not (yet) support them

(From OE-Core rev: 523df15bcc21e1749771cca757613f3520243b8e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-package-target: Add the dangling files to specific packages
Khem Raj [Fri, 2 Mar 2012 22:29:21 +0000 (14:29 -0800)]
gcc-package-target: Add the dangling files to specific packages

create a new package to have lto dev packages bundled

(From OE-Core rev: b98fb95c594117d165a31795b6fa7b6cb583d598)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-crosssdk-intermediate: Use --with-native-system-header-dir for 4.7
Khem Raj [Thu, 22 Mar 2012 22:53:05 +0000 (15:53 -0700)]
gcc-crosssdk-intermediate: Use --with-native-system-header-dir for 4.7

--with-native-system-header-dir is relative to sysroot which
is what we want --with-headers is deprecated anyway

(From OE-Core rev: 2f7ac32b57e047cdaf01e0b6f77509117dbbd14c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-cross-canadian_4.7.bb: Override ARCH_FLAGS_FOR_TARGET
Khem Raj [Tue, 10 Apr 2012 07:37:18 +0000 (00:37 -0700)]
gcc-cross-canadian_4.7.bb: Override ARCH_FLAGS_FOR_TARGET

We need -isystem=${target_includedir} in there

(From OE-Core rev: 573949096d51bde4961b2301c20c966c324a66bd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.7: Define own do_configure_prepend
Khem Raj [Tue, 10 Apr 2012 07:32:23 +0000 (00:32 -0700)]
gcc-4.7: Define own do_configure_prepend

gcc-4.7 does not define STANDARD_INCLUDE_DIR

(From OE-Core rev: 149a9911a00c79475d00382dcc384f355fbcdd02)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.7: Add recipes
Khem Raj [Fri, 24 Feb 2012 03:14:58 +0000 (19:14 -0800)]
gcc-4.7: Add recipes

Add new recipes for gcc-4_7-branch right now gcc 4.7.0
is latest release from this branch

(From OE-Core rev: 3f8fee75e598ad0994acc5da0a612e6eca4f35f6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-configure-common.inc: Use libc-uclibc override
Khem Raj [Sun, 22 Apr 2012 01:32:15 +0000 (18:32 -0700)]
gcc-configure-common.inc: Use libc-uclibc override

Its better than duplicating the overrides

(From OE-Core rev: 7159dad19f8cfd3e7e95523da63e91370744da7f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.6: Specify complete paths in require directive
Khem Raj [Sun, 8 Apr 2012 05:06:14 +0000 (22:06 -0700)]
gcc-4.6: Specify complete paths in require directive

This is needed for adjusting meta-linaro where linaro
gcc recipes leverage the core recipe infrastructure and
modifies minimal to keep compatibility with OE-Core
so that any changes in OE-Core gcc recipes does not
trigger changes in meta-linaro.

(From OE-Core rev: cb01b2a4fc82e62eacc4441fddc3fdfb04a3acf3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.6: Remove redundant overrides
Khem Raj [Sat, 21 Apr 2012 17:54:35 +0000 (10:54 -0700)]
gcc-4.6: Remove redundant overrides

Use libc-uclibc override instead of TARGET_OS
override

(From OE-Core rev: 57392b5c3c9d14ba6568a98fc4fb0dadbdb9d9cb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgcc_4.6: Package libgcov nativesdk correctly
Khem Raj [Tue, 10 Apr 2012 06:51:00 +0000 (23:51 -0700)]
libgcc_4.6: Package libgcov nativesdk correctly

(From OE-Core rev: b32e26310d5b635b7ef1a6408dc14d400d799477)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-configure: Render --with-local-prefix harmless
Khem Raj [Tue, 10 Apr 2012 01:56:59 +0000 (18:56 -0700)]
gcc-configure: Render --with-local-prefix harmless

this option by default points to /usr/local no matter
what so we cant let it sit on sidelines otherwise it
will access host machine's /usr/local which may not
be desired. So disable this option. This also helps in making
gcc's shared state more consistent

(From OE-Core rev: eee3658366e1ae9d3e429b3d3c968938d8d0f00e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Stash the gcc-cross builddir to reuse in libgcc and gcc-runtime
Khem Raj [Fri, 24 Feb 2012 03:07:46 +0000 (19:07 -0800)]
gcc: Stash the gcc-cross builddir to reuse in libgcc and gcc-runtime

Currently we stash the libgcc install tree and then reuse that
to populate libgcc recipe later. This mechanism does not work
for gcc 4.7/trunk since now libstdc++ needs access to build tree
of libgcc. This patch stashes the gcc-cross build tree
and then reuses this in libgcc as well as in gcc-runtime
recipe builds.

Now we build libgcc in the libgcc recipe instead of just
using the prebuilt install tree

core-image-minimal build/run tested on all qemu machines

(From OE-Core rev: 7cf9f0597648c0bdaa080976d74acfbfc4c8443d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-configure: Pass distinct target flags
Khem Raj [Wed, 28 Mar 2012 14:22:44 +0000 (07:22 -0700)]
gcc-configure: Pass distinct target flags

When building gcc-cross-canadian libgcc is built using
headers from gcc-crosssdk and not the target sysroot
because we do not pass proper CFLAGS for target bits
so it ends up using CFLAGS that were meant for compiling
canadian gcc itself. It does not show up as a problem
when building SDK with eglibc because eglibc-nativesdk
and eglibc have identical headers. The problem shows
up clearly when you try to build uclibc based meta-toolchain
since then nativesdk libc and target libc are different

(From OE-Core rev: 0e904103e9bd7fdb31bfcc129067511f9f45701b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcmode-default: Use SDKGCCVERSION ?= "${GCCVERSION}"
Khem Raj [Thu, 22 Mar 2012 22:51:29 +0000 (15:51 -0700)]
tcmode-default: Use SDKGCCVERSION ?= "${GCCVERSION}"

Usually they should be same if not defined to be different
by user. In this case if I override GCCVERSION in local.conf
then SDKGCCVERSION will also follow the suite.

(From OE-Core rev: 1f9c07d8a086a3dc3bb68eaabd56a1b1730306ff)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses: Add recipe class to overrides
Richard Purdie [Sat, 11 Feb 2012 02:58:28 +0000 (18:58 -0800)]
classes: Add recipe class to overrides

We have currently no override to detect a recipe being build cross, crosssdk
or for target at times we can use virtclass-native and virtclass-nativesdk to
override stuff in recipes but we dont have way to modify a variables
based on recipe type always.

This patch adds in such an override and in particular makes a target override
class available.

With this change now we can say:

EXTRA_OECONF_class-target = "...."
EXTRA_OECONF_class-native = "..."
EXTRA_OECONF_class-nativesdk = "..."
EXTRA_OECONF_class-crosssdk= "..."

Based of an original patch by Khem Raj

(From OE-Core rev: cf332fd9bf685f6d42b11c1f0c37b934c7f5bcbe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: use TUNE_PKGARCH instead of TARGET_ARCH in SDK_NAME
Martin Jansa [Fri, 23 Mar 2012 22:30:40 +0000 (22:30 +0000)]
bitbake.conf: use TUNE_PKGARCH instead of TARGET_ARCH in SDK_NAME

* also use weak assignment for SDK_NAME_PREFIX as suggested by khem
* TUNE_PKGARCH is not 100% right too, because such SDK image usually has few
  machine specific packages included (e.g. base-files, securetty, opkg configs)
  but those are not important for SDK users so it's better to have one SDK for
  whole e.g. armv7a-vfp-neon then 6 SDK for each machine which would work the
  same.
  You can see diff between crespo and om-gta04 SDK here:
  http://build.shr-project.org/shr-core/sdk/oecore-i686-armv7a-vfp-neon-toolchain-efl-crespo-om-gta04.diff

(From OE-Core rev: 5a1f172d35be610688842a8a9a84f24edb9aeb51)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxev: move from meta-demoapps
Denis 'GNUtoo' Carikli [Fri, 23 Mar 2012 22:30:41 +0000 (22:30 +0000)]
xev: move from meta-demoapps

* The location where xev was located didn't contain xorg-app-common.inc,
  but still xev requires it. So moving it fixes that issue.
* File checksums and License checksums were also added.

(From OE-Core rev: 764bc41950513bede2ff763d0db55961f00318da)

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoquilt: fix perl path in target perl scripts
Nitin A Kamble [Wed, 25 Apr 2012 21:09:14 +0000 (14:09 -0700)]
quilt: fix perl path in target perl scripts

While building on distros like fedora17, which has /bin/perl,
the target perl scripts get perl path also as /bin/perl.
And that is not correction path of perl on the target.

This commit avoids this error.

| error: Failed dependencies:
|       /bin/perl is needed by quilt-0.51-r2.i586
NOTE: package core-image-sato-sdk-1.0-r0: task do_rootfs: Failed
ERROR: Task 8
(/home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato-sdk.bb,
do_rootfs) failed with exit code '1'

(From OE-Core rev: f091895d7dacd601f52edb0f0a08bdfa7e6d2461)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>