]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
13 years agolinux-yocto: update SRCREVs for preempt-rt support + build fixes
Bruce Ashfield [Thu, 11 Aug 2011 16:20:58 +0000 (12:20 -0400)]
linux-yocto: update SRCREVs for preempt-rt support + build fixes

Updating the SRCREVs for linux-yocto to pickup a series of changes
that were made to support the build/boot of preempt-rt on 3.0.x.

7782fc6 routerstationpro: remove CONFIG_PREEMPT* definitions
b51300c meta/rt: sugarbay preempt-rt support
735711e meta/rt: common-pc[-64] preempt-rt no branch fix
53026bf meta/rt: jasperforest preempt-rt support
99bc260 meta/rt: fri2 preempt-rt support
e746ab8 meta/rt: fishriver preempt-rt support
fa1b73f meta/rt: emenlow preempt-rt support
1f686ab meta/rt: crownbay preempt-rt support
64a5069 meta/rt: arm-versatile-926ejs preempt-rt support
7f827a1 meta/rt: mti-malta32-be preempt-rt support
930a983 meta/rt: qemu-ppc32 preempt-rt support
367fc55 meta-rt: rsp preempt-rt support
b8a62ea meta/rt: mpc8315 preempt-rt support
b5f9daa meta/rt: beagleboard preempt-rt support
1e6e9eb meta/rt: use CONFIG_PREEMPT_RT_FULL for 3.0 kernels
eb5a06b boot: move -Os patch to standard branch
c692a23 meta/rt: remove explicit patch references
8a2ac6b meta/rt: updating to rt8
76b3679 meta: atom-pc update definition to re-use preempt-rt

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agocross: also empty PACKAGES_DYNAMIC
Chris Larson [Thu, 2 Jun 2011 20:34:30 +0000 (13:34 -0700)]
cross: also empty PACKAGES_DYNAMIC

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agopackage: allow setting a section for locale packages
Chris Larson [Thu, 2 Jun 2011 20:31:59 +0000 (13:31 -0700)]
package: allow setting a section for locale packages

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agopackage: include SECTION in the pkgdata
Chris Larson [Thu, 2 Jun 2011 20:32:12 +0000 (13:32 -0700)]
package: include SECTION in the pkgdata

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agosanity: shift the required utils into a variable
Chris Larson [Thu, 2 Jun 2011 20:16:47 +0000 (13:16 -0700)]
sanity: shift the required utils into a variable

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agonativesdk: inherit relocatable
Chris Larson [Thu, 2 Jun 2011 19:29:27 +0000 (12:29 -0700)]
nativesdk: inherit relocatable

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agoinsane: add linux-gnu to the platform data
Chris Larson [Thu, 2 Jun 2011 19:27:02 +0000 (12:27 -0700)]
insane: add linux-gnu to the platform data

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agobusybox: don't strip the main binary
Chris Larson [Fri, 3 Jun 2011 22:08:25 +0000 (15:08 -0700)]
busybox: don't strip the main binary

With this, we get a useful busybox-dbg package.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agolocal.conf.sample: Cleanup and improve
Richard Purdie [Fri, 12 Aug 2011 12:44:43 +0000 (13:44 +0100)]
local.conf.sample: Cleanup and improve

local.conf is the first thing anyone new to the project sees. Over time it
has built up a ton cruft and isn't even accurate in places.

This patch:

* Moves things to local.conf.sample.extended if a new user is unlikely
  to need to immediately care about the options
* Reorders the file to be more intuitive to a new user
* Moves certain default values to default-distrovars.inc in cases where
  most users wouldn't want to change the value
* Adds large blocks of text to explain what an option does. There have
  been too many cases of a user not realising what some of these
  settings do and how they can use them to their advantage (like DL_DIR
  for example).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognome-doc-utils: respect python-dir setting EXTRA_OECONF
Kumar Gala [Tue, 9 Aug 2011 18:36:32 +0000 (13:36 -0500)]
gnome-doc-utils: respect python-dir setting EXTRA_OECONF

Don't just assign but append to EXTRA_OECONF so we maintain python-dir
setting fo EXTRA_OECONF.

This fixes issue if libdir is set to something like '/usr/lib64'.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agoMagic file path should be given for rpmbuild
jani.uusi-rantala@nokia.com [Thu, 11 Aug 2011 15:50:10 +0000 (15:50 +0000)]
Magic file path should be given for rpmbuild

