scm/bb/tizen-distro.git
13 years agoscripts/runqemu: disable unfs boot mode for qemuppc
Liming Wang [Thu, 25 Aug 2011 14:45:29 +0000 (22:45 +0800)]
scripts/runqemu: disable unfs boot mode for qemuppc

Because unfs boot mode is unstable for qemuppc, disable
it temporarily.

(From OE-Core rev: 74ff1bc8c248824116ba4b787b10fa6ee0c13ce1)

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: support kernel image type of vmlinux.gz
Mike Crowe [Thu, 25 Aug 2011 12:59:28 +0000 (13:59 +0100)]
kernel.bbclass: support kernel image type of vmlinux.gz

Add support for a gzipped vmlinux kernel by specifying:

  KERNEL_IMAGETYPE = "vmlinux.gz"

(From OE-Core rev: cb17b6c2a72f260c61b0ec46887c2a04ac5b3f80)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocmake-nativesdk: remove gcc standard paths
Kang Kai [Thu, 25 Aug 2011 02:55:40 +0000 (10:55 +0800)]
cmake-nativesdk: remove gcc standard paths

Because of the gcc-crosssdk bug, cmake-nativesdk needs to search gcc
standard paths itself. Right now it was fixed, so remove the additional
CXXFLAG for cmake-nativesdk.

(From OE-Core rev: bac15cc98e136892d4c09f2470622965bd9dbbeb)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4-tools-nativesdk: remove gcc standard paths
Kang Kai [Thu, 25 Aug 2011 02:41:57 +0000 (10:41 +0800)]
qt4-tools-nativesdk: remove gcc standard paths

gcc-crosssdk can't find the standard headers before, and it was fixed.
So it is not needed to search the gcc standard paths by
qt4-tools-nativesdk itself.

(From OE-Core rev: be86cbf54f3aeeda1105acd153fe09348a7ac267)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: set includedir_nativesdk
Kang Kai [Thu, 25 Aug 2011 02:25:55 +0000 (10:25 +0800)]
bitbake.conf: set includedir_nativesdk

