]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agorecipes: Delete patch=1, its default and replace pnum with striplevel
Khem Raj [Thu, 18 Aug 2011 00:17:52 +0000 (00:17 +0000)]
recipes: Delete patch=1, its default and replace pnum with striplevel

Some place pnum=1 is used which is removed as well since
striplevel=1 is default

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotune: Add hard floating point variants of cortexa8 tunes
Darren Hart [Thu, 18 Aug 2011 16:39:32 +0000 (09:39 -0700)]
tune: Add hard floating point variants of cortexa8 tunes

Enable machines or distros to select the hard floating point abi for cortexa8
machines. I left out the arm7a thumb+neon combinations as they were not
present in the original non-hf set.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Jason Kridner <jkridner@beagleboard.org>
CC: Koen Kooi <koen@dominion.thruhere.net>
13 years agotune: add missing closing quote to arch-armv7a.inc for AVAILTUNES
Darren Hart [Thu, 18 Aug 2011 16:19:40 +0000 (09:19 -0700)]
tune: add missing closing quote to arch-armv7a.inc for AVAILTUNES

A closing quote was missing for an AVAILTUNES append operation, add it.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Jason Kridner <jkridner@beagleboard.org>
CC: Koen Kooi <koen@dominion.thruhere.net>
13 years agoxcb/libpthreads: Add BBCLASSEXTEND to resolve missing providers in world builds
Richard Purdie [Fri, 19 Aug 2011 23:27:29 +0000 (16:27 -0700)]
xcb/libpthreads: Add BBCLASSEXTEND to resolve missing providers in world builds

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobluez4: drop usbpath from DEPENDS
Joshua Lock [Fri, 19 Aug 2011 22:30:33 +0000 (15:30 -0700)]
bluez4: drop usbpath from DEPENDS

We don't (currently) have usbpath in oe-core, so drop it from the DEPENDS to
make BlueZ buildable again.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
CC: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibgcc: Remove fetch/unpack/patch noexec stamps
Richard Purdie [Fri, 19 Aug 2011 22:08:32 +0000 (15:08 -0700)]
libgcc: Remove fetch/unpack/patch noexec stamps

libgcc now uses shared work directories so we cannot mark
these tasks as noexec. If we do, the tasks may not run
and hence gcc may not get patched for example which
results in failures.

This patch simple removes the flags since they're unneeded.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agonewt: update distro tracking fields
Kang Kai [Thu, 18 Aug 2011 02:49:02 +0000 (10:49 +0800)]
newt: update distro tracking fields

Update newt distro tracking fields

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoalsa-tools: update license and add distro tracking fields
Kang Kai [Thu, 18 Aug 2011 02:44:40 +0000 (10:44 +0800)]
alsa-tools: update license and add distro tracking fields

Update license and other informations, then bump up PR.
Update distro tracking fields.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoslang: add homepage and update distro tracking fields
Kang Kai [Thu, 18 Aug 2011 02:38:47 +0000 (10:38 +0800)]
slang: add homepage and update distro tracking fields

Add slang homepage and bump up PR.
Update distro tracking fields.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agomailx: update license and distro tracking fileds
Kang Kai [Thu, 18 Aug 2011 02:33:55 +0000 (10:33 +0800)]
mailx: update license and distro tracking fileds

update mailx license and bump up PR, and update distro tracking fields.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoeglibc: check dependencies among eglibc options
Kang Kai [Thu, 18 Aug 2011 02:04:57 +0000 (10:04 +0800)]
eglibc: check dependencies among eglibc options

