]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agoexternalsrc.bbclass: Add class for handling external source trees
Richard Purdie [Fri, 24 Feb 2012 12:29:36 +0000 (12:29 +0000)]
externalsrc.bbclass: Add class for handling external source trees

This is loosly based upon srctree.bbclass from OE-Classic but with some
changes appropriate to OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotoolchain-scripts: Exclude variables causing the recipe to become unecessarily machin...
Richard Purdie [Thu, 1 Mar 2012 15:54:46 +0000 (15:54 +0000)]
toolchain-scripts: Exclude variables causing the recipe to become unecessarily machine specific

   basehash changed from 30e97f9eeed1df8488b62b4fb47a3a0c to 72ea9a277e6599ae9052b169b9a94f1b
   Variable TOOLCHAIN_CONFIGSITE_SYSROOTCACHE value changed from
   /OE/oe-core/tmp-eglibc/sysroots/qemux86-64/usr/share/x86_64-oe-linux_config_site.d
   to
   /OE/oe-core/tmp-eglibc/sysroots/qemux86-64copy/usr/share/x86_64-oe-linux_config_site.d
   Variable TIME value changed from 084543 to 085638

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoutil-linux: Fix build when NLS is disabled
Khem Raj [Thu, 1 Mar 2012 07:55:00 +0000 (23:55 -0800)]
util-linux: Fix build when NLS is disabled

AC_CHECK_DECLS generated defines should be
checked with #if not #ifdef

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking: Upgrade and Manual Checks
Saul Wold [Thu, 1 Mar 2012 06:58:22 +0000 (22:58 -0800)]
distro_tracking: Upgrade and Manual Checks

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoutil-linux: Fix removal of lscpu for non-GPLv3 Build
Saul Wold [Thu, 1 Mar 2012 06:54:52 +0000 (22:54 -0800)]
util-linux: Fix removal of lscpu for non-GPLv3 Build

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agopixman: updat to 0.24.4
Saul Wold [Thu, 1 Mar 2012 06:53:22 +0000 (22:53 -0800)]
pixman: updat to 0.24.4

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoglproto: Update to 1.4.15
Saul Wold [Thu, 1 Mar 2012 06:53:06 +0000 (22:53 -0800)]
glproto: Update to 1.4.15

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agohdparm: update to 9.39
Saul Wold [Thu, 1 Mar 2012 06:52:50 +0000 (22:52 -0800)]
hdparm: update to 9.39

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agonetbase: fix QA Warnings
Saul Wold [Thu, 1 Mar 2012 04:37:04 +0000 (20:37 -0800)]
netbase: fix QA Warnings

WARNING: For recipe netbase, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/sbin
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoperl: remove empty directories to clean QA Warnings
Saul Wold [Thu, 1 Mar 2012 04:36:08 +0000 (20:36 -0800)]
perl: remove empty directories to clean QA Warnings

WARNING: For recipe perl, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/perl/site_perl
WARNING:   /usr/lib/perl/site_perl/5.14.2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibx11-trim: Drop obsolete 1.3.4 version
Richard Purdie [Thu, 1 Mar 2012 11:53:02 +0000 (11:53 +0000)]
libx11-trim: Drop obsolete 1.3.4 version

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoself-hosted-image: Create a VMDK image with correct SYSLINUX_* settings
Saul Wold [Thu, 1 Mar 2012 07:46:22 +0000 (23:46 -0800)]
self-hosted-image: Create a VMDK image with correct SYSLINUX_* settings

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage-vmdk: Create image_vmdk class and setup image and image_types to use it
Saul Wold [Thu, 1 Mar 2012 07:46:21 +0000 (23:46 -0800)]
image-vmdk: Create image_vmdk class and setup image and image_types to use it

This creates a new image_vmdk class similar to live. The image_vmdk
class needs to have a hddimg created by the image-live class, so it
inherits it directly.

The changes to image_types is to ensure that both live and vmdk images
get the ext3 tools and dependencies.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibx11-trim/diet: Add RPROVIDES for libx11-dev
Richard Purdie [Thu, 1 Mar 2012 11:55:16 +0000 (11:55 +0000)]
libx11-trim/diet: Add RPROVIDES for libx11-dev

We have things that depend on libx11-dev, this patch ensures the -trim
and -diet versions provide it. This resolves some multiple providers
warnings.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage-live: Allow LABELS to be modified
Saul Wold [Thu, 1 Mar 2012 07:46:20 +0000 (23:46 -0800)]
image-live: Allow LABELS to be modified