Fixes [Yocto #1231]

crosssdk.bbclass uses ${includedir_nativesdk} to define target_includedir,
but includedir_nativesdk is not defined before. This makes gcc-crosssdk
can NOT search the correct standard headers and libraries search path.

Define includedir_nativesdk in bitbake.conf.

(From OE-Core rev: 46a02c30d372692282f2784870df6fd63c660b10)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix adt-installer for consistent naming for powerpc and add all arch template for...
Jessica Zhang [Thu, 25 Aug 2011 18:19:53 +0000 (11:19 -0700)]
Fix adt-installer for consistent naming for powerpc and add all arch template for installation

(From OE-Core rev: 299402832cc461f2db58481ccbb1a3a8ac92a7d0)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: Fix recrdeptask of image type recipes
Dongxiao Xu [Thu, 25 Aug 2011 03:40:11 +0000 (11:40 +0800)]
package.bbclass: Fix recrdeptask of image type recipes

For image type of recipes, we need to define do_package_write as its
do_build recrdeptask, which ensures that all packaging types listed in
PACKAGE_CLASSES will be built out.

[YOCTO 1370]

(From OE-Core rev: b68cd33673fdc17711d7b9fde9cc23b0d8498c17)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscript/runqemu: change boot command line for qemuppc
Liming Wang [Wed, 24 Aug 2011 08:48:27 +0000 (16:48 +0800)]
script/runqemu: change boot command line for qemuppc

Because qemuppc has no graphic emulation, remove console=tty0
and make it run into 3 run level. This can reduce boot time
for qemuppc booting.

(From OE-Core rev: ba02844fd3c3e09b4c40bfff50c32bdcc27899fc)

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-4.5.1: Drop gcc-poison-parameters.patch, replace with bug fix patch
Kumar Gala [Fri, 26 Aug 2011 14:33:53 +0000 (09:33 -0500)]
gcc-4.5.1: Drop gcc-poison-parameters.patch, replace with bug fix patch

The gcc-poison-parameters was added specifically to deal with an issue
on ppc targets and a bug when we build with -Os -frename-registers.

This bug below reports the issue and is fixed in gcc-4.6.x/mainline:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618

Backport patch to gcc 4.5.1.

(From OE-Core rev: fef385e37e82a0eec743fbd1da11021b9e7158b5)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-4.6: Drop gcc-poison-parameters.patch as its not need
Kumar Gala [Wed, 24 Aug 2011 05:08:50 +0000 (00:08 -0500)]
gcc-4.6: Drop gcc-poison-parameters.patch as its not need

The gcc-poison-parameters was added specifically to deal with an issue
on ppc targets and a bug when we build with -Os -frename-registers.

This bug below reports the issue and is fixed in gcc-4.6.x:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618

(From OE-Core rev: 0fabe078a31591f41c3fdabe5aa9de1111ef82c7)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/sanity: enhance the network connectivity test
Joshua Lock [Thu, 25 Aug 2011 15:29:30 +0000 (08:29 -0700)]
classes/sanity: enhance the network connectivity test

Switch to use the checkstatus fetcher API for the network connectivity test,
this has several advantages:
* we no longer print any messages to the console whilst the check is
being run
* we don't actually download anything, removing the need for tidy up and
making the code more concise

(From OE-Core rev: 81aa4bfbde871af1d569b64499c34a315bf6218e)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: update meta SRCREV to sync version strings
Bruce Ashfield [Thu, 25 Aug 2011 04:36:34 +0000 (00:36 -0400)]
linux-yocto: update meta SRCREV to sync version strings

During the update of the bitbake recipe's string to 3.0.3 the internal
version marker in the kernel stayed at v3.0. This meant that kernel
configuration auditing the constructed file couldn't be found and audit
warnings were thrown. This syncs all the recipes and get back to
clean configurations.

(From OE-Core rev: 2be439c14790fec8ad7ffe1b6c531d41d0329eaf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: disable some menu entries whilst build is in progress
Joshua Lock [Tue, 23 Aug 2011 23:35:05 +0000 (16:35 -0700)]
hob: disable some menu entries whilst build is in progress

It doesn't make sense to be able to modify the preferences and add/remove
layers whilst a build is in progress - disable the relevant menu items once
the build has started and re-enable them once the user has returned to the
creation view.

(Bitbake rev: 0423587db09f6f28cf9d801f5657a84157f42dbe)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/tasklistmodel: fix find_reverse_depends method
Joshua Lock [Tue, 23 Aug 2011 23:34:50 +0000 (16:34 -0700)]
bb/ui/crumbs/tasklistmodel: fix find_reverse_depends method

This fixes an embarassing typo which meant the method actually returned a
list of packages which didn't depend on the passed pn.

(Bitbake rev: a17334e85869bf78d63df1b2336d68980a0b359f)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: don't set PARALLEL_MAKE and BB_NUMBER_THREADS based on cpu count
Joshua Lock [Tue, 23 Aug 2011 23:11:47 +0000 (16:11 -0700)]
hob: don't set PARALLEL_MAKE and BB_NUMBER_THREADS based on cpu count

This was actually broken with recent changes as the values were never
persisted to a file (meaning they were unset on the server at reparse
despite the UI indicating they were set).

However, I've chosen to remove the 'feature' as pegging a users CPU without
them asking to use high thread counts seems a little offensive.

(Bitbake rev: 27dcf245abf3805be47894773406392fdf055e48)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/fetch2/git: add checkstatus command
Joshua Lock [Wed, 24 Aug 2011 20:04:23 +0000 (13:04 -0700)]
bb/fetch2/git: add checkstatus command

Use git ls-remote to implement checkstatus command for the git fetcher.

(Bitbake rev: 0ed281feb6d244d3700da484f4e83394ae394f93)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa-toolchain/environment: Collected site config files in runtime.
Lianhao Lu [Tue, 16 Aug 2011 03:21:54 +0000 (11:21 +0800)]
meta-toolchain/environment: Collected site config files in runtime.

[YOCTO #892]
Use the new cached site config files generation mechanism in
toolchain-script.bbclass.

(From OE-Core rev: 445d6426197579a9c0317498cc6919bb63e7f726)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotoolchain-script.bbclass: Collected cached site config in runtime.
Lianhao Lu [Tue, 16 Aug 2011 03:15:36 +0000 (11:15 +0800)]
toolchain-script.bbclass: Collected cached site config in runtime.

[YOCTO #892]
Modify the function toolchain_create_sdk_siteconfig to collect the
cached site config files which are specified by
TOOLCHAIN_NEED_CONFIGSITE_CACHE in runtime.

Also added task dependency to ensure the cached site config files are
generated.

(From OE-Core rev: 9e87f1347788beed181476dc4563085db14a4729)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibc-package bbclass: fix binary localedata dependency code
Koen Kooi [Wed, 24 Aug 2011 18:32:00 +0000 (20:32 +0200)]
libc-package bbclass: fix binary localedata dependency code

When using binary locales rootfs generation fails with:

| Unknown package 'locale-base-en-us'.
| Collected errors:
|  * opkg_install_cmd: Cannot install package locale-base-en-us.

This is due to:

$ dpkg-deb -I ipk/armv7a/locale-base-en-us_2.12-r16_armv7a.ipk | grep Depends
 Depends: eglibc-binary-localedata-en.us

Note the '.' seperator

$ ls ipk/armv7a/ | grep binary-localedata-en | grep us
eglibc-binary-localedata-en-us_2.12-r16_armv7a.ipk

Note the '-' seperator vs the '.' in the locale-base packages.

(From OE-Core rev: 19fb07bf337e1d724798e2eb4479c35fc45b1941)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoterminal: fix issue with unset exportable env vars
Chris Larson [Wed, 24 Aug 2011 20:00:03 +0000 (13:00 -0700)]
terminal: fix issue with unset exportable env vars

This should resolve the devshell issue people are seeing.

(From OE-Core rev: 332f2a9febfc3697ed4a20fca3016e0399ae90eb)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto/2.6.37: apmd + get time of day fixes
Bruce Ashfield [Wed, 24 Aug 2011 20:20:36 +0000 (16:20 -0400)]
linux-yocto/2.6.37: apmd + get time of day fixes

Fixes [YOCTO #916]
Fixes [YOCTO #900]

Merging:

[
  commit 4ae8f8605c81c39b959948e23f7123294a5dfb3f
  Author: Liming Wang <liming.wang@windriver.com>
  Date:   Wed Aug 24 10:45:19 2011 +0800

    x86: use vdso gettime fallback versus returning an error

    __vdso_clock_gettime should fall back to call vdso_fallback_gettime function
    if no clockid is selected, not just return error.

    (From OE-Core rev: 8069549937f8d1e266eb0a2d6b4c1321b08ed69b)

Signed-off-by: Liming Wang <liming.wang@windriver.com
]
[
  commit aeea99683c7283f1f3320bf2ee7085ee252d4e7e
  Author: Liming Wang <liming.wang@windriver.com>
  Date:   Fri Aug 19 17:43:49 2011 +0800

    meta: add APM Emulation option to beagleboard

    apmd daemon needs this option to work, so add this to beagleboard
    kernel config file.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: update machines and default configuration
Bruce Ashfield [Wed, 24 Aug 2011 20:10:47 +0000 (16:10 -0400)]
linux-yocto: update machines and default configuration

Fixes [YOCTO: #686]

During routine maintenance some base changes were re-wound on
the common branches. All machines still had these changes, but
any new machine branched from the common base would miss those
changes. This update restores those commits to the standard branch
and merges them out to all child branches.

The meta branch update adds a configuration item to support
live image booting on qemux86.

(From OE-Core rev: 518de98e8c1cb4bd1d76c562007b9eccc196c572)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: update meta SRCREVs for beagleboard config changes
Bruce Ashfield [Mon, 22 Aug 2011 04:17:03 +0000 (00:17 -0400)]
linux-yocto: update meta SRCREVs for beagleboard config changes

Fixes [YOCTO #916]

Adding APM emulation and CONFIG_USB_MUSB_OMAP2PLUS to the beagleboard
base configuration.

(From OE-Core rev: aea2785ccd36addd163a6b2e36fa2c9a8108ba00)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto-rt: update qemuppc support and streamline variables
Bruce Ashfield [Wed, 24 Aug 2011 20:50:26 +0000 (16:50 -0400)]
linux-yocto-rt: update qemuppc support and streamline variables

Fixes [YOCTO #1391]
Fixes [YOCTO #1389]

qemuppc must have a dedicated branch for -rt support, since it has
board specific patches that are not suitable for a common location.
This fixes the boot by propagating some common fixes and by syncing
to the latest meta-configuration.

There are some variables that are now in linux-yocto.inc and need not
be defined by the kernel recipe itself, so we can safely remove them
with no impact on the build.

CC: Darren Hart <dvhart@linux.intel.com>
(From OE-Core rev: fc0220b59a15f8cff57c13fe7966d05f7386da71)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokern-tools: allow flexible branch points
Bruce Ashfield [Wed, 24 Aug 2011 20:50:25 +0000 (16:50 -0400)]
kern-tools: allow flexible branch points

Updating the SRCREV to pickup a series of changes to the
kern-tools that allow more flexible creation of trees from
scratch. This functionality is not used by the normal
kernel build process and has no impact on existing builds.

(From OE-Core rev: faaa03c2a166e37a11edd52011799e6a8cff144d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinitrdscripts: fix init-live.sh for hddimg and livecd
Jingdong Lu [Wed, 24 Aug 2011 07:36:22 +0000 (15:36 +0800)]
initrdscripts: fix init-live.sh for hddimg and livecd

Both hddimg and livecd use init-live.sh script to boot the rootfs.img.
But the paths of rootfs.img in hddimg and livecd are different. So we add
a variable "ISOLINUX" to provide a correct path.

(From OE-Core rev: 4e7221d23bf335cbb4e1e2ba703e4c0a04df7129)

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibpam: Setting suid bit for unix_chkpwd
Wenzong Fan [Sat, 20 Aug 2011 07:30:32 +0000 (15:30 +0800)]
libpam: Setting suid bit for unix_chkpwd

[YOCTO #1252]

While pam_unix.so required by an application on lsb image, it will need to
call the unix_chkpwd to get userinfo from shadow file. This fix get a normal
user could read shadow file via unix_chkpwd.

(From OE-Core rev: c23a3cd68385563a16d5bbc899e26f35cdc6c2cf)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocronie: Updates to cronie
Wenzong Fan [Sat, 20 Aug 2011 09:15:50 +0000 (17:15 +0800)]
cronie: Updates to cronie

1) Add required pam plugins to RDEPENDS list;
2) Correct configure option that used for enable pam support;
3) Create empty crond config file cron.deny;
4) Don't set readonly variable UID in crond init script.

(From OE-Core rev: 0fa1989b03cf70c7f27629c8340963fcef862097)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomips32: add mips32el tuning
Phil Blundell [Fri, 19 Aug 2011 16:55:08 +0000 (17:55 +0100)]
mips32: add mips32el tuning

This makes building for little-endian mips32 slightly more convenient.

(From OE-Core rev: cd5b601bb2149cbc866dc32b46f4058d3284fb00)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoprocps: Fix lib path to support multilib
Dongxiao Xu [Tue, 23 Aug 2011 14:18:12 +0000 (22:18 +0800)]
procps: Fix lib path to support multilib

Revise the install.patch which hardcode the lib paths.
Change ${PN} to ${BPN} in file names.

(From OE-Core rev: 7e3e69d38898876ba3325852bbec04586635e66f)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibtasn1: update SRC_URI
Joshua Lock [Tue, 23 Aug 2011 22:33:55 +0000 (15:33 -0700)]
libtasn1: update SRC_URI

libtasn is no longer hosted as a sub-project of gnutls, it has its ftp
directory.

(From OE-Core rev: 4570c1e4f5ba3f3c2f5be8b46d47efc3921d3e6b)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage.bbclass, kernel.bbclass: remove non-standard -n option from cp command
Paul Eggleton [Tue, 23 Aug 2011 15:22:14 +0000 (16:22 +0100)]
image.bbclass, kernel.bbclass: remove non-standard -n option from cp command

-n is not a POSIX option and does not work on some systems (e.g. Debian
Lenny); in any case it is not strictly necessary here, so remove it.

(From OE-Core rev: 13e14763f14b5b84051ecb158404dcef937cc4e0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/combo-layer: fix overzealous regex in default hook script
Paul Eggleton [Tue, 23 Aug 2011 18:56:28 +0000 (19:56 +0100)]
scripts/combo-layer: fix overzealous regex in default hook script

combo-layer's hook scripts are intended to modify patches as they pass
through; the default one adds a prefix with the component name and
a line with the component repo revision before the Signed-off-by;
however the script was also unintentionally modifying the contents of
patches *within* the patches passing through it, which resulted in
unexpected failures when the combo-layer script attempted to use
"git am" to apply them.

(From OE-Core rev: e7aae45414e4597e9244f86a81fbc940f73785c8)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: clarify COMMERCIAL_LICENSE skip reason
Paul Eggleton [Tue, 23 Aug 2011 15:51:07 +0000 (16:51 +0100)]
base.bbclass: clarify COMMERCIAL_LICENSE skip reason

Change to a proper sentence and add a reference to the
COMMERCIAL_LICENSE variable so that the user knows where this can be
controlled.

Addresses remainder of [YOCTO #846]

(From OE-Core rev: 463d1719cc627ef22089282acfe70d7fcb835419)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoutils.bbclass: skip empty paths when handling FILESEXTRAPATHS
Martin Jansa [Fri, 19 Aug 2011 12:16:28 +0000 (14:16 +0200)]
utils.bbclass: skip empty paths when handling FILESEXTRAPATHS

* if there is multiple .bbappend files with FILESEXTRAPATHS_prepend := "/:"
  then the one parsed last is causing trailing ':' and that's causing empty element in
  path = extrapaths.split(:) + path
* it's hard to keep all .bbappends from foreign layers to follow this rule, so it's better
  to be able to handle trailing ':'

(From OE-Core rev: 3b5591d423324da076d038ad335af47b616a7903)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotask-core-x11-sato: add libsdl into sato image
Jiajun Xu [Mon, 22 Aug 2011 15:30:18 +0000 (23:30 +0800)]
task-core-x11-sato: add libsdl into sato image

We add libsdl into sato image since some 3D graphics testing needs it.

(From OE-Core rev: 0934dc7c421ea6fb8f16ce535be72dda9ecb17de)

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibsdl: do not inherit nativesdk
Jiajun Xu [Mon, 22 Aug 2011 15:29:07 +0000 (23:29 +0800)]
libsdl: do not inherit nativesdk

We already enable target version for libsdl and use BBCLASSEXTEND
to enable nativesdk. No need to inherit nativesdk then.

(From OE-Core rev: f3945cf1a9d33438afbcb28ee35edc10b9d047d9)

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/combo-layer: fix configuration file handling
Otavio Salvador [Fri, 19 Aug 2011 15:07:05 +0000 (15:07 +0000)]
scripts/combo-layer: fix configuration file handling

(From OE-Core rev: e83017fe9e1dc89860a43d41d0480d1371539e44)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/runqemu: add support to pass bootparams to kernel
Otavio Salvador [Fri, 19 Aug 2011 13:37:26 +0000 (13:37 +0000)]
scripts/runqemu: add support to pass bootparams to kernel

(From OE-Core rev: 4a2d3cfeeef4de6da1301c65033fa251538cddc9)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: save kernel image name into $kerneldir
Otavio Salvador [Fri, 22 Jul 2011 01:23:59 +0000 (01:23 +0000)]
kernel.bbclass: save kernel image name into $kerneldir

Save the kernel image name into sysroot so it can be used during image
build if need. This is used by O.S. Systems products and probably
useful to others.

(From OE-Core rev: 19a587cb98a20f0e659483541fc8cec874f6afa9)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoUse OECORE_DISTRO_VERSION instead of POKY_DISTRO_VERSION
Otavio Salvador [Fri, 15 Jul 2011 14:53:34 +0000 (14:53 +0000)]
Use OECORE_DISTRO_VERSION instead of POKY_DISTRO_VERSION

(From OE-Core rev: 6890c02ec4538b82b694deaba39e9921af4e3f47)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake meta-toolchain with gcc 4.5.1 failed
Robert Yang [Sun, 21 Aug 2011 09:52:55 +0000 (17:52 +0800)]
bitbake meta-toolchain with gcc 4.5.1 failed

Fixes bug [YOCTO #1386]

1) Add the following lines to conf/local.conf:

SDKGCCVERSION="4.5.1"
GCCVERSION="4.5.1"

2) bitbake meta-toolchain

The we will notice the error that sed can't find the directory:

${TMPDIR}/work-shared/gcc-${PV}/gcc-${PV}-${PR}

we had changed the name of S from gcc-${PV} to gcc-${PV}-${PR}, but didn't
update meta/recipes-devtools/gcc/gcc-common.inc, so fix S in gcc-common.inc
would make it work.

(From OE-Core rev: 282773ff3e0f365c08ae7e8fe759029f33e575b1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: update SRCREVs for 3.0.3
Bruce Ashfield [Fri, 19 Aug 2011 04:57:26 +0000 (00:57 -0400)]
linux-yocto: update SRCREVs for 3.0.3

Updating the SRCREVs to pickup the kernel.org -stable update for
3.0.3

(From OE-Core rev: 450b6eded024c365d0ad4808b492d73c4cd02f6d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: move more default values into linux-yocto.inc
Bruce Ashfield [Fri, 19 Aug 2011 04:42:38 +0000 (00:42 -0400)]
linux-yocto: move more default values into linux-yocto.inc

During the preparation of some linux-yocto extension documentation it
was clear that some variables are being defined in each recipe, when
they don't have to be. Moving the defaults into linux-yocto.in and
allowing them to be overidden in recipes simpifies the reuse of the
base infrastructure.

(From OE-Core rev: 0ca26544efe8d650f36db9dc1c3b3a15110d7e31)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoat: fix RDEPENDS -> RDEPENDS_${PN}
Saul Wold [Sun, 21 Aug 2011 19:56:56 +0000 (12:56 -0700)]
at: fix RDEPENDS -> RDEPENDS_${PN}

(From OE-Core rev: 848f198563bc31e591a559936e9c679c7381c9a6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoadt-installer: Removed the hard coded repo url.
Lianhao Lu [Fri, 19 Aug 2011 05:14:27 +0000 (13:14 +0800)]
adt-installer: Removed the hard coded repo url.

[YOCTO #1380] Removed the hard coded repo url in opkg configuration
files.

(From OE-Core rev: 125eae393a3448e1ff5f3c2cf782ed7b3aa23920)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types_uboot: add uboot mkimage fs types
Chris Larson [Fri, 19 Aug 2011 21:56:25 +0000 (14:56 -0700)]
image_types_uboot: add uboot mkimage fs types

(From OE-Core rev: ac75c4cc27494e93ad8eba318582b875fea8f508)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorpm: be certain we don't prefix our binaries
Chris Larson [Fri, 19 Aug 2011 21:56:24 +0000 (14:56 -0700)]
rpm: be certain we don't prefix our binaries

In certain combinations of build/host/target, they can end up
inadvertently prefixed, breaking the assumptions in the recipe.

(From OE-Core rev: a00600b853570b6090e68d20f22bb5ef5435e0ea)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibpcre: the generated libtool uses HOST_SYS
Chris Larson [Fri, 19 Aug 2011 21:56:23 +0000 (14:56 -0700)]
libpcre: the generated libtool uses HOST_SYS

(From OE-Core rev: 039b1a04db32bed23536a23983c3b6d91e1166c7)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 4e108857e0d40105f7ecbc55e99bd6c367bb7386)

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

(From OE-Core rev: c70ebd6f8ff34071febeb132c8bc4df220e328da)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Jason Kridner <jkridner@beagleboard.org>
CC: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 7d46901840795638ff184a43e65299446fbd0b4e)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Jason Kridner <jkridner@beagleboard.org>
CC: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agousermanual: The git fetcher defaults to the git protocol (or file)
Richard Purdie [Sun, 21 Aug 2011 17:39:41 +0000 (10:39 -0700)]
usermanual: The git fetcher defaults to the git protocol (or file)

(Bitbake rev: 692c2fcead5c82249359ad54d2c7941d087a2eb3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agofetch2/git: Add rsync as a valid git protocol
Richard Purdie [Sun, 21 Aug 2011 17:38:59 +0000 (10:38 -0700)]
fetch2/git: Add rsync as a valid git protocol

(Bitbake rev: 4cc4e318fd6907a4742f327177f321d140385c9e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/hob: warn and prevent image build if no IMAGE_FSTYPE is set
Joshua Lock [Fri, 19 Aug 2011 00:50:22 +0000 (17:50 -0700)]
bb/ui/hob: warn and prevent image build if no IMAGE_FSTYPE is set

If IMAGE_FSTYPE is empty and the user has opted to build an image warn
them and prevent the build.

Fixes [YOCTO #1267]

(Bitbake rev: 023edbe6d04f25c7e0e7b615eb06cd3727c665cb)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/hobprefs: fix setting IMAGE_FSYTPES
Joshua Lock [Fri, 19 Aug 2011 00:46:10 +0000 (17:46 -0700)]
bb/ui/crumbs/hobprefs: fix setting IMAGE_FSYTPES

We were setting the value as a list when a string is expected

(Bitbake rev: fc3bb3a4f04f64c6d47c7bf040b7522e9204a458)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/hobeventhandler: fix return values of *_image_output_type
Joshua Lock [Fri, 19 Aug 2011 00:45:16 +0000 (17:45 -0700)]
bb/ui/crumbs/hobeventhandler: fix return values of *_image_output_type

These methods are expected to return lists.

(Bitbake rev: 4e101de9034c20dfda0bb851e84f4315335620f6)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/hob: fix package only build
Joshua Lock [Thu, 18 Aug 2011 21:45:18 +0000 (14:45 -0700)]
bb/ui/hob: fix package only build

Use the models new get_selected_pn method to return a list of PN's for the
selected items and pass that for a package only build, rather than passing
a list of package names (which buildTargets can't handle).

Fixes [YOCTO #1385]

(Bitbake rev: c969857c7f5963098e6584803eafb4e2be0eea46)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/tasklistmodel: track the PN for each entry in the model
Joshua Lock [Thu, 18 Aug 2011 21:43:49 +0000 (14:43 -0700)]
bb/ui/crumbs/tasklistmodel: track the PN for each entry in the model

Now that we've switched to packages in the model, rather than PN, it makes
sense to add an extra field to store the PN of the package.

This patch includes a convenience method to retrieve a list of selected PN's.

(Bitbake rev: cf79424592a81378de5edad11cf6c4f427c94bcc)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: don't try and build if user selects Bake with no selections made
Joshua Lock [Thu, 18 Aug 2011 21:18:46 +0000 (14:18 -0700)]
hob: don't try and build if user selects Bake with no selections made

If the user hasn't made any selections inform them that they need to do so
before clicking Bake.

Fixes [YOCTO #1384]

(Bitbake rev: e176dcf637da2d0105a4361a46d5df5238e3b8ce)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/tasklistmodel: store all binb, not just the first
Joshua Lock [Thu, 18 Aug 2011 04:39:30 +0000 (21:39 -0700)]
bb/ui/crumbs/tasklistmodel: store all binb, not just the first

This makes it easier for the user to determine what the effects of a
removal may be, further it means we no longer need the find_alt_dependency
method which could be a fairly time-consuming method depending on the size
of the contents table.

Partially addresses [YOCTO #1365]

(Bitbake rev: 91d1f5f5a44c80e6702221509e2e9aadbe05bcc0)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/tasklistmodel: remove useless items from dependency list
Joshua Lock [Thu, 18 Aug 2011 03:25:12 +0000 (20:25 -0700)]
bb/ui/crumbs/tasklistmodel: remove useless items from dependency list

Ensure the dependency list is uniquified, doesn't include self references
and further doesn't include -dev references.

(Bitbake rev: 70aebebc3867d52e460355667e711c7c6dcd50ce)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/tasklistmodel: more robust checking for substrings
Joshua Lock [Thu, 18 Aug 2011 03:17:42 +0000 (20:17 -0700)]
bb/ui/crumbs/tasklistmodel: more robust checking for substrings

Relying on the count() method of Str to determine whether the string
contains a substring is error prone purely because the return value doesn't
strictly convert to a Boolean value.
To that end take the more pythonic approach of using the in operator (foo
in bar) to check for the substring.
Further, add a helper method for the common case of testing whether a pn
is -native, -cross or virtual/

(Bitbake rev: d7768cefcddd59a5102d7e9b67e4416bf8603f55)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/runningbuild: hide the progress bar on cache load complete
Joshua Lock [Tue, 16 Aug 2011 20:58:24 +0000 (13:58 -0700)]
bb/ui/crumbs/runningbuild: hide the progress bar on cache load complete

When we receive the CacheLoadComplete command we need to ensure the
progress bar is hidden as we can't expect the ParseComplete event, where
this would usually be done.

This patch makes the Goggle UI usable again.

(Bitbake rev: 64dfc574c12d882761e4958c8b1881cd47a87e0d)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/runningbuild: reduce number of messages after recent msg change
Joshua Lock [Tue, 16 Aug 2011 20:56:37 +0000 (13:56 -0700)]
bb/ui/crumbs/runningbuild: reduce number of messages after recent msg change

The recent change to the message module to remove custom logging domains
resulted in an increased number of messages being displayed in the
running build view, ignore all messages lower than log level INFO.

(Bitbake rev: a12da000a8e4138fbdfd77f9c49b11fc69a315e1)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 9134800548a03bfe3a7e351a15f2129bcb3cc680)

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.

(From OE-Core rev: 919714837116097483fa3f475d2e1ad3b18961d1)

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.

(From OE-Core rev: e2c03b2a80efeeea2298bdba385671d0ae208e95)

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

(From OE-Core rev: c539155c51e43680711130df9050d3e92282591e)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: b989bb90919eb28cb92e842e989aa5b1fd7f068c)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 86c9732728e2e29051d6e6059e19c015c06358cb)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 290d51e9c8884886995b8adbafe4aa5eb5f879bf)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 4b8d13b72c2c338ec5606f19aa5d7554558c51e5)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 58c66c0ef6f9233a308362f0aad36a753206770c)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 4bb32686a727e0458f091a34800345938fb56606)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 2768b3b26d392d988d392c80e52e1f5e9da23c5c)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 618de3f788a22127def8244c0d6ebd3608ed5577)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: f9b6f41c9249cc90f7621d446eafae5e5508dd6e)

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: dd678881dfd8626299ee3b68284d2f41f07c1c56)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 6a38215b5214de2da82232f05ed1d29d3c422b3c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 689c906a9c47b08f9597787c4158e203135787bb)

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

(From OE-Core rev: 6baf17f1604853a1770c14cdc6ee0493beab6829)

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

(From OE-Core rev: dec5dfa334ce1b2524f80fab3d3f37e476f54a9f)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 187302dcc1536469a01c6ebd433eda4a4c2c411a)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.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.

(From OE-Core rev: 66e34066a0ac71f4212824b1e6353a4d323f4e21)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 32f74152dfe583f005c8654910b15cd7d0e3d421)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: c7bcf6e7c851269178af99ed9096207ab14fe76c)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: d6c24d3944ed662591372fbd7bf855395655d634)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: f1d4fb02d9952138acab6d647ce8975363dfdbab)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>

(From OE-Core rev: 0d883b5df25635fbad45191d297cbdf78a6c1fe0)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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()

(From OE-Core rev: 51ef8335df895603e75345a18aaefe2359b2387f)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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].

(From OE-Core rev: 75e3875341ddc8940e9ee2ccbbb2ec18194a68e6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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].

(From OE-Core rev: 4316c5e9eec67d71f4699102a63a5f968bd8d1d9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 2e83e6755441cb14bd907d306974338c15173189)

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).

(From OE-Core rev: c8cdfcd2fe06593d8523b94c33920a607429004a)

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.

(From OE-Core rev: f1e4b049438218347922f13de810782be0205c3d)

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.

(From OE-Core rev: 4024bf2874e9da4fd0dd9a2b90a48e8a259781cc)

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.

(From OE-Core rev: 3944f5e02d22b70b3bcd733a80f005dbd8e248a2)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 869a1efee685d59c762b965b98ac9c247be68c29)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 2a1fa5b3f1424e9264d29027c589b55cf2feb109)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>