From d54b975506c392cfb59dbb3caf313ac061b6fa01 Mon Sep 17 00:00:00 2001
From: Jani Uusi-Rantala <jani.uusi-rantala@nokia.com>
Date: Thu, 11 Aug 2011 18:37:56 +0300
Subject: [PATCH] Magic file path should be given for rpmbuild in
 _rpmfc_magic_path define so that build system default file
 is not used by accident. Not doing this caused many
 packages to fail building in several systems.

Fixes [YOCTO #1358]

Signed-off-by: Jani Uusi-Rantala <jani.uusi-rantala@nokia.com>
13 years agoscripts/runqemu: Make it run on ubuntu 11.10
Khem Raj [Mon, 8 Aug 2011 06:30:02 +0000 (23:30 -0700)]
scripts/runqemu: Make it run on ubuntu 11.10

location of libGL has moved in ubuntu 11.10
so we look for it in the new locations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agochkconfig: remove link for update-alternatives to disambiguate
Xiaofeng Yan [Wed, 10 Aug 2011 08:57:32 +0000 (16:57 +0800)]
chkconfig: remove link for update-alternatives to disambiguate

[YOCTO #936]
"update-alternatives" installed: one in /usr/sbin from chkconfig \
(symlinked to "alternatives"), and the other in /usr/bin \
from update-alternatives-cworth.
It appears for whatever reason that the one from chkconfig is run \
during postinst processing but if you run the script from the command \
line it gets the other one.
this is due to differences in the PATH environment variable.

The following is the sequence to call scripts after kernel booting
inittab
  -->rcS
     -->./S40networking(PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
     -->S98configure(call rpm-postinstall)
        #"/usr/sbin" is found prior to "/usr/bin", so update-alternatives from chkconfig is run in this script
  -->rc5.d
  -->profile(profile:4:PATH="/usr/local/bin:/usr/bin:/bin" profile:15: PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin)
  #"/usr/bin/" is found prior to "/usr/sbin", so update-alternatives from update-alternatives-cworth is run in this script

So I remove the symlink (update-alternatives linked to chkconfig). The one from update-alternatives-cworth is left alone.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agoscripts/combo-layer: a simple way to script the combo-layer conf
Leandro Dorileo [Wed, 10 Aug 2011 05:09:05 +0000 (01:09 -0400)]
scripts/combo-layer: a simple way to script the combo-layer conf

This small patch introduces a a very simple and basic way to script
the combo-layer conf file. With that a combo can be shared with no
need to change its config - associated to the use of environment
variables for example.

*Similar* to bitbake it considers every value starting with @ to be
a python script. So local_repo could be easily configured as:

[bitbake]
local_repo = @os.getenv("LOCAL_REPO_DIR") + "/bitbake"

or any more sophisticated python syntax.

This version updates the config file description so users can be
aware of.

Signed-off-by: Leandro Dorileo <ldorileo@gmail.com>
13 years agosstate: Add level 2 debug so its possible to see what sstate is doing
Richard Purdie [Wed, 10 Aug 2011 18:39:31 +0000 (19:39 +0100)]
sstate: Add level 2 debug so its possible to see what sstate is doing

Currently its hard to figure out if/when sstate is checking for possible
packages to speed up builds. This patch adds level 2 debug output which
better indicates what files are being searched for an why.

[YOCTO #1259]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: Various fixups to ensure consistent gcc builds
Richard Purdie [Tue, 9 Aug 2011 17:51:44 +0000 (18:51 +0100)]
gcc: Various fixups to ensure consistent gcc builds

We ensure that:
* the shared work directory contains PR and ensure PR values are consistent across gcc builds
* the regexp to handle library directories is in a specific task and run once

This avoids breakage that was seen in incremental builds after commit
be1f70d68b6b75772ebab8bdff683ddd7c42b0cd where the interpretor could
become corrupted. This was due to the sed expression corrupting
the source directory.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdk
Kumar Gala [Tue, 9 Aug 2011 03:52:11 +0000 (22:52 -0500)]
eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdk

Don't use GLIBC_EXTRA_OECONF for the nativesdk builds.  Easiest solution
is to just override it settings.  Otherwise we might pickup configure
options ment for the target build.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agooe.terminal: improve how we spawn screen
Chris Larson [Tue, 5 Apr 2011 19:01:04 +0000 (12:01 -0700)]
oe.terminal: improve how we spawn screen

- Name the screen session 'devshell', to avoid confusion if running bitbake
  itself under a screen session.
- Display a warning message when spawning screen, so it's clear to the user
  that screen has been run (otherwise do_devshell just appears to hang).

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agoRework how the devshell functions
Chris Larson [Tue, 29 Mar 2011 19:53:19 +0000 (12:53 -0700)]
Rework how the devshell functions

In the new implementation, each known terminal is defined as a class in
oe.terminal, as a subclass of bb.process.Popen.  terminal.bbclass wraps this
functionality, providing the metadata pieces.  It obeys the OE_TERMINAL
variable, which is a 'choice' typed variable.  This variable may be 'auto',
'none', or any of the names of the defined terminals.

When using 'auto', or requesting an unsupported terminal, we attempt to spawn
them in priority order until we get one that's available on this system (and
in the case of the X terminals, has DISPLAY defined).  The 'none' value is
used when we're doing things like automated builds, and want to ensure that no
terminal is *ever* spawned, under any circumstances.

Current available terminals:

    gnome
    konsole
    xterm
    rxvt
    screen

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agocore-image: adjust to use the new IMAGE_FEATURES support
Chris Larson [Tue, 9 Aug 2011 14:16:17 +0000 (07:16 -0700)]
core-image: adjust to use the new IMAGE_FEATURES support

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agoimage: add support for generally useful {dev,doc,dbg}-pkgs features
Chris Larson [Mon, 8 Aug 2011 23:12:08 +0000 (16:12 -0700)]
image: add support for generally useful {dev,doc,dbg}-pkgs features

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agoimage: implement IMAGE_FEATURES
Chris Larson [Mon, 8 Aug 2011 23:09:37 +0000 (16:09 -0700)]
image: implement IMAGE_FEATURES

IMAGE_FEATURES is analagous to DISTRO_FEATURES and MACHINE_FEATURES, for
root filesystem construction. Currently, the only supported features are
any defined package groups, as used by the oe.packagegroup python
module.

Example usage:

    PACKAGE_GROUP_myfeature = "vim iptables"
    IMAGE_FEATURES += "myfeature"

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agoscripts/oe-buildenv-internal: improve the error detecting for $BDIR
Dexuan Cui [Thu, 4 Aug 2011 06:53:20 +0000 (14:53 +0800)]
scripts/oe-buildenv-internal: improve the error detecting for $BDIR

The previous fix for a bug in Ubuntu 10.04 readlink,
be2a2764d8ceb398d81714661e6f199c8b11946c, notified the user when a trailing
slash was used. As there is no semantic difference, simply remove any
trailing slashes and proceed without nagging the user.

See [YOCTO #671] for more details.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agotune-x86-64: Fix DEFAULTTUNE order so weak default to overrides the arch-ia32 version
Richard Purdie [Wed, 10 Aug 2011 12:19:28 +0000 (13:19 +0100)]
tune-x86-64: Fix DEFAULTTUNE order so weak default to overrides the arch-ia32 version

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosqlite3: Ensure nativesdk package extension is handled correctly
Richard Purdie [Tue, 9 Aug 2011 14:04:27 +0000 (15:04 +0100)]
sqlite3: Ensure nativesdk package extension is handled correctly

This avoids the warning:

NOTE: multiple providers are available for runtime libsqlite3-dev (sqlite3, sqlite3-nativesdk)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libsqlite3-dev

until such times as we convert nativesdk to use a prefix like multilib.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Add MULTI_PROVIDER_WHITELIST manipulation for multilib
Richard Purdie [Tue, 9 Aug 2011 13:35:34 +0000 (14:35 +0100)]
base.bbclass: Add MULTI_PROVIDER_WHITELIST manipulation for multilib

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodefault-distrovars.inc: Allow world builds to be successful
Richard Purdie [Tue, 9 Aug 2011 11:01:04 +0000 (12:01 +0100)]
default-distrovars.inc: Allow world builds to be successful

Currently we exclude some packages with license issues from world builds
but we don't exclude packages that depend on them leading to errors
when trying a "bitbake world". This patch also blacklists the dependees
so that a world build doesn't show horrible errors and requires the -k
option.

[YOCTO #1262]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodefaultsetup: Use .= to add TCLIBCAPPEND to TMPDIR
Daniel Lazzari [Fri, 5 Aug 2011 19:56:17 +0000 (12:56 -0700)]
defaultsetup: Use .= to add TCLIBCAPPEND to TMPDIR

Lazily appending causes a bug where wrong cache is
cleared when BB_SRCREV_POLICY = "clear".

Tested with qemuarm on uclibc/eglibc in same build dir

Signed-off-by: Daniel Lazzari Jr <dlazzari@leapfrog.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqemu: Poke more paths for presence of libgl
Khem Raj [Mon, 8 Aug 2011 06:14:03 +0000 (23:14 -0700)]
qemu: Poke more paths for presence of libgl

On ubuntu 11.10 libGL is not in
/usr/lib/`uname -i`-linux-gnu/ directory
so we search this dir too.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>