This is to allow other image types to set the syslinux labels

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-libc-headers-yocto: bump to v3.2.8
Bruce Ashfield [Thu, 1 Mar 2012 02:27:07 +0000 (21:27 -0500)]
linux-libc-headers-yocto: bump to v3.2.8

Making two changes for BSPs that prefer linux-libc-headers-yocto:

  - bumping to v3.2.8 headers
  - stubbing out unecessary linux-yocto functions when headers
    are being built

[YOCTO #2032]

Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types_uboot: Update to work after recent image_types changes
Richard Purdie [Wed, 29 Feb 2012 16:27:21 +0000 (16:27 +0000)]
image_types_uboot: Update to work after recent image_types changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types: Correctness fixes
Richard Purdie [Wed, 29 Feb 2012 16:24:26 +0000 (16:24 +0000)]
image_types: Correctness fixes

* Add a newline to improve the output formatting
* Use set() to turn the list into a set of unique items to prevnt
  the same image code running twice (for e.g. IMAGE_FSTYPES = "tar.gz tar.bz2")
* Support multiple compression extensions such as ".gz.u-boot"
* Fix basetype/type typo and fix multiple image generation

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoMore quoting fixes
Paul Eggleton [Wed, 29 Feb 2012 12:59:14 +0000 (12:59 +0000)]
More quoting fixes

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types.bbclass: fix bzip2 and xz compression commands
Otavio Salvador [Wed, 29 Feb 2012 05:41:18 +0000 (05:41 +0000)]
image_types.bbclass: fix bzip2 and xz compression commands

We need to use -f (force) or the command fails in the image file
already exists.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types.bbclass: properly support IMAGE_LINK_NAME as empty
Otavio Salvador [Wed, 29 Feb 2012 05:41:17 +0000 (05:41 +0000)]
image_types.bbclass: properly support IMAGE_LINK_NAME as empty

[RP: Remove unneeded len()]
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage.bbclass: do not create image manifest link if IMAGE_LINK_NAME is empty
Otavio Salvador [Wed, 29 Feb 2012 05:41:16 +0000 (05:41 +0000)]
image.bbclass: do not create image manifest link if IMAGE_LINK_NAME is empty

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosyslinux: fix packaging of ${PN} and ${PN}-staticdev
Otavio Salvador [Wed, 29 Feb 2012 06:03:13 +0000 (06:03 +0000)]
syslinux: fix packaging of ${PN} and ${PN}-staticdev

 - ${PN} where not being build due ordering;
 - ${PN}-staticdev lacked the ${libdir} files.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobusybox: Enable 64 bit shell tests, and disable non-standard date format interpretation.
James Limbouris [Wed, 29 Feb 2012 06:56:30 +0000 (14:56 +0800)]
busybox: Enable 64 bit shell tests, and disable non-standard date format interpretation.

Without 64 bit shell tests, the timestamp comparison in initscripts' bootmisc.sh throws 'out of range' errors.
With CONFIG_FEATURE_DATE_COMPAT, date reads the YYYYMMddhhmm string as hhmmYYYYMMdd when setting the time from the timestamp in bootmisc.sh.

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolicenses.conf: fix quotting of SRC_DISTRIBUTE_LICENSES
Otavio Salvador [Tue, 28 Feb 2012 15:02:45 +0000 (15:02 +0000)]
licenses.conf: fix quotting of SRC_DISTRIBUTE_LICENSES

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcl: Ensure native verison has correct dependencies and builds
Richard Purdie [Tue, 28 Feb 2012 17:51:09 +0000 (17:51 +0000)]
tcl: Ensure native verison has correct dependencies and builds

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobootimg: Fix Quoting
Saul Wold [Tue, 28 Feb 2012 16:45:55 +0000 (08:45 -0800)]
bootimg: Fix Quoting

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosyslinux: bump PR
Otavio Salvador [Tue, 28 Feb 2012 14:17:59 +0000 (14:17 +0000)]
syslinux: bump PR

The change done in 868a81e869a6193aada2073ae533d937a1c0baf4 has
changed the packaging however it haven't bump the PR making
auto-building fail.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcl 8.5.11: fix packaging for native version
Richard Purdie [Tue, 28 Feb 2012 13:32:44 +0000 (13:32 +0000)]
tcl 8.5.11: fix packaging for native version

Fix an issue in the previous commit:

ERROR: Nothing RPROVIDES 'tcl-native-lib-native' (but virtual:native:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/tcltk/tcl_8.5.11.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'tcl-native-lib-native' is unbuildable, removing.

by replacing ${PN}-lib with tcl-lib

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoMore quoting fixes
Richard Purdie [Tue, 28 Feb 2012 13:14:30 +0000 (13:14 +0000)]
More quoting fixes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types: Refactor compression code into a generic compression solution
Richard Purdie [Mon, 27 Feb 2012 12:43:49 +0000 (12:43 +0000)]
image_types: Refactor compression code into a generic compression solution

The current approach of adding each different compressed image type doesn't
scale. This patch changes the code so compressed images for each form are
automatically available using the form <type>.<compression type> in
IMAGE_FSTYPES. This doesn't change any existing externally visible behaviour
and the image generation process becomes more efficient as a result too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqemugl: Fix gl apps failure on qemu-x86-64
Zhai Edwin [Tue, 28 Feb 2012 08:00:49 +0000 (16:00 +0800)]
qemugl: Fix gl apps failure on qemu-x86-64

Extend commit 028968 to qemu x86-64, where stack disorder happen due to
register handling via push/pop.

[YOCTO #1927] fixed

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibskba: Fix for multilib
Zhai Edwin [Tue, 28 Feb 2012 08:00:48 +0000 (16:00 +0800)]
libskba: Fix for multilib

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognupg: Fix for multilib
Zhai Edwin [Tue, 28 Feb 2012 08:00:47 +0000 (16:00 +0800)]
gnupg: Fix for multilib

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcl 8.5.11: fix packaging
Koen Kooi [Tue, 28 Feb 2012 07:58:37 +0000 (08:58 +0100)]
tcl 8.5.11: fix packaging

Include /usr/lib/tcl8 for the msgcat and test module, force dependency on tcl-lib since shlibs isn't picking it up.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogettext: Get gettext use its own libunistring
Wenzong Fan [Tue, 14 Feb 2012 01:42:59 +0000 (09:42 +0800)]
gettext: Get gettext use its own libunistring

According to its documentation, gettext 0.18.1.1 needs either
libunistring or it will use its own internal version. Just add
a configure option '--with-included-libunistring' to force the
latter to avoid races.

[YOCTO#1934]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agomtd-utils: Don't use host 'ranlib' or 'ar'.
James Limbouris [Tue, 28 Feb 2012 03:49:06 +0000 (11:49 +0800)]
mtd-utils: Don't use host 'ranlib' or 'ar'.

If ranlib, ar, or cc are not supplied to make, it attempts to use ${CROSS}xxx.
Since ${CROSS} is not set, host ranlib may run, producing an unusable .a file on some platforms.

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
13 years agoqt4.inc: depend on tiff
Andreas Oberritter [Mon, 27 Feb 2012 17:03:22 +0000 (18:03 +0100)]
qt4.inc: depend on tiff

* Fixes the following error with qt4-embedded-4.8.0 and possibly others:

| ../../../gui/image/qtiffhandler.cpp:48:20: fatal error: tiffio.h: No such file or directory

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
13 years agotune-ppc*.inc: update to use new default value for TUNE_PKGARCH
Matthew McClintock [Mon, 27 Feb 2012 19:38:51 +0000 (13:38 -0600)]
tune-ppc*.inc: update to use new default value for TUNE_PKGARCH

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agobitbake.conf: add default value for TUNE_PKGARCH
Matthew McClintock [Mon, 27 Feb 2012 19:38:49 +0000 (13:38 -0600)]
bitbake.conf: add default value for TUNE_PKGARCH

Add a default value for TUNE_PKGARCH. This let's us use
the following:

TUNE_PKGARCH_tune-ppce500

Instead of scanning over variables and using bitbake internal
functions to create a valid value here.

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agomultilib.bbclass: allow TARGET_VENDOR_virtclass-multilib to be overriden
Matthew McClintock [Mon, 27 Feb 2012 19:38:48 +0000 (13:38 -0600)]
multilib.bbclass: allow TARGET_VENDOR_virtclass-multilib to be overriden

If we set this bit, we can override the ugly "pokymllib32" to back to
"poky" (powerpc-pokymllib32-linux-gcc -> powerpc-poky-linux-gcc). I've
left this unset by default, but can be set by adding the following:

TARGET_VENDOR_virtclass-multilib-lib32 = "-poky"

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agotune-ppce5500: consolidate ppce5500 and ppc64e5500 into one tune file
Matthew McClintock [Thu, 23 Feb 2012 06:21:49 +0000 (00:21 -0600)]
tune-ppce5500: consolidate ppce5500 and ppc64e5500 into one tune file

We don't need two files for this. Also this fixes some mutlilib build
issues where we were not able to select the multilib arch to be
ppce5500 or ppc64e5500.

Changes recently made to meta-fsl-ppc layer depend on this change as
well

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agoarch-powerpc{, 64}.inc: update/add PACKAGE_EXTRA_ARCHS for powerpc/powerpc64
Matthew McClintock [Thu, 23 Feb 2012 06:21:48 +0000 (00:21 -0600)]
arch-powerpc{, 64}.inc: update/add PACKAGE_EXTRA_ARCHS for powerpc/powerpc64

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agolinux-yocto: allow non-branched repositories to check out
Bruce Ashfield [Mon, 27 Feb 2012 18:20:41 +0000 (13:20 -0500)]
linux-yocto: allow non-branched repositories to check out

Not all users of the checkout phase of linux-yocto have all
branches present. This is normal, and should be supported. By
checking for an empty KBRANCH we can avoid validating a branch
that isn't supposed to exist.

[YOCTO #2032]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: update 3.2 kernel to v3.2.7
Bruce Ashfield [Sun, 26 Feb 2012 06:04:53 +0000 (01:04 -0500)]
linux-yocto: update 3.2 kernel to v3.2.7

Updating the 3.2 kernel recipe to the latest -stable release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: update 3.0 kernel to v3.0.22
Bruce Ashfield [Sun, 26 Feb 2012 06:03:42 +0000 (01:03 -0500)]
linux-yocto: update 3.0 kernel to v3.0.22

bumping the revision of the 3.0 kernel to the latest -stable release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agobluez4: Fix build on x86/amd64 with gcc 4.7
Khem Raj [Mon, 27 Feb 2012 19:50:07 +0000 (11:50 -0800)]
bluez4: Fix build on x86/amd64 with gcc 4.7

gcc figures an impossible asm contraint
in inline asm which it is correct about

"i" requires the operand to be a compile-time constant
but memory location of a multi-dimensional array isn't constant
at compile time.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agodistro_tracking: Account for updates and Manual Checking
Saul Wold [Mon, 27 Feb 2012 17:46:35 +0000 (09:46 -0800)]
distro_tracking: Account for updates and Manual Checking

Updates:

sqlite3
psmisc
boost
file
util-linux
tiff
mkfonddir
mkfontscale
libdrm
xf86-video-intel

Manual Checks:
libcheck
libcap
console-tools
zip
unzip
sysfsutils
less
usbutils
sysstat
cracklib
libexif
qemugl
glew
squashfs-tools
lsb

Fixup:
bzip2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agobind: add DEPENDS for libcap
Saul Wold [Tue, 28 Feb 2012 01:27:25 +0000 (17:27 -0800)]
bind: add DEPENDS for libcap

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agotiff: Update to version 3.9.5
Saul Wold [Mon, 27 Feb 2012 17:31:45 +0000 (09:31 -0800)]
tiff: Update to version 3.9.5

Ensure that OpenGL and friends are disable with the
setting of ax_cv_check_gl_libgl = no.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoxf86-video-intel: Update to version 2.18.0
Saul Wold [Mon, 27 Feb 2012 08:49:56 +0000 (00:49 -0800)]
xf86-video-intel: Update to version 2.18.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agosqlite3: Update to version 3.7.10
Saul Wold [Mon, 27 Feb 2012 08:49:03 +0000 (00:49 -0800)]
sqlite3: Update to version 3.7.10

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoboost: Update to version 1.49.0
Saul Wold [Mon, 27 Feb 2012 08:48:40 +0000 (00:48 -0800)]
boost: Update to version 1.49.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agomkfontscale: Update to version 1.1.0
Saul Wold [Mon, 27 Feb 2012 08:48:16 +0000 (00:48 -0800)]
mkfontscale: Update to version 1.1.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agomkfontdir: Update to version 1.0.7
Saul Wold [Mon, 27 Feb 2012 08:47:59 +0000 (00:47 -0800)]
mkfontdir: Update to version 1.0.7

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibdrm: Update to version 2.4.31
Saul Wold [Mon, 27 Feb 2012 08:47:30 +0000 (00:47 -0800)]
libdrm: Update to version 2.4.31

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agopsmisc: Update to version 22.16
Saul Wold [Mon, 27 Feb 2012 08:46:58 +0000 (00:46 -0800)]
psmisc: Update to version 22.16

Remove libintl-link patch which has in the upstream code now

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agofile: Update to version 5.11
Saul Wold [Mon, 27 Feb 2012 08:46:16 +0000 (00:46 -0800)]
file: Update to version 5.11

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoutil-linux: Update to 2.21
Saul Wold [Mon, 27 Feb 2012 08:45:48 +0000 (00:45 -0800)]
util-linux: Update to 2.21

This updates various checksums for the COPYING files, which moved in the process
no changes to Licenses

Tweak the scanf_cv_alloc_modifier and rebase the patch

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoqemu: Add glib-2.0 as depends
Saul Wold [Mon, 27 Feb 2012 01:12:45 +0000 (17:12 -0800)]
qemu: Add glib-2.0 as depends

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agognupg: Add missing patch for curl_typeof_fix
Saul Wold [Thu, 9 Feb 2012 02:02:47 +0000 (18:02 -0800)]
gnupg: Add missing patch for curl_typeof_fix

Seems the wrong commit was grabbed and missed this patch

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoqt4-tools-nativesdk: improve and tidy up qmake build
Paul Eggleton [Thu, 9 Feb 2012 17:38:21 +0000 (17:38 +0000)]
qt4-tools-nativesdk: improve and tidy up qmake build

* Use the same method to build qmake as in the qt4 target recipes
* We always have qmake from qt4-native so don't check if it exists -
  just skip the check like we do in the qt4 target recipes. This
  saves us a patch.
* Replace qt4-tools-native in DEPENDS with qt4-native

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4-tools-nativesdk: fix build of 4.7.4
Paul Eggleton [Thu, 9 Feb 2012 14:37:34 +0000 (14:37 +0000)]
qt4-tools-nativesdk: fix build of 4.7.4

Commit 4ccae37db1aa77a1d15098c3720ea6e2d383fbdc introduced a sed command
line to modify a file that only exists in 4.8.0, thus do_configure of
4.7.4 was failing; so make this conditional upon the file existing.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4: build qmake for the target
Paul Eggleton [Wed, 8 Feb 2012 17:00:25 +0000 (17:00 +0000)]
qt4: build qmake for the target

qmake was not being built at all (since we had the host version from
qt4-native) and the default is to build for the host machine within
configure. With a minor hack we can build qmake for the target as well,
which is useful if you want to build Qt 4 software on an actual device.
This is now installed as part of the tools package (together with uic,
moc etc.)

Additionally, add an environment setup script (installed in
/usr/share/qt4/environment-setup or /usr/share/qtopia/environment-setup
for the embedded version) as part of the mkspecs package since the
mkspecs will not work without the paths set up by this script. The code
to create this script was adapted from the qmake2 recipe in meta-oe.

Also move do_compile() from qt-${PV}.inc up to qt4.inc as both versions
have the exact same content.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4: fix compile error in Qt 4.8.0 with gcc 4.6
Paul Eggleton [Wed, 8 Feb 2012 13:21:59 +0000 (13:21 +0000)]
qt4: fix compile error in Qt 4.8.0 with gcc 4.6

Ensure the Qt configure script can can detect the compiler correctly as
g++. This fixes the following compile error with gcc 4.6:

./wtf/NullPtr.h:48:1: error: identifier 'nullptr' will become a keyword in C++0x [-Werror=c++0x-compat]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agotask-core-lsb: add lsbtest to RDEPENDS_task-core-misc list
Yi Zhao [Fri, 24 Feb 2012 06:53:56 +0000 (14:53 +0800)]
task-core-lsb: add lsbtest to RDEPENDS_task-core-misc list

13 years agodistro_tracking_fields: add information for lsbtest
Yi Zhao [Fri, 24 Feb 2012 06:53:13 +0000 (14:53 +0800)]
distro_tracking_fields: add information for lsbtest

Add information for recipe lsbtest.

13 years agolsbtest: Add recipe for LSB tests and automate test
Yi Zhao [Fri, 24 Feb 2012 06:51:28 +0000 (14:51 +0800)]
lsbtest: Add recipe for LSB tests and automate test

The recipe is used for LSB tests. The script LSB_Test.sh does the following things:
- setup LSB testing environment
- download LSB rpm packages with list file packages_list from remote
- install the packages
- execute LSB testing with profile file session
- collect the results

Install packages_list and session files into ${D}/opt/lsb-test.

[YOCTO #1567]

13 years agoscripts/prserv-tool: Adepted to new bitbake cache.
Lianhao Lu [Tue, 28 Feb 2012 03:42:55 +0000 (11:42 +0800)]
scripts/prserv-tool: Adepted to new bitbake cache.

Adepted to the new bitbake cache mechanism which is based on file
content but not on file timp stamps any more.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: Create a new filter variable BB_HASHCONFIG_WHITELIST
Dongxiao Xu [Mon, 27 Feb 2012 14:38:27 +0000 (22:38 +0800)]
bitbake.conf: Create a new filter variable BB_HASHCONFIG_WHITELIST

Create a new filter variable BB_HASHCONFIG_WHITELIST to filter
variables for calculating cache's hash value.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglib-2.0: Disable fam, we don't depend on it
Richard Purdie [Mon, 27 Feb 2012 12:16:31 +0000 (12:16 +0000)]
glib-2.0: Disable fam, we don't depend on it

Various people are reporting glib-2.0 failures from a dependency on
libfam creeping in uninvited. This patch explicitly disables it to
favour a deterministic build.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoarch-armv7.inc: fix quoting
Martin Jansa [Sun, 26 Feb 2012 22:53:13 +0000 (23:53 +0100)]
arch-armv7.inc: fix quoting

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoMore quoting fixes
Martin Jansa [Sun, 26 Feb 2012 21:53:02 +0000 (22:53 +0100)]
More quoting fixes

* We have various variables which are either not quoted at all or are half
  quoted. This patch fixes the bad exmaples so everything is consistent.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoQuoting fixes
Richard Purdie [Sun, 26 Feb 2012 12:45:47 +0000 (12:45 +0000)]
Quoting fixes

We have various variables which are either not quoted at all or are half
quoted. This patch fixes the bad exmaples so everything is consistent.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopulseaudio: Really disable orc support
Eric Bénard [Mon, 20 Feb 2012 07:57:33 +0000 (08:57 +0100)]
pulseaudio: Really disable orc support

If orc is detected the compilation fails with missing headers which
should have been generated by orc (using meta-angstrom + meta-openembedded
and and armv7 target)

[RP: add RP bump, fix typos]
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognupg: Update checksum, fix configure and compliation issues
Saul Wold [Fri, 24 Feb 2012 18:59:20 +0000 (10:59 -0800)]
gnupg: Update checksum, fix configure and compliation issues

This recipe was added, but did not have the correct
checksum information for the LIC_FILES_CHKSUM or the
SRC_URI.  Also disable Documetnation for now due to
older autotools issue.

[YOCTO #1966]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosyslinux: Package unpackaged files in -misc
Saul Wold [Fri, 24 Feb 2012 18:59:21 +0000 (10:59 -0800)]
syslinux: Package unpackaged files in -misc

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautomake: omit compilation of pyc files on install
Andreas Oberritter [Sat, 25 Feb 2012 01:19:10 +0000 (02:19 +0100)]
automake: omit compilation of pyc files on install

* On install, automake calls py-compile, which previously
  compiled python source code to pyc and pyo, which both
  got packaged.
* The python interpreter in OE contains patches to enable
  optimization (pyo) by default:
    04-default-is-optimized.patch
    99-ignore-optimization-flag.patch
* automake created pyc files by calling py_compile.compile()
  and adding the c suffix manually, resulting in identical
  byte code for both pyc and pyo files.
* py-compile-compile-only-optimized-byte-code.patch
  applies to automake 1.11 and automake master, but older
  versions require a slightly modified patch. However,
  older versions are only pinned by chinook-compat and
  nylon, so I left them untouched.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The patch was imported from the OpenEmbedded git server
(git://git.openembedded.org/openembedded) as of commit id
aa4585c5065e05c759f16e1e8623fc7f40640f1b.

Modified to apply to automake version 1.11.2 and to
include a patch header. Also renamed the patch.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxorg-lib: don't build libs unless requested by DISTRO_FEATURES (fix up)
Andreas Oberritter [Fri, 24 Feb 2012 18:40:31 +0000 (19:40 +0100)]
xorg-lib: don't build libs unless requested by DISTRO_FEATURES (fix up)

* Improve error message as suggested by Koen.
  (This got lost when v1 was committed instead of v2)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4-native: set headerdir as done in regular builds
Otavio Salvador [Fri, 24 Feb 2012 20:50:53 +0000 (20:50 +0000)]
qt4-native: set headerdir as done in regular builds

qmake uses a generated qt.conf file that expects headers to be found
at ${includedir}/qt4 but qt4-native were not following this layout
breaking the builds of native binaries that use qt4.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb-cross-canadian: build gdb with python support
Eric BENARD [Sun, 26 Feb 2012 07:49:42 +0000 (08:49 +0100)]
gdb-cross-canadian: build gdb with python support

* python support is needed for providing finer scripting control
in gdb, and for remote controling gdb for example from qtcreator
* gdb/configure tries to autodetect python using python executable
with --includes --ldflags --exec-prefix to get the right flags
As it's difficult to achieve in OE's context, we generate a
script which will return the right values and make gdb's build
system happy. This idea was taken from the following article :
http://www.mentby.com/doug-evans-2/python-enabled-gdb-on-windows-and-relocation.html
* tested using angstrom & armv7 target & qtcreator 201005 & 2.4.0

* MJ: updated paths to python as disscussed here
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/018222.html
  now it's easier with cross-canadian staging dir and SDKPATH fixed :)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Cc: fcooper@ti.com
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolayer.conf: add keymaps to SIGGEN_EXCLUDERECIPES_ABISAFE
Martin Jansa [Sun, 26 Feb 2012 07:49:44 +0000 (08:49 +0100)]
layer.conf: add keymaps to SIGGEN_EXCLUDERECIPES_ABISAFE

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstatesig: add SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS option to exclude well defined recipe...
Martin Jansa [Sun, 26 Feb 2012 07:49:43 +0000 (08:49 +0100)]
sstatesig: add SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS option to exclude well defined recipe->dependency

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: remove TARGET_ARCH from in SDKPATH
Martin Jansa [Sun, 26 Feb 2012 07:49:41 +0000 (08:49 +0100)]
bitbake.conf: remove TARGET_ARCH from in SDKPATH

* SDKPATH shouldn't depend on TARGET_ARCH as discused here:
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/018222.html
* introduce SDK_NAME_PREFIX so that distributions can overwrite only
  this instead of whole SDK_NAME

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: use weak assignment for BB_CONSOLELOG
Martin Jansa [Sun, 26 Feb 2012 07:49:40 +0000 (08:49 +0100)]
bitbake.conf: use weak assignment for BB_CONSOLELOG

* some people prefer subdirectory like ${TMPDIR}/cooker/${DATETIME}.log

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocross-canadian: Set STAGING_DIR_HOST correctly
Richard Purdie [Sat, 25 Feb 2012 15:53:08 +0000 (15:53 +0000)]
cross-canadian: Set STAGING_DIR_HOST correctly

As reported by Martin Jansa, the path to nativesdk sysroot was changing between
nativesdk and cross-canadian recipes. The problem was the incorrect deinfition of
STAGING_DIR_HOST in cross-canadian.bbclass.

Since nothing really uses the cross-canadian output in the sysroot, only the
packages, its not surprising this bug has gone un-noticed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglib: Drop dbus dependency, it isn't useful
Richard Purdie [Sat, 25 Feb 2012 14:55:51 +0000 (14:55 +0000)]
glib: Drop dbus dependency, it isn't useful

dbus is only needed for some of the glib tests which we don't use. We can
therefore drop the dependency and gain some small parallelism gains.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinitscripts: mount and unmount cifs network filesystems
Andreas Oberritter [Fri, 24 Feb 2012 20:27:34 +0000 (21:27 +0100)]
initscripts: mount and unmount cifs network filesystems

* Added cifs to mountnfs.sh and umountnfs.sh.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolayer.conf: use += for SIGGEN_EXCLUDERECIPES_ABISAFE and split to multiple lines
Martin Jansa [Fri, 24 Feb 2012 20:45:16 +0000 (21:45 +0100)]
layer.conf: use += for SIGGEN_EXCLUDERECIPES_ABISAFE and split to multiple lines

* += is important, because if oe-core is in BBLAYERS after some other
  layers with SIGGEN_EXCLUDERECIPES_ABISAFE it overwrites their entries

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouseradd.bbclass: override USERADDSETSCENEDEPS to empty when building cross packages
Otavio Salvador [Fri, 24 Feb 2012 20:50:54 +0000 (20:50 +0000)]
useradd.bbclass: override USERADDSETSCENEDEPS to empty when building cross packages

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolicense.bbclass: Symbolic links of generic license
Elizabeth Flanagan [Fri, 24 Feb 2012 22:17:39 +0000 (14:17 -0800)]
license.bbclass: Symbolic links of generic license

This is to reduce the size of licenses added to images. With this
commit license.manifest, original license and generic license
adds about .5M to a core-image-minimal image, substantially less
than what is currently occuring when COPY_LIC_MANIFEST and
COPY_LIC_DIRS are set.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolicense.bbclass: Gather Pkg level licenses
Elizabeth Flanagan [Fri, 24 Feb 2012 22:17:38 +0000 (14:17 -0800)]
license.bbclass: Gather Pkg level licenses

We should look for LICENSE at a package level first. If it's
not found, we should use the recipe level LICENSE. This adds a
bit more granularity to license manifests where needed.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoless_444.bb: Adding license email from author
Elizabeth Flanagan [Fri, 24 Feb 2012 22:17:37 +0000 (14:17 -0800)]
less_444.bb: Adding license email from author

This slipped off my plate. Adding the email response from the
author of less which allows us to use a generic BSD instead of
the less license.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_check: fix the fedora URL for rleases as they seem to have moved
Saul Wold [Fri, 24 Feb 2012 23:03:22 +0000 (15:03 -0800)]
distro_check: fix the fedora URL for rleases as they seem to have moved

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/hob: Launch the new hob
Dongxiao Xu [Thu, 23 Feb 2012 13:49:13 +0000 (21:49 +0800)]
scripts/hob: Launch the new hob

Change the scripts to launch the new Hob.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogst-plugin-bluetooth: upgrade to 4.98 and add checksums
Martin Jansa [Fri, 24 Feb 2012 17:06:52 +0000 (18:06 +0100)]
gst-plugin-bluetooth: upgrade to 4.98 and add checksums

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoshadow-sysroot: disable package creation
Martin Jansa [Fri, 24 Feb 2012 17:06:51 +0000 (18:06 +0100)]
shadow-sysroot: disable package creation

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: improve checkout error handling and reporting
Bruce Ashfield [Fri, 24 Feb 2012 01:58:47 +0000 (20:58 -0500)]
linux-yocto: improve checkout error handling and reporting

The typical workflow for linux-yocto simply uses a remote
upstream repository (Whether it is mirrored or not), and in this
case there are no issues with consistency in the format of the
resository that is unpacked into the WORKDIR.

When working with a local linux-yocto repository for kernel
development the remote vs local branches is not always consistent
between repositories.

The suggested/documented workflow has always been to use a
bare clone of linux-yocto, and use a second working tree repository
for development. Changes flow from the working tree to the bare
clone and then into the working directory for build. A common
mistake that happens with this workflow is that the non-bare,
working repository is used instead of the bare clone version.

If a non-bare repository is reference by the SRC_URI, then the
branches that are fetched into WORKDIR are not consitent. If the
MACHINE and META branches are not present, cryptic build errors
will result.

To solve this problem, the checkout code has been changed in
several ways:

  - works with a newly proposed 'bareclone' option to bitbake
  - detects if a bareclone is present in WORKDIR or not and
    adjustst the checkout accordingly.
  - if a non-bare clone is detected, machine and meta branches
    are checked. If they are not present, or can't be created
    a clear error message is produced
  - instead of manipulating the refs directly in the git tree,
    local tracking branches are (quietly) created for remote
    branches. Enabling a better workflow in the WORKDIR kernel
    repository.

This has been tested with linux-yocto remote upstreams, local
bare and non-bare respositories. All builds succeed or fail
with clear error messages.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstate.bbclass: improve performance of sstate package creation
Martin Jansa [Thu, 23 Feb 2012 14:54:14 +0000 (15:54 +0100)]
sstate.bbclass: improve performance of sstate package creation

* also fixes replacing paths for perl where cmd line was probably
  too long for os.system(cmd) (it had 560410 characters because a lot of
  files from sstate_scan_cmd).
* also print those 2 commands so we can find them in log.do_package

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoqemu: remove version 0.14.0
Paul Eggleton [Thu, 23 Feb 2012 15:31:30 +0000 (15:31 +0000)]
qemu: remove version 0.14.0

0.15.1 has been available in OE-Core for some time and has demonstrated
no major regressions, so remove the older version.

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