Fixes [Yocto #1212]

'libc-inet' and 'ipv4' are the same thing, so remove 'libc-inet'
from the default DISTRO_FEATURES_LIBC in file default-distrovars.inc.

Check the dependencies among eglibc configurable options, make sure
that eglibc could be compile successfully only with part of the options.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoacl: Use BPN instead of PN for style like lib${PN}
Dongxiao Xu [Thu, 18 Aug 2011 06:55:33 +0000 (14:55 +0800)]
acl: Use BPN instead of PN for style like lib${PN}

When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoattr: Use BPN instead of PN for style like lib${PN}
Dongxiao Xu [Thu, 18 Aug 2011 06:54:55 +0000 (14:54 +0800)]
attr: Use BPN instead of PN for style like lib${PN}

When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoea-acl: Use BPN instead of PN for style like lib${PN}
Dongxiao Xu [Thu, 18 Aug 2011 06:53:02 +0000 (14:53 +0800)]
ea-acl: Use BPN instead of PN for style like lib${PN}

When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agocurl: Use BPN instead of PN for style like lib${PN}
Dongxiao Xu [Thu, 18 Aug 2011 06:51:32 +0000 (14:51 +0800)]
curl: Use BPN instead of PN for style like lib${PN}

When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoinitrdscripts: fix init-live.sh
Jingdong Lu [Thu, 18 Aug 2011 07:59:58 +0000 (15:59 +0800)]
initrdscripts: fix init-live.sh

Fix bug: [YOCTO #686]
Because the variable "ROOT_IMAGE" in init-live.sh is not correct, it fails to
run when using liveCD. Modify value of "ROOT_IMAGE" to "isolinux/rootfs.img".
If we want to use liveCD, we also need to add some kernel options related to
CDROM support when compling kernel.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
13 years agobluez4: update recipe from meta-oe
Martin Jansa [Wed, 17 Aug 2011 14:29:54 +0000 (16:29 +0200)]
bluez4: update recipe from meta-oe

* fix DEPENDS
* fix typo in --enable-pandd option
* remove unsupported options
* update packaging
* remove distro override which doesn't belong to oe-core

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agotask-core-boot: allow distribution to override default dev_manager provider with...
Martin Jansa [Tue, 26 Jul 2011 22:23:31 +0000 (00:23 +0200)]
task-core-boot: allow distribution to override default dev_manager provider with VIRTUAL-RUNTIME_dev_manager

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agogdb: Add lttng-ust to DEPENDS only for eglibc
Khem Raj [Tue, 16 Aug 2011 22:23:21 +0000 (15:23 -0700)]
gdb: Add lttng-ust to DEPENDS only for eglibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotask-core-tools: Use LTTNGUST variable instead of hardcoding lttng-ust
Khem Raj [Tue, 16 Aug 2011 22:22:24 +0000 (15:22 -0700)]
task-core-tools: Use LTTNGUST variable instead of hardcoding lttng-ust

This helps build on uclibc where lttng-ust is not included

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoat: make at usable for common user
Kang Kai [Tue, 16 Aug 2011 08:32:27 +0000 (16:32 +0800)]
at: make at usable for common user

Fixes [Yocto #1297]

The pkg_postinst was added to fix Yocto #675. But it seems not needed
any more. Remove it then unprivilege user could use at.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agolibxslt: fix packaging of static libraries
Phil Blundell [Wed, 17 Aug 2011 13:56:53 +0000 (14:56 +0100)]
libxslt: fix packaging of static libraries

This prevents warnings about .a files being installed but not shipped.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agoscripts/runqemu: modify search paths for libgl
Anders Darander [Wed, 17 Aug 2011 13:19:46 +0000 (15:19 +0200)]
scripts/runqemu: modify search paths for libgl

On e.g. Debian libql is found under /usr/lib/x86_64-linux-gnu/libGL.so.
Use a wildcard to match different locations, as uname -i only return unknown on Debian.

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agoqemu: modify search paths for libgl
Anders Darander [Wed, 17 Aug 2011 13:18:58 +0000 (15:18 +0200)]
qemu: modify search paths for libgl

On e.g. Debian libql is found under /usr/lib/x86_64-linux-gnu/libGL.so.
Use a wildcard to match different locations, as uname -i only return unknown on Debian.

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agosysvinit: Change ${PN} to ${BPN} in file names
Dongxiao Xu [Wed, 17 Aug 2011 08:53:40 +0000 (16:53 +0800)]
sysvinit: Change ${PN} to ${BPN} in file names

Some files in sysvinit are named with ${PN}. In multilib case, ${PN}
will be prefixed with "lib32-" or "lib64-". Use ${BPN} instead.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agobusybox: Change ${PN} to ${BPN} in file names
Dongxiao Xu [Wed, 17 Aug 2011 08:51:52 +0000 (16:51 +0800)]
busybox: Change ${PN} to ${BPN} in file names

Some files in busybox are named with ${PN}. In multilib case, ${PN}
will be prefixed with "lib32-" or "lib64-". Use ${BPN} instead.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoperl-native: Update find_perl to find the perl wrapper
Wenzong Fan [Tue, 16 Aug 2011 06:53:59 +0000 (14:53 +0800)]
perl-native: Update find_perl to find the perl wrapper

[YOCTO #1157] [YOCTO #829]

This is a common issue to the packages which using 'MakeMaker.pm' to
generate their Makefiles. The function 'find_perl()' in 'MM_Unix.pm'
will be used to figure out the path/link of 'PERL/FULLPERL', but it
always find the 'perl.real' instead of perl wrapper.

Just update it to find the perl wrapper correctly.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agoglib-2.0: explicitly disable dtrace and systemtap for native varaint
Joshua Lock [Wed, 17 Aug 2011 16:17:49 +0000 (09:17 -0700)]
glib-2.0: explicitly disable dtrace and systemtap for native varaint

This prevents systemtap and dtrace being picked up from the host as
reported on the Yocto mailing list by Andre Haupt <andre@bitwigglers.org>

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoqt4: allow a reduction in build time
Anders Darander [Wed, 17 Aug 2011 17:47:51 +0000 (19:47 +0200)]
qt4: allow a reduction in build time

When reducing build time by adding QT_DISTRO_FLAGS from the set '-no-gui -nomake tools
-nomake examples -nomake demos -nomake docs', build failure can occur, due to not building
all tools.

* Make rm not error out when removing one of the, possibly, non-existing tools.
* Only try to rename qtdemo, if qtdemo exists.
* Check if the phrasebook path exists, and only then call do_split_packages()

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agosanity.bbclass: add optional untested host distro warning
Paul Eggleton [Wed, 17 Aug 2011 17:48:15 +0000 (18:48 +0100)]
sanity.bbclass: add optional untested host distro warning

SANITY_TESTED_DISTROS, if specified, is expected to be a
newline-delimited list of distro identifier strings, e.g.

SANITY_TESTED_DISTROS = " \
        Ubuntu 11.04 \
        Fedora release 14 (Laughlin) \
        "

(spaces, tabs etc. are trimmed)

If SANITY_TESTED_DISTROS is defined, we will attempt to detect the host
distribution. If the distribution is not in SANITY_TESTED_DISTROS or we
could not detect the distribution then we show a warning during sanity
checking.

Provides the mechanism for fixing [YOCTO #1096].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoimage.bbclass, kernel.bbclass: create warning file about deleting deploydir files
Paul Eggleton [Tue, 16 Aug 2011 17:13:04 +0000 (18:13 +0100)]
image.bbclass, kernel.bbclass: create warning file about deleting deploydir files

New users sometimes delete files in tmp/deploy/images assuming they will
be re-created just by re-running the build, and then are confused when
this doesn't work. To discourage people from doing this, create a file
called README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt in
tmp/deploy/images containing an explanation of what needs to be done to
re-create files there.

Fixes [YOCTO #1315] and [YOCTO #1346].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agokernel: restore crtsavres.o to enable building external modules on powerpc
Darren Hart [Wed, 17 Aug 2011 04:16:53 +0000 (21:16 -0700)]
kernel: restore crtsavres.o to enable building external modules on powerpc

Fixes [YOCTO #1276]

As of Linux kernel version 3.0.1, and much earlier, the make clean target
removes arch/powerpc/lib/crtsavres.o. As this object is present in
KBUILD_LDFLAGS_MODULE, it is required to build external modules, and should
therefor not be removed by make clean.

While I do not advocate fixing buggy kernels in the generic kernel classes,
we should probably account for this one in kernel.bbclass as it affects
such a long list of kernel versions.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoshadow: switch to a fetchable SRC_URI
Joshua Lock [Wed, 17 Aug 2011 00:02:49 +0000 (17:02 -0700)]
shadow: switch to a fetchable SRC_URI

Swith the SRC_URI to the one referenced on the sources section of the
utilities download page (http://pkg-shadow.alioth.debian.org/download.php).

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuildstats.bbclass: Fixing task endtime
Beth Flanagan [Wed, 17 Aug 2011 11:38:54 +0000 (04:38 -0700)]
buildstats.bbclass: Fixing task endtime

Task endtime got left out of recent changes. Adding it back in.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoofono: conditionally enable bluetooth
Anders Darander [Wed, 17 Aug 2011 06:41:28 +0000 (08:41 +0200)]
ofono: conditionally enable bluetooth

Use DISTRO_FEATURE to conditionally depend on bluez4, as well as enabling bluetooth.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocreate-pull-request: increase likelihood of detecting a rename
Anders Darander [Tue, 16 Aug 2011 13:41:34 +0000 (15:41 +0200)]
create-pull-request: increase likelihood of detecting a rename

Decrease the similarity percentage needed to recognize a delete/add-pair followed by an edit,
as a rename.
This make reviewing patches easier.

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agoconnman: use DISTRO_FEATURES to enable wifi and bluetooth
Anders Darander [Mon, 15 Aug 2011 10:58:51 +0000 (12:58 +0200)]
connman: use DISTRO_FEATURES to enable wifi and bluetooth

As wifi and bluetooth is set in DISTRO_FEATURES, connman should respect this during configuring.

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agoqmake_base: add uclibceabi
Anders Darander [Tue, 16 Aug 2011 08:36:34 +0000 (10:36 +0200)]
qmake_base: add uclibceabi

Partial sync of qmake_base from meta-oe.
* Add a matching rule for *linux-uclibceabi-oe-g++, to make qmake_base.bbclase more
similar to the version in meta-oe.

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agodistro_tracking_fields.inc: update the info for the following recipes
Dexuan Cui [Tue, 16 Aug 2011 06:56:53 +0000 (14:56 +0800)]
distro_tracking_fields.inc: update the info for the following recipes

cronie
mdadm
freetype
xproto
glproto
dri2proto
util-macros

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agodri2proto: upgrade from 2.4 to 2.6
Dexuan Cui [Tue, 16 Aug 2011 08:49:54 +0000 (16:49 +0800)]
dri2proto: upgrade from 2.4 to 2.6

The patch has been integrated into 1.4.14 so let's remove it.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoglproto: upgrade from 1.4.13 to 1.4.14
Dexuan Cui [Tue, 16 Aug 2011 08:43:43 +0000 (16:43 +0800)]
glproto: upgrade from 1.4.13 to 1.4.14

The patch has been integrated into 1.4.14 so let's remove it.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoxproto: upgrade from 7.0.21 to 7.0.22
Dexuan Cui [Tue, 16 Aug 2011 08:31:02 +0000 (16:31 +0800)]
xproto: upgrade from 7.0.21 to 7.0.22

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agofreetype: upgrade from 2.4.4 to 2.4.6
Dexuan Cui [Tue, 16 Aug 2011 08:17:28 +0000 (16:17 +0800)]
freetype: upgrade from 2.4.4 to 2.4.6

freetype-2.4.6/docs/LICENSE.TXT changed a little to describe more clearly
the compatibility about FreeTypeLicense and GPLv2+, but the actual license
remains unchanged: it's still  LICENSE = "FreeTypeLicense | GPLv2+".

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoutil-macros: upgrade from 1.14.0 to the latest version 0.15.0
Dexuan Cui [Tue, 16 Aug 2011 07:57:36 +0000 (15:57 +0800)]
util-macros: upgrade from 1.14.0 to the latest version 0.15.0

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agomdadm: upgrade mdadm from 3.2.1 to 3.2.2
Dexuan Cui [Tue, 16 Aug 2011 07:41:54 +0000 (15:41 +0800)]
mdadm: upgrade mdadm from 3.2.1 to 3.2.2

Remove the patch since 3.2.2 has integrated it.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agocronie: upgrade from 1.4.7 to 1.4.8
Dexuan Cui [Tue, 16 Aug 2011 06:51:42 +0000 (14:51 +0800)]
cronie: upgrade from 1.4.7 to 1.4.8

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agotcf-agent: add openssl into DEPENDS
Dexuan Cui [Tue, 16 Aug 2011 06:37:14 +0000 (14:37 +0800)]
tcf-agent: add openssl into DEPENDS

[YOCTO #1330]

If tcf-agent's do_compile happens before openssl does populate_root, we'll
get such a compilation failure:
framework/channel_tcp.c:34:27: fatal error: openssl/ssl.h: No such file or directory

Thanks Kumar Gala for reporting this!

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
13 years agobluez-hcidump: upgrade from 2.0 to 2.1
Dexuan Cui [Tue, 16 Aug 2011 03:11:12 +0000 (11:11 +0800)]
bluez-hcidump: upgrade from 2.0 to 2.1

[YOCTO #1371]

Recently bluez4 was updated from 4.82 to 4.96 and bluez-hcidump can't build:
src/hcidump.c:54:24: error: redefinition of 'ntoh64'.

In 2.1 the duplicated definition of ntoh64 was removed.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agopackage(_ipk).bbclass: opkg using ALL_MULTILIB_PACKAGE_ARCHS
Lianhao Lu [Tue, 16 Aug 2011 08:26:49 +0000 (16:26 +0800)]
package(_ipk).bbclass: opkg using ALL_MULTILIB_PACKAGE_ARCHS

[YOCTO #1345]
The new variable ALL_MULTILIB_PACKAGE_ARCHS contains all the values of
PACKAGE_ARCHS for each multilib variants. The opkg backend now uses this
new value insteald of the PACKAGE_ARCHS to update the opkg indexes and
to generate the opkg configuration files. This allows the normal
packages and multilib packages may be installed into the same rootfs.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agolinux-yocto: meta SRCREV bump
Bruce Ashfield [Mon, 15 Aug 2011 17:39:12 +0000 (13:39 -0400)]
linux-yocto: meta SRCREV bump

Bumping the linux-yocto meta SRCREV to pickup new target
configurations and features.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agoqemu: change default kernel to 3.0.x
Bruce Ashfield [Mon, 15 Aug 2011 17:33:21 +0000 (13:33 -0400)]
qemu: change default kernel to 3.0.x

The explicit setting of version preference to 2.6.37 is
no longer required. All of the qemu targets have been built
and boot tested on 3.0.1 for core-image-minimal and core-image-sato
and are safe for wider build/boot testing.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: bump version string to 3.0.1
Bruce Ashfield [Mon, 15 Aug 2011 17:31:44 +0000 (13:31 -0400)]
linux-yocto: bump version string to 3.0.1

There was some confusion around the 3.0 version string in the
linux-yocto recipe when the merged version was 3.0.1. Bumping
the version string should clarify what version will be fetched.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agogtk-icon-cache: Adding MLPREFIX when dynamically set RDEPENDS
Dongxiao Xu [Tue, 16 Aug 2011 07:17:35 +0000 (15:17 +0800)]
gtk-icon-cache: Adding MLPREFIX when dynamically set RDEPENDS

When dynamically setting RDEPENDS, we need to add MLPREFIX to adapt
multilib case.

[YOCTO #1368]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agopackage_rpm: Fix package rename issue in multilib case
Dongxiao Xu [Wed, 3 Aug 2011 14:53:15 +0000 (22:53 +0800)]
package_rpm: Fix package rename issue in multilib case

do_package task will write information into pkgdata and
do_package_write_rpm will read them out. Take lib32-dates as an example,
one of its RDEPENDS is li32-gtk+, and PKG_lib32-gtk+ = "libgtk-2.0",
these info is stored at:
tmp/pkgdata/x86_64-pokymllib32-linux/runtime/lib32-dates.

Function "mapping_rename_hook" in do_package_write_rpm is to handle
those renamed packages. However before it executes, translate_vers
has stripped the multilib prefix out, making it failed to find PKG_gtk+
value in pkgdata.

This commit moves the strip_multilib out of translate_vers and call it
after "mapping_rename_hook".

[YOCTO #1368]

CC: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agopackage_rpm: enhance strip_multilib function
Dongxiao Xu [Wed, 3 Aug 2011 14:52:48 +0000 (22:52 +0800)]
package_rpm: enhance strip_multilib function

The previous logic could only strip MLPREFIX from the first element in
an array, take an example, strip_multilib the [lib32-a lib32-b lib32-c]
will result in [a lib32-b lib32-c]. We need to strip prefix one by one.

This commit change the logic to strip all elements' multilib prefix.

[YOCTO #1368]

CC: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agorootfs_rpm: Fix DEFAULTTUNE setting in multilib case
Dongxiao Xu [Tue, 16 Aug 2011 06:57:37 +0000 (14:57 +0800)]
rootfs_rpm: Fix DEFAULTTUNE setting in multilib case

"virtclass-multilib" is set to OVERRIDES in multilib.bbclass, remove the
duplicated settings here.

Besides, DEFAULTTUNE has overrided and it can be directly used.

[YOCTO #1368]

CC: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoqemu: Make qemu buildable inside qemux86/qemuppc target
Zhai Edwin [Thu, 11 Aug 2011 07:13:32 +0000 (15:13 +0800)]
qemu: Make qemu buildable inside qemux86/qemuppc target

It requires libx11 and libGL(if enabled GL) for building, which introduce extra
dependence in qemuppc target. Futhermore, qemu's GL code is x86-oriented, thus
some hacks needed for building in qemupcc. For simplicity, just make qemu GL's
code for native only, so that qemu building is okay in world build.

[YOCTO #1011] got fixed.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agolibxcb: enable native/nativesdk builds as was done previously in meta-oe
Dmitry Eremin-Solenikov [Mon, 15 Aug 2011 15:48:43 +0000 (19:48 +0400)]
libxcb: enable native/nativesdk builds as was done previously in meta-oe

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
13 years agolibproxy: remove dependency on X libs
Phil Blundell [Mon, 15 Aug 2011 15:21:27 +0000 (16:21 +0100)]
libproxy: remove dependency on X libs

Nothing in the source refers to libX11 or libXmu so there would appear to be
no good reason for them to be in DEPENDS.  It looks as though these are perhaps
a relic from an earlier version which did need those libraries.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agocmake.bbclass, perlnative.bbclass: arrange for cmake to find perl-native
Phil Blundell [Mon, 15 Aug 2011 16:16:31 +0000 (17:16 +0100)]
cmake.bbclass, perlnative.bbclass: arrange for cmake to find perl-native

When CMake is looking for perl, it only searches in the specific directories
that it's told about and ignores ${PATH}.  If perlnative is in use, ensure
that the appropriate installation path is added to the list of places that
cmake will look for perl, otherwise it won't ever be found.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agodistro-tracking: Update info for gpgme, libassuan, apr... after last upgrade.
Zhai Edwin [Thu, 28 Jul 2011 08:22:44 +0000 (16:22 +0800)]
distro-tracking: Update info for gpgme, libassuan, apr... after last upgrade.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agolibx11-diet: Fix bug 1050
Xiaofeng Yan [Mon, 15 Aug 2011 06:44:26 +0000 (14:44 +0800)]
libx11-diet: Fix bug 1050

[YOCTO #1050]
I got do_compile failure during building qemux86 image
| ../../../doltlibtool: line 17:
/distro/dcui/0704/pc1/build/tmp/work/i586-poky-linux/libx11-diet-1.3-r2/libX11-1.3/modules/im/ximcp/../../../libtool:
No such file or directory

This is due to not found libtool, but i586-poky-linux-libtool in libX11-1.3
So I disable dolt for solving this problem.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agoThe Skeleton initscript doesn't work on minimal image
Robert Yang [Mon, 15 Aug 2011 08:26:55 +0000 (16:26 +0800)]
The Skeleton initscript doesn't work on minimal image

Fixes bug [YOCTO #1165]

The /etc/init.d/skeleton doesn't work on minimal image, this is
because of the pidofproc doesn't return "$?" correctly, so store
$? in the variable status would fix it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
13 years agoqt4.inc: expand the package name for multilib case
Yu Ke [Mon, 15 Aug 2011 10:39:16 +0000 (18:39 +0800)]
qt4.inc: expand the package name for multilib case

in the qt4.inc python annomyous code, there is case where package name
is set to "${QT_BASE_LIB}-tool", and  FILE_${QT_BASE_LIB}-tool is set to xxx.
here QT_BASE_NAME=qt4. multilib.bbclass will try to rename the FILE_qt4_tool to
FILE_lib64_qt4_tool. unfortunately, there is only FILE_${QT_BASE}-tool, no
FILE_qt4-tool, so FILE_lib64_qt4_tool will not be defined.

to fix this issue, this patch expand the QT_BASE_LIB when assigning the package
name.

FIX [YOCTO #1344]

Signed-off-by: Yu Ke <ke.yu@intel.com>
13 years agoqt4.inc: revise RRECOMMENDS
Yu Ke [Mon, 15 Aug 2011 10:37:29 +0000 (18:37 +0800)]
qt4.inc: revise RRECOMMENDS

using ${QT_BASE_NAME}-dbg as RRECOMMENDS is not correct in qt4-x11-free
case, because ${QT_BASE_NAME}-dbg i.e. qt4-dbg does not exist

this patch fix it by using ${PN}

Signed-off-by: Yu Ke <ke.yu@intel.com>
13 years agolibsdl: enable opengl for libsdl
Jiajun Xu [Mon, 15 Aug 2011 12:58:42 +0000 (20:58 +0800)]
libsdl: enable opengl for libsdl

To enable opengl for libsdl, we need DEPENDS on virtual/libgl. Add a check for
"opengl" in DISTRO_FEATURES and when it's set, "--enable-video-opengl"
and "virtual/libgl" will be added into EXTRA_CONF and DEPENDS.

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
Acked-by: Phil Blundell <philb@gnu.org>
13 years agolibsdl: add target version
Jiajun Xu [Mon, 15 Aug 2011 12:57:21 +0000 (20:57 +0800)]
libsdl: add target version

Rename libsdl-nativesdk to libsdl to enable target version. libsdl
is needed in some graphics testing.

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
Acked-by: Phil Blundell <philb@gnu.org>
13 years agodefault-distrovars: add x11 to default DISTRO_FEATURES
Phil Blundell [Fri, 12 Aug 2011 16:00:50 +0000 (17:00 +0100)]
default-distrovars: add x11 to default DISTRO_FEATURES

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agodbus: only use x11 if DISTRO_FEATURES has selected it
Phil Blundell [Fri, 12 Aug 2011 15:59:43 +0000 (16:59 +0100)]
dbus: only use x11 if DISTRO_FEATURES has selected it

This makes it possible to include dbus in a non-X11-equipped DISTRO.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agocairo: only use x11 if selected in DISTRO_FEATURES
Phil Blundell [Fri, 12 Aug 2011 15:58:32 +0000 (16:58 +0100)]
cairo: only use x11 if selected in DISTRO_FEATURES

This makes it possible to build cairo-using apps without X11.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agolibx11: skip self if x11 not in DISTRO_FEATURES
Phil Blundell [Fri, 12 Aug 2011 15:57:38 +0000 (16:57 +0100)]
libx11: skip self if x11 not in DISTRO_FEATURES

This stops (most) x11 packages leaking into a non-x11 distro by mistake.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agopixman: remove spurious dependency on libx11
Phil Blundell [Fri, 12 Aug 2011 15:56:47 +0000 (16:56 +0100)]
pixman: remove spurious dependency on libx11

Nothing in pixman actually uses libx11, so no need to DEPEND on it.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agointltool: Use nativeperl binary for PERL instead of 'perl'
Khem Raj [Fri, 12 Aug 2011 15:31:42 +0000 (08:31 -0700)]
intltool: Use nativeperl binary for PERL instead of 'perl'

License is GPLv2 change it.
Defining PERL for native intltool is not needed anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoqt4: delete unpackaged uic3 to avoid unpackaged file warning
Paul Eggleton [Thu, 11 Aug 2011 22:31:32 +0000 (23:31 +0100)]
qt4: delete unpackaged uic3 to avoid unpackaged file warning

All the other utilities get deleted as they should not be packaged,
delete this one as well.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4: package QML plugins and correct their install directory
Paul Eggleton [Thu, 11 Aug 2011 22:25:27 +0000 (23:25 +0100)]
qt4: package QML plugins and correct their install directory

QML components from Qt were installed to ${prefix} before and never got
packaged. This is now fixed and QML components are now installed into
${libdir}/${QT_DIR_NAME}/imports and packaged into qt4-*-qml-plugins
package.

Additionally qmlviewer and the examples/demos are now dependent upon
these plugins as needed.

Originally based on OE commit 4adf97be8c5b5f71ad92095a19968af534baa9e2
by Simon Busch <morphis@gravedo.de>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4-native: restore build of uic3, qdbuscpp2xml and qdbusxml2cpp
Paul Eggleton [Wed, 10 Aug 2011 11:40:20 +0000 (12:40 +0100)]
qt4-native: restore build of uic3, qdbuscpp2xml and qdbusxml2cpp

These tools are required to build some external utilities (such as those
found in KDE). We avoid building qdbus and qdbusviewer as these are
not required.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4: replace qt4-tools-native with qt4-native
Paul Eggleton [Wed, 10 Aug 2011 11:38:55 +0000 (12:38 +0100)]
qt4: replace qt4-tools-native with qt4-native

Installs native versions of the Qt libraries in addition to the tools,
allowing compilation of external native tools that require Qt libs.
PROVIDES qt4-tools-native so it should be a drop-in replacement.

Developed with reference to the corresponding qt4-native changes in OE.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoeglibc: Modify ldd script according to multilib config.
Lianhao Lu [Fri, 29 Jul 2011 14:26:42 +0000 (22:26 +0800)]
eglibc: Modify ldd script according to multilib config.

Bug fixing [YOCTO #1236].

1. Collect all the values for RTLDLIST for the current multilib
configuration to modify the ldd scripts.

2. Collect all the values for KNOWN_INTERPRETER_NAMES for the current
multilib configuration. Set the correct ld.so names for ldconfig to deal
with the multilib configuration.

13 years agoutils.bbclass/multilib.class: Added misc supporting functions.
Lianhao Lu [Fri, 29 Jul 2011 14:21:58 +0000 (22:21 +0800)]
utils.bbclass/multilib.class: Added misc supporting functions.

1. Added variable MULTILIB_VARIANTS to store all the instance variants
for multilib extend.

2. Added function all_multilib_tune_values to collect the variable
values for all multilib instance.

3. multilib bbclass handler will save the orignal value of all variables
defined in MULTILIB_SAVE_VARNAME.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agovalgrind: supporting on Linux kernel 3.x
Lin Tong [Thu, 11 Aug 2011 06:01:52 +0000 (14:01 +0800)]
valgrind: supporting on Linux kernel 3.x

The old valgrind package do not support for Linux kernel 3.x, only for
kernel 2.4 and 2.6. Now adding the configuration to the configure.in
file to support Linux kernel 3.0.

This commit fixes the problem in valgrind [YOCTO #1129]

Signed-off-by: Lin Tong <tong.lin@intel.com>
13 years agobluez4: Added new recipe 4.96 and removed 4.82 version
Noor Ahsan [Fri, 12 Aug 2011 08:04:11 +0000 (13:04 +0500)]
bluez4: Added new recipe 4.96 and removed 4.82 version

* Added new recipe 4.96 and removed 4.82 version and its files.

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
13 years agort-tests: use an explicit commit ID
Darren Hart [Fri, 12 Aug 2011 16:32:02 +0000 (09:32 -0700)]
rt-tests: use an explicit commit ID

Using a tag, like v0.73, forces network access to resolve a
commit ID. Use the corresponding commit ID in the recipe.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agotune-ppce5500: Add a set of tune files for PowerPC e5500 core
Kumar Gala [Thu, 11 Aug 2011 06:31:13 +0000 (01:31 -0500)]
tune-ppce5500: Add a set of tune files for PowerPC e5500 core

The PPC e5500 is a 64-bit core so we add both a 32 and 64-bit set of
tune files to allow for:

* pure 32-bit build
* pure 64-bit build
* 32-bit base, 64-bit multilib
* 64-bit base, 32-bit multilib

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agotune-ppc: Update to pass glibc configure option to get cpu specific support
Kumar Gala [Fri, 12 Aug 2011 04:53:50 +0000 (23:53 -0500)]
tune-ppc: Update to pass glibc configure option to get cpu specific support

We need --with-cpu based to glibc to get proper support on 603e & e500mc
to pickup proper math libs to deal with sqrt.  These core do not
implement the fsqrt[s] instructions that the normal PPC math libs
utilize.

This causes use to not set AVAILTUNES specifically to the sub-arch only
as we arent generically compatiable.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorecipes-rt: add a README documenting the contents of recipes-rt
Darren Hart [Mon, 8 Aug 2011 23:33:00 +0000 (16:33 -0700)]
recipes-rt: add a README documenting the contents of recipes-rt

Document the non-obvious bits of using the recipes-rt recipes.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agoMove meta-rt recipes to oe-core (meta)
Darren Hart [Mon, 25 Jul 2011 18:10:17 +0000 (11:10 -0700)]
Move meta-rt recipes to oe-core (meta)

Keeping the rt recipes in their own layer has led to maintenance issues,
particularly with the linux-yocto-rt recipes. As these kernel types are part of
the same linux-yocto source repository, it seems reasonable to include the rt
kernel recipes alongside the standard recipes. A new recipes-rt directory for
the other recipes provides adequate separation and eliminates the need for a
separate layer.

As there is no meta-rt/conf/layer.conf to force the kernel, users must now
specify the rt kernel in their local.conf or in the machine.conf:

PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"

The merging of the rt recipes into the core also eliminates complications with
multiple layer dependencies for new BSP layers. Having to either separate RT
BSPs from standard BSPs or force users to add meta-rt to bblayers even when not
building an RT BSP (because the RT BSPs in the same layer would fail to parse
without it) was sub-optimal at best.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agometa-rt: default KMACHINE and SRCREV_machine to avoid parsing errors
Darren Hart [Fri, 22 Jul 2011 22:53:18 +0000 (15:53 -0700)]
meta-rt: default KMACHINE and SRCREV_machine to avoid parsing errors

Without a default KMACHINE and SRCREV_machine the git URL will fail to
expand to something usable and we get a parsing error. This approach was
also used in the non-rt version of this recipe.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agometa-rt: add an -rt-sdk image
Darren Hart [Fri, 22 Jul 2011 19:56:29 +0000 (12:56 -0700)]
meta-rt: add an -rt-sdk image

Add images including the SDK without the addition of the grapical environment or
packages.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agometa-rt: rename minimal-rt images to -rt, drop live image
Darren Hart [Fri, 22 Jul 2011 19:43:01 +0000 (12:43 -0700)]
meta-rt: rename minimal-rt images to -rt, drop live image

Remove "minimal" from the image recipe names for -rt. Additional recipes types
will be added (-rt-sdk for example) and there is no need to keep so many image
type descriptors.

Drop the -live image as it is now obsolete.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agometa-rt: remove atom-pc support from the main layer
Darren Hart [Fri, 22 Jul 2011 19:39:45 +0000 (12:39 -0700)]
meta-rt: remove atom-pc support from the main layer

meta-rt resides in oe-core, as such it should only support the
qemu* machines. BSP layers should add support for specific
hardware platforms.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agometa-rt: add linux-yocto-rt_3.0 recipe
Darren Hart [Wed, 20 Jul 2011 16:18:09 +0000 (09:18 -0700)]
meta-rt: add linux-yocto-rt_3.0 recipe

Add the initial linux-yocto-rt_3.0 recipe.

qemumips and qemuppc doesn't work quite yet, so they have been omitted from
COMPATIBLE_MACHINE.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agometa-rt: canonicalize directory structure
Darren Hart [Wed, 20 Jul 2011 16:08:06 +0000 (09:08 -0700)]
meta-rt: canonicalize directory structure

Use the more standard recipes-*/*/*.bb layout.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agometa-rt: rt-tests v0.73 instead of AUTOREV
Darren Hart [Wed, 20 Jul 2011 15:55:30 +0000 (08:55 -0700)]
meta-rt: rt-tests v0.73 instead of AUTOREV

AUTOREV is handy is a development aid, but it really shouldn't be used as a
default as it breaks the consistency and repeatability of a build. It also
causes additional fetches which may not be desired or expected.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agometa-rt: refresh linux-yocto-rt recipe
Darren Hart [Tue, 19 Jul 2011 22:31:45 +0000 (15:31 -0700)]
meta-rt: refresh linux-yocto-rt recipe

Rename the recipe to match the linux-yocto recipe renames using the kernel
version in the PV portion of the filename.

Add the SRCREVs to the recipe as was done with the core linux-yocto recipes.

Add qemux86 as it is also present in the linux-yocto-2.6.34.git repository.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agopackage_rpm: Fix attemptonly and suggest packages
Mark Hatle [Fri, 12 Aug 2011 00:23:48 +0000 (19:23 -0500)]
package_rpm: Fix attemptonly and suggest packages

[YOCTO #1325] [YOCTO #1366]

Packages that were in the PACKAGE_ATTEMPTONLY and SUGGESTS were not
being properly found, which was causing image creation failures.

In PACKAGE_ATTEMPTONLY, when an item was not found, it caused an
error.  This should have been a note, followed by skipping the
package.

The SUGGESTS processing was simply broken.  It was using a
non-existant function, due to an apparently typo.

In addition to the above, the MLPREFIX processing was not being
done properly, preventing multilib packages from working in this
with PACKAGE_ATTEMPTONLY.  (SUGGESTS doesn't need this as the names
are munged when creating the packages.)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoxcb-proto: update based on changes to python.m4 in automake
Kumar Gala [Thu, 11 Aug 2011 06:26:34 +0000 (01:26 -0500)]
xcb-proto: update based on changes to python.m4 in automake

1. We dont need the aclocal patch as this will be handled by automake
2. We need to update xcb-proto.pc.in to know about ${libdir} since
   we'll end up with something like:

   pythondir=${libdir}/python2.6/site-packages

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agoautomake: Update for python.m4 to respect libdir
Kumar Gala [Thu, 11 Aug 2011 06:26:33 +0000 (01:26 -0500)]
automake: Update for python.m4 to respect libdir

As we tweak libdir we need python libs that utilize configure to respect
it setting.  By updating the python.m4 template, when we regen automake
files they will than respect the setting of libdir which is standard for
any autotools based recipe.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agoinit-install.sh: Fix make partition and make file system issues
Mei Lei [Wed, 10 Aug 2011 14:35:59 +0000 (22:35 +0800)]
init-install.sh: Fix make partition and make file system issues

[YOCTO #1151]

Change the offset from the beginning of the disk to aligne the blocks.

In this script, we use mkfs.ext3 to create file system after partition, but we use mkpartfs to create file system repeatly,
and get some warnings about choose another specific tools to create file system for reliability.

So use mkpart instead of mkpartfs and only use mkfs.ext3 to create file system.

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agopackage_rpm.bbclass: Update the platform config and --target
Mark Hatle [Thu, 11 Aug 2011 15:38:30 +0000 (10:38 -0500)]
package_rpm.bbclass: Update the platform config and --target

When constructing the /etc/rpm/platform file, we need to ensure that
the any, all, and noarch platforms will allow any "linux" variant to
be installable, not just matching variants.. i.e.

arm-oe-linux-gnueabi should be able to install noarch-oe-linux

Also ensure that we pass the full canonical arch via the --target=
parameter.  This allows us to define the proper platform settings
for all packages.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agorpm: Fix the canonical arch --target processing and cleanup
Mark Hatle [Wed, 10 Aug 2011 16:13:33 +0000 (11:13 -0500)]
rpm: Fix the canonical arch --target processing and cleanup

[YOCTO #1352]

Fix the canonical arch --target processor to work with the way OE
handles the GNU canonical arch.

Also cleanup a number of files that are no longer used, and refactor
the no-loop patch into the "no-loopmsg" patch.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>