]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agocross.bbclass: add virtclass handler
Otavio Salvador [Sat, 12 Nov 2011 17:16:42 +0000 (17:16 +0000)]
cross.bbclass: add virtclass handler

Allow use of BBCLASSEXTEND with 'cross' and use of virtclass-cross in
recipes.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agouseradd.bbclass: skip processing on virtclass-cross extended packages
Otavio Salvador [Tue, 7 Feb 2012 18:25:36 +0000 (18:25 +0000)]
useradd.bbclass: skip processing on virtclass-cross extended packages

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agoexternal-csl-toolchain: fix mtd-user.h issue
Christopher Larson [Mon, 6 Feb 2012 20:01:07 +0000 (14:01 -0600)]
external-csl-toolchain: fix mtd-user.h issue

The use of __packed, which isn't defined in userspace, caused busybox build
failures.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
13 years agotcmode-default: add preference for gdb/gdbserver
Christopher Larson [Wed, 8 Feb 2012 16:16:48 +0000 (10:16 -0600)]
tcmode-default: add preference for gdb/gdbserver

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
13 years agoclasses/buildhistory: sort list fields in package info
Paul Eggleton [Tue, 7 Feb 2012 15:01:43 +0000 (15:01 +0000)]
classes/buildhistory: sort list fields in package info

Sort DEPENDS, RDEPENDS, and RRECOMMENDS in package info files so that
any changes in order (which are not important) are smoothed out in the
change history.

Fixes [YOCTO #1961]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoclasses/buildhistory: sort image file list
Paul Eggleton [Tue, 7 Feb 2012 15:20:02 +0000 (15:20 +0000)]
classes/buildhistory: sort image file list

Sort the contents of files-in-image.txt to avoid unnecessary changes
showing up in the history due to reordering.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoexternal-csl-toolchain: split out gdbserver packages
Christopher Larson [Mon, 6 Feb 2012 20:07:15 +0000 (14:07 -0600)]
external-csl-toolchain: split out gdbserver packages

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
13 years agoexternal-csl-toolchain: correct binary packaging
Christopher Larson [Mon, 6 Feb 2012 20:01:57 +0000 (14:01 -0600)]
external-csl-toolchain: correct binary packaging

CS puts optimized executables in usr/lib/bin, not usr/bin.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
13 years agoexternal-csl-toolchain: set PKG/PKGV for staticdev
Christopher Larson [Mon, 6 Feb 2012 20:00:35 +0000 (14:00 -0600)]
external-csl-toolchain: set PKG/PKGV for staticdev

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
13 years agotask-core-tools-profile: fix valgrind for arm and systemtap for mips
Saul Wold [Wed, 8 Feb 2012 03:55:52 +0000 (19:55 -0800)]
task-core-tools-profile: fix valgrind for arm and systemtap for mips

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agomirrors.bbclass: Add yp.org and oe.org to fallback mirrors
Khem Raj [Sun, 5 Feb 2012 23:50:13 +0000 (15:50 -0800)]
mirrors.bbclass: Add yp.org and oe.org to fallback mirrors

This should improve the fetching errors users see
when upstream src_uri is unavailable

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agouclibc: Upgrade recipes from 0.9.32 -> 0.9.33
Khem Raj [Thu, 2 Feb 2012 08:17:30 +0000 (00:17 -0800)]
uclibc: Upgrade recipes from 0.9.32 -> 0.9.33

Prefer 0.9.33 by default
Delete recipes for 0.9.32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agodhcp: move dhcp leases files handling to postinst/postrm
Otavio Salvador [Mon, 6 Feb 2012 15:16:02 +0000 (15:16 +0000)]
dhcp: move dhcp leases files handling to postinst/postrm

Both server and client needs access to leases files so its creation
and removal are now handled by postinst/postrm scripts.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agogcc-cross-testing: Fix evaluation of user and target name
Khem Raj [Sat, 4 Feb 2012 19:01:58 +0000 (11:01 -0800)]
gcc-cross-testing: Fix evaluation of user and target name

Dont use -q to grep we pipe to /dev/null anyway all we
care is the return status of grep

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoclasses,recipes: Replace POKY_* with CORE_IMAGE_*
Khem Raj [Fri, 3 Feb 2012 23:49:39 +0000 (15:49 -0800)]
classes,recipes: Replace POKY_* with CORE_IMAGE_*

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agopseudo: Wrap renameat and opendir
Khem Raj [Fri, 3 Feb 2012 08:03:33 +0000 (00:03 -0800)]
pseudo: Wrap renameat and opendir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agomtools-3.9.9: Use correct URI for the mirror
Saul Wold [Tue, 7 Feb 2012 18:57:18 +0000 (10:57 -0800)]
mtools-3.9.9: Use correct URI for the mirror

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibx11: Backport _XGetRequest API
Khem Raj [Sat, 4 Feb 2012 23:54:09 +0000 (15:54 -0800)]
libx11: Backport _XGetRequest API

This API is relatively new and will be in next release of libX11
this is needed for OE qemu-native which links to libx11-native
but uses libGL from build system and herein lies the problem
if you have bleeding edge distro e.g. ubuntu 12.04(development)
libGL.so expects this API to be present. Backported to 1.4.4
thusly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agolibdrm: Fix build failure unearthed by uclibc
Khem Raj [Fri, 3 Feb 2012 22:42:29 +0000 (14:42 -0800)]
libdrm: Fix build failure unearthed by uclibc

uclibc wants to know value of __USE_GNU for certain
header prototypes to be enabled. So we move the config.h
header up in search list.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agopython: Fix build failure of python-elementtree on x86_64
Khem Raj [Fri, 3 Feb 2012 20:21:22 +0000 (12:21 -0800)]
python: Fix build failure of python-elementtree on x86_64

The problem is due to mixing of headers from host system
thusly corrected in setup.py by checkinng if we are cross
compiling

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agogconf,consolekit: Avoid polkit when compiling with uclibc
Khem Raj [Fri, 27 Jan 2012 21:27:56 +0000 (13:27 -0800)]
gconf,consolekit: Avoid polkit when compiling with uclibc

polkit uses netdb functionality from glibc which is not
available in uclibc therefore we avoid polkit when compiling
for uclibc systems.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agorunqemu-internal: qemuarm can handle 256M
Khem Raj [Mon, 30 Jan 2012 23:10:15 +0000 (15:10 -0800)]
runqemu-internal: qemuarm can handle 256M

Raise the check for max RAM supported for QEMU/arm
its 256M since we patched it to be so in OE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoEnable options needed for ltp to compile
Khem Raj [Sat, 21 Jan 2012 01:19:12 +0000 (17:19 -0800)]
Enable options needed for ltp to compile

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotask-core-tools: Divide it into 3 recipes
Khem Raj [Sat, 21 Jan 2012 01:13:37 +0000 (17:13 -0800)]
task-core-tools: Divide it into 3 recipes

task-core-tools-debug, task-core-tools-profile, task-core-tools-testapps
otherwise if we choose one through PACKAGE_GROUPS all packages
are built since they are in same recipe.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agolinux-yocto: fri2: use emgd-1.10
Bruce Ashfield [Sun, 5 Feb 2012 06:16:59 +0000 (01:16 -0500)]
linux-yocto: fri2: use emgd-1.10

Updating meta for the following change:

[
    fri2: use emgd-1.10

    Use the yocto/emgd-1.10 branch in place of yocto/emgd.
]

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agokern-tools: remove explicit 'yocto' references from auto-bsp handling
Bruce Ashfield [Fri, 3 Feb 2012 17:25:59 +0000 (12:25 -0500)]
kern-tools: remove explicit 'yocto' references from auto-bsp handling

To adapt to different branch names in a repository, removing explicit
references to 'yocto' in automatically created BSPs ensures that they
are consistent with the merged variants. Existing BSPs and auto BSPs
are not impacted by this change.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: rt compiliation fix
Bruce Ashfield [Fri, 3 Feb 2012 15:20:54 +0000 (10:20 -0500)]
linux-yocto: rt compiliation fix

Updating the meta SRCREC to pickup the following changes:

  70e86dc meta/rt: update rt patch cache

Without this change a 3.0 based -rt build will fail to patch.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: meta updates for sys940x and cleanup
Bruce Ashfield [Thu, 2 Feb 2012 02:18:16 +0000 (21:18 -0500)]
linux-yocto: meta updates for sys940x and cleanup

Updating the meta SRCREV to pickup the following changes:

[
  Author: Darren Hart <dvhart@linux.intel.com>
  Date:   Wed Feb 1 09:37:48 2012 -0800

    Remove boot-live cfg duplication from BSPs

    Several BSPs duplicated the boot-live fragment in their BSP
    specific config. Remove the duplication and add CONFIG_RD_GZIP
    and CONFIG_BLK_DEV_SR to the boot-live fragment.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tzanussi@intel.com>
  Author: Darren Hart <dvhart@linux.intel.com>
  Date:   Tue Jan 31 13:18:17 2012 -0800

    meta: sys940x BSP meta data

    The Inforce SYS940x-ECX Developer-Ready Reference Platform features:
    o Intel Atom E6xx (0.6-1.6 GHz)
    o Up to 1GB on-board DDR2
    o Intel Platform Controller Hub EG20T
    o VGA,LVDS
    o HD Audio
    o SD Card
    o Dual SATA
    o Mini-PCIe

    http://www.inforcecomputing.com/SYS940X_ECX.html

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tzanussi@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
]

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: locate and use out of tree features specified on the SRC_URI
Bruce Ashfield [Wed, 1 Feb 2012 14:25:03 +0000 (09:25 -0500)]
linux-yocto: locate and use out of tree features specified on the SRC_URI

In a similar manner to calling the patch.bbclass to locate patches that
were listed on the SRC_URI, it is also useful to query about 'other' items
that are on the SRC_URI. In the case of linux-yocto, it allows us to
know about kernel features that were specific on the URI and then apply
them to the current tree.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agoxorg-apps: Bump PR to accomodate meta-oe recipe deletion
Khem Raj [Mon, 6 Feb 2012 16:05:27 +0000 (08:05 -0800)]
xorg-apps: Bump PR to accomodate meta-oe recipe deletion

rgb in meta-oe has been removed in favour of
oe-core which requires a PR bump so feeds
keep working

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoudev: stop providing cache support by default
Otavio Salvador [Fri, 3 Feb 2012 12:20:40 +0000 (12:20 +0000)]
udev: stop providing cache support by default

The usefulness of cache nowadays has been reduced a lot and thus it's
better to stop using it by default. Dropping the recommends allows for
image to decide if they want or not to have cache enabled, instead of
require a machine override.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agosystemtap: build and install uprobes.ko
Wade Farnsworth [Mon, 6 Feb 2012 14:49:14 +0000 (07:49 -0700)]
systemtap: build and install uprobes.ko

SystemTap needs to provide uprobes.ko in order to support user space
probing.  Build and install the module on systems that support it.

Additionally, split off common bits into systemtap_git.inc.

Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
13 years agosystemtap: extend the recipe to build the native package
Wade Farnsworth [Mon, 6 Feb 2012 14:48:20 +0000 (07:48 -0700)]
systemtap: extend the recipe to build the native package

Since the target image may not contain dev tools, it is useful to
provide native systemtap in order to be able to compile systemtap
scripts for the target.

Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
13 years agosystemtap: bump SRCREV to grab version 1.7
Wade Farnsworth [Mon, 6 Feb 2012 14:47:41 +0000 (07:47 -0700)]
systemtap: bump SRCREV to grab version 1.7

Bump SRCREV to the latest stable version of systemtap.

Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
13 years agou-boot inc: update inc file for newer u-boot versions
Chase Maupin [Mon, 6 Feb 2012 14:16:58 +0000 (08:16 -0600)]
u-boot inc: update inc file for newer u-boot versions

* Add support for different suffixes found with later u-boot
  versions which have switched from .bin to .img
* Allow recipes that include u-boot.inc to also package an
  SPL if they build one.
    * Minimum requirement is to set the SPL_BINARY value to add
      the SPL to the u-boot package as well as into the deploy
      directory.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
13 years agolibcap: Cope with ${libdir} and ${base_libdir} being the same
Mike Crowe [Mon, 6 Feb 2012 13:34:22 +0000 (13:34 +0000)]
libcap: Cope with ${libdir} and ${base_libdir} being the same

${libdir} and ${base_libdir} may be the same. If they are don't try and
move files onto themselves.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
13 years agolibusb-compat: Cope with ${libdir} and ${base_libdir} being the same
Mike Crowe [Mon, 6 Feb 2012 13:42:36 +0000 (13:42 +0000)]
libusb-compat: Cope with ${libdir} and ${base_libdir} being the same

${libdir} and ${base_libdir} may be the same. If they are don't try and
move files onto themselves.

13 years agolibusb1: Cope with ${libdir} and ${base_libdir} being the same
Mike Crowe [Mon, 6 Feb 2012 13:33:31 +0000 (13:33 +0000)]
libusb1: Cope with ${libdir} and ${base_libdir} being the same

${libdir} and ${base_libdir} may be the same. If they are don't try and
move files onto themselves.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
13 years agowebkit-gtk: Make webgl support configurable via DISTRO_FEATURES.
Peter Tworek [Sat, 4 Feb 2012 18:41:41 +0000 (19:41 +0100)]
webkit-gtk: Make webgl support configurable via DISTRO_FEATURES.

* Add missing dependency on virtual/libgl.
* Make webgl configurable via DISTRO_FEATURES="opengl".
* Run tested on netbook pro.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
13 years agowebkit-gtk: Fix error.html resource path.
Peter Tworek [Sat, 4 Feb 2012 18:41:40 +0000 (19:41 +0100)]
webkit-gtk: Fix error.html resource path.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
13 years agoopenssl-0.9.8: Remove in favor or 1.0.0
Saul Wold [Mon, 6 Feb 2012 16:35:27 +0000 (08:35 -0800)]
openssl-0.9.8: Remove in favor or 1.0.0

Now that Openssl 1.0.0 has been out for a while, there is no need to
keep multiple versions.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agognupg-1.4.7: Update Patch Info
Saul Wold [Mon, 6 Feb 2012 16:17:25 +0000 (08:17 -0800)]
gnupg-1.4.7: Update Patch Info

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agobusybox: Add flock utility to default configuration.
Peter Tworek [Thu, 2 Feb 2012 20:21:26 +0000 (21:21 +0100)]
busybox: Add flock utility to default configuration.

Flock is required by by pm-utils package to function properly
(/usr/lib/pm-utils/functions). It's shipped in both busybox and
util-linux. Both versions work fine with pm-utils. Enabling it
in busybox seems like simpliest solution for the problem.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
13 years agobootimg: Use the same OS files for each boot method
Darren Hart [Thu, 2 Feb 2012 00:15:04 +0000 (16:15 -0800)]
bootimg: Use the same OS files for each boot method

Fixes [YOCTO #1951]

The do_bootimg code can generate hybrid efi+pcbios images (syslinux and
grub-efi) to boot on platforms with both EFI and legacy BIOS options. The
current implementation copies the kernel, initrd, and rootfs twice,
unnecessarily bloating the image size. This is an especially egregious bug
on -sato images.

Update the classes to use a common install of the kernel, initrd, and rootfs to
the root of the boot media. Grub-efi, syslinux, and isolinux can all reference
this location explicitly with a leading slash.

Tested with an EFI+PCBIOS image in both EFI and PCBIOS boot modes on two
platforms. No ISO image testing was performed.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agotune-mips32.inc: Add mips32-nf and mips32el-nf
Andreas Oberritter [Thu, 2 Feb 2012 13:00:34 +0000 (14:00 +0100)]
tune-mips32.inc: Add mips32-nf and mips32el-nf

tune-mips32.inc only lists mips32 CPUs with hardware FPU.
Extend it to list CPUs without hardware FPU, too.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
13 years agolibzypp: add missing runtime dependences on gzip and gnupg
Steve Sakoman [Wed, 1 Feb 2012 15:20:32 +0000 (07:20 -0800)]
libzypp: add missing runtime dependences on gzip and gnupg

gzip is required to uncompress repository files
gnupg is required for the support of signed repositories.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognupg: add 2.0.18 (initial recipe)
Steve Sakoman [Wed, 1 Feb 2012 15:20:31 +0000 (07:20 -0800)]
gnupg: add 2.0.18 (initial recipe)

GnuPG 2.0 is the new modularized version of GnuPG supporting OpenPGP and S/MIME

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibksba: add 1.2.0 (initial recipe)
Steve Sakoman [Wed, 1 Feb 2012 15:20:30 +0000 (07:20 -0800)]
libksba: add 1.2.0 (initial recipe)

Libksba provides an easy API to create and parse X.509 and CMS related objects
and is required for gnupg

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoshadow-securetty: allow root logins on usb serial gadget device
Steve Sakoman [Wed, 1 Feb 2012 17:24:48 +0000 (09:24 -0800)]
shadow-securetty: allow root logins on usb serial gadget device

Existing tty list does not include ttyGS0, add it

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/patch: optionally return non-patch sources
Bruce Ashfield [Wed, 1 Feb 2012 18:55:41 +0000 (13:55 -0500)]
classes/patch: optionally return non-patch sources

commit:

  patch.bbclass: abstract out logic that determines patches to apply

gives the ability for other clases to emit series files for use outside
of a build system, or even within the build system. There are sometimes
elements on the SRC_URI that while not directly applicable to patching,
can be related to patching the package. For example, the yocto kernel
class would like to know about these other source items on the SRC_URI
to locate out of tree kernel features.

This change keeps the default behaviour of returning patches, but adds the
ability to request that non-patch results be returned.  Additional filtering
within the non-patch category, is left up to the caller of the routine.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd EXTERNAL_TOOLCHAIN to CMAKE_FIND_ROOT_PATH
Ken Werner [Wed, 14 Dec 2011 22:58:31 +0000 (23:58 +0100)]
Add EXTERNAL_TOOLCHAIN to CMAKE_FIND_ROOT_PATH

This allows cmake to find the binaries of an external toolchain.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoexternal-csl-toolchain: extract version info from the toolchain
Christopher Larson [Fri, 27 Jan 2012 17:13:48 +0000 (11:13 -0600)]
external-csl-toolchain: extract version info from the toolchain

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoexternal-csl-toolchain: leverage eglibc's packaging for more granular output
Christopher Larson [Fri, 27 Jan 2012 17:13:47 +0000 (11:13 -0600)]
external-csl-toolchain: leverage eglibc's packaging for more granular output

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoexternal-csl-toolchain: support ia32
Christopher Larson [Fri, 27 Jan 2012 17:13:46 +0000 (11:13 -0600)]
external-csl-toolchain: support ia32

Unfortunately, the CSL ia32 toolchain has non-prefixed binaries in its bindir
(e.g. gcc, ld). To avoid this messing up our build, we avoid adding this
bindir to our PATH, and instead add symlinks to the prefixed binaries to our
staging toolchain bindir.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoexternal-csl-toolchain: support mips/ppc/arm
Christopher Larson [Fri, 27 Jan 2012 17:13:45 +0000 (11:13 -0600)]
external-csl-toolchain: support mips/ppc/arm

- Rather than adjusting TARGET_VENDOR, which results in our TARGET_SYS
  matching the external toolchain, override TARGET_PREFIX to match external,
  and leave TARGET_SYS alone
- Grab the optimized files out of the toolchain if available
- Create a symlink in sysroot to ensure the sysroot layout matches toolchain
  expectations (optimized files in a subdir)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-package.inc: don't include debug files in -pic
Christopher Larson [Fri, 27 Jan 2012 17:13:40 +0000 (11:13 -0600)]
eglibc-package.inc: don't include debug files in -pic

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobinutils: fixes for build with an external csl toolchain
Christopher Larson [Fri, 27 Jan 2012 17:13:41 +0000 (11:13 -0600)]
binutils: fixes for build with an external csl toolchain

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoLSB_Setup.sh: Add locale resources and startup script avahi-daemon
Xiaofeng Yan [Fri, 3 Feb 2012 06:39:46 +0000 (14:39 +0800)]
LSB_Setup.sh: Add locale resources and startup script avahi-daemon

The purpose of adding locale resources is to resolve bug 1954 because missing locale resources
cause many failures.

The purpose of adding startup script avahi-daemon is to resolve bug 1907. The detailed description
is as follows:
No daemon progress "avahi-daemon" when system starting up.
Function "gethostbyaddr" will search file "/var/run/avahi-daemon/socket" but there is no
this file which is created by avahi-daemon.

[YOCTO #1907 #1954]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinit-functions: Add two functions
Xiaofeng Yan [Fri, 3 Feb 2012 06:39:43 +0000 (14:39 +0800)]
init-functions: Add two functions

Add log_begin_msg() and log_end_msg () in init-functions because some startup scripts need them.
if there are not two functions, then error information will arise on screen.
for example,
$ /etc/init.d/avahi-daemon start
/etc/init.d/avahi-daemon: line 161: log_begin_msg: command not found
/etc/init.d/avahi-daemon: line 163: log_end_msg: command not found

[YOCTO #1907]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agostrace: add x32 support
Nitin A Kamble [Fri, 3 Feb 2012 05:52:04 +0000 (21:52 -0800)]
strace: add x32 support

This commits adds a patch to enable x32 support in the strace recipe.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobyacc: upgrade from 20111219 to 20120115
Nitin A Kamble [Wed, 1 Feb 2012 18:05:19 +0000 (18:05 +0000)]
byacc: upgrade from 20111219 to 20120115

update md5sum for license as the copyright years are updated in the file

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking: update for current upgrades
Nitin A Kamble [Wed, 1 Feb 2012 23:41:01 +0000 (15:41 -0800)]
distro_tracking: update for current upgrades

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython-dbus: upgrade from 0.84.0 to 1.0.0
Nitin A Kamble [Wed, 1 Feb 2012 23:40:59 +0000 (15:40 -0800)]
python-dbus: upgrade from 0.84.0 to 1.0.0

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoquilt: upgrade from 0.50 to 0.51
Nitin A Kamble [Wed, 1 Feb 2012 23:40:58 +0000 (15:40 -0800)]
quilt: upgrade from 0.50 to 0.51

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb: upgrade from 7.3.1 to 7.4
Nitin A Kamble [Wed, 1 Feb 2012 23:40:57 +0000 (15:40 -0800)]
gdb: upgrade from 7.3.1 to 7.4

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogmp: upgrade from 5.0.2 to 5.0.3
Nitin A Kamble [Wed, 1 Feb 2012 23:40:56 +0000 (15:40 -0800)]
gmp: upgrade from 5.0.2 to 5.0.3

rebased configure.patch & amd64.patchto the newer code.
Removed sh4-asmfix.patch as it is not needed with the newer code.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_track: Track Updates
Saul Wold [Thu, 2 Feb 2012 18:27:00 +0000 (10:27 -0800)]
distro_track: Track Updates

openssl: Update to 1.0.0g
openssl: Update to 0.9.8t (gplv2)
gnutls: Update to 2.12.16
rxvt-unicode: Update to 9.15
gnupg: Add gplv2 version 1.4.7
file: Update to version 5.10
libidn: Update to 1.24
libdrm: Update to 2.4.30
xinit: Update to 1.3.2
xf86-input-keyboard: Update to 1.6.1
xf87-input-evdev: 2.6.0

Manual Checks:
util-linux - NO Update reason

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoxf86-input-keyboard: Update to 1.6.1
Saul Wold [Thu, 2 Feb 2012 18:21:02 +0000 (10:21 -0800)]
xf86-input-keyboard: Update to 1.6.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoxinit: Update to 1.3.2
Saul Wold [Thu, 2 Feb 2012 18:20:24 +0000 (10:20 -0800)]
xinit: Update to 1.3.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibdrm: Update to 2.4.30
Saul Wold [Thu, 2 Feb 2012 18:19:56 +0000 (10:19 -0800)]
libdrm: Update to 2.4.30

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibidn: Update to 1.24
Saul Wold [Thu, 2 Feb 2012 18:19:33 +0000 (10:19 -0800)]
libidn: Update to 1.24

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agofile: Update to version 5.10
Saul Wold [Thu, 2 Feb 2012 18:19:08 +0000 (10:19 -0800)]
file: Update to version 5.10

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agognupg: Add gplv2 version 1.4.7
Saul Wold [Thu, 2 Feb 2012 18:18:40 +0000 (10:18 -0800)]
gnupg: Add gplv2 version 1.4.7

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agorxvt-unicode: Update to 9.15
Saul Wold [Thu, 2 Feb 2012 18:17:52 +0000 (10:17 -0800)]
rxvt-unicode: Update to 9.15

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agognutls: Update to 2.12.16
Saul Wold [Thu, 2 Feb 2012 18:17:25 +0000 (10:17 -0800)]
gnutls: Update to 2.12.16

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoopenssl: Update to 0.9.8t (gplv2)
Saul Wold [Thu, 2 Feb 2012 18:16:25 +0000 (10:16 -0800)]
openssl: Update to 0.9.8t (gplv2)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoopenssl: Update to 1.0.0g
Saul Wold [Thu, 2 Feb 2012 18:15:39 +0000 (10:15 -0800)]
openssl: Update to 1.0.0g

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoself-hosted-image: add package management for correct installation
Saul Wold [Wed, 1 Feb 2012 03:53:51 +0000 (19:53 -0800)]
self-hosted-image: add package management for correct installation

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agotask-self-hosted: add python-pkgutil since it's required
Saul Wold [Wed, 1 Feb 2012 00:58:00 +0000 (16:58 -0800)]
task-self-hosted: add python-pkgutil since it's required

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agotask-self-hosted: add disk partitioning tools
Saul Wold [Thu, 26 Jan 2012 18:34:53 +0000 (10:34 -0800)]
task-self-hosted: add disk partitioning tools

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agometa-yocto/local.conf.sample.extended: add LICENSE_FLAGS_WHITELIST section
Tom Zanussi [Thu, 2 Feb 2012 00:28:59 +0000 (18:28 -0600)]
meta-yocto/local.conf.sample.extended: add LICENSE_FLAGS_WHITELIST section

Add a new section for LICENSE_FLAGS_WHITELIST, containing a list of
the current packages with LICENSE_FLAGS.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoatk: add native / disable introspection / merge atk.inc->recipe / change license
Andreas Müller [Sun, 29 Jan 2012 00:00:53 +0000 (01:00 +0100)]
atk: add native / disable introspection / merge atk.inc->recipe / change license

Native support currently is appended in meta-oe. Native build failed with:

| /usr/share/gir-1.0/GLib-2.0.gir:9:1: error: Unsupported version '1.1'
| /usr/share/gir-1.0/GLib-2.0.gir:9:39: error: Unsupported version '1.1'
| error parsing file Atk-1.0.gir: Failed to parse included gir GLib-2.0
| make[3]: *** [Atk-1.0.typelib] Error 1

build tested in meta-oe / angstrom environment

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogconf.bbclass: Add proper RDEPENDS to packages with gconf postinststep.
Peter Tworek [Wed, 1 Feb 2012 07:32:04 +0000 (08:32 +0100)]
gconf.bbclass: Add proper RDEPENDS to packages with gconf postinststep.

Right now gconf bbclass adds both postinst and prerm steps, but it does
not ensure that packages involved have gconf in RDEPENDS. This can lead
to a situation where postinst/prerm steps fail because gconftool-2 is
not installed.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking_fields: take sysklogd off Saul's plate
Joshua Lock [Wed, 1 Feb 2012 00:50:35 +0000 (16:50 -0800)]
distro_tracking_fields: take sysklogd off Saul's plate

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agosysklogd: various fixes so it starts/stops cleanly
Joshua Lock [Wed, 1 Feb 2012 00:49:47 +0000 (16:49 -0800)]
sysklogd: various fixes so it starts/stops cleanly

This patch fixes several issues with the sysklogd recipe:
o Errors at start due to non-existent /var/log/news/ - every other log
  file is created in /var/log, not a sub-directory. Do the same for news
  logs.
o klogd would not be stopped due to pidfile recycling, give klogd its own
  pidfile
o preinstalls failed at rootfs creation time by trying to access the host
  root filesystem rather than a path relative to $D. Update the preinst to
  test for $D and do the right thing.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agopciutils: fix configure script for dash
Joshua Lock [Tue, 31 Jan 2012 23:21:00 +0000 (15:21 -0800)]
pciutils: fix configure script for dash

configure.patch was missing a closing quote in a sed expression which
causes script execution to error on less forgiving shells such as dash.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoudev: improve udev-cache robustness
Otavio Salvador [Tue, 20 Dec 2011 14:13:14 +0000 (14:13 +0000)]
udev: improve udev-cache robustness

 * allow udev-cache to be disabled at runtime (using
   /etc/default/udev-cache);

 * make cache invalidated if kernel, bootparams or device list
   changes;

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agoexternal-csl-toolchain: avoid the hardcoded version/prefix
Christopher Larson [Fri, 27 Jan 2012 17:13:44 +0000 (11:13 -0600)]
external-csl-toolchain: avoid the hardcoded version/prefix

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoexternal-csl-toolchain: fixes for metadata changes
Christopher Larson [Fri, 27 Jan 2012 17:13:43 +0000 (11:13 -0600)]
external-csl-toolchain: fixes for metadata changes

These allow the recipe to build again:

- add compilerlibs, g++, libgcc to the provides
- add linux-libc-headers-dev to the packages
- in libc-package, only sed the ldd.bash.in file if it exists, as the external
  toolchain is using that class as well
- shift the inherit location of the libc classes, as they were overriding the
  recipe's do_install
- use ?= for EXTERNAL_TOOLCHAIN, so the user can set it

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibc-package: fix typo in LOCALETREESRC default value
Christopher Larson [Fri, 27 Jan 2012 17:13:39 +0000 (11:13 -0600)]
libc-package: fix typo in LOCALETREESRC default value

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoexternal-csl-toolchain: fix critical PATH manipulation bug
Christopher Larson [Fri, 27 Jan 2012 17:13:42 +0000 (11:13 -0600)]
external-csl-toolchain: fix critical PATH manipulation bug

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage bbclass: allow per package PRIVATE_LIBS
Koen Kooi [Fri, 27 Jan 2012 16:50:40 +0000 (17:50 +0100)]
package bbclass: allow per package PRIVATE_LIBS

If a recipe packages multiple versions of shlib (e.g. powervr drivers) we only want the shlib code to pickup $PN, not $PN-foo subpackages.
This keeps backward compatibility with the global PRIVATE_LIBS usage if no per package PRIVATE_LIBS are set for a given package. In other words: this doesn't break the firefox recipe.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix the issue that adt-installer tar ball is not regenerated if sstate is on, and...
Jessica Zhang [Tue, 31 Jan 2012 05:11:44 +0000 (21:11 -0800)]
Fix the issue that adt-installer tar ball is not regenerated if sstate is on, and other minor bug fixes

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
13 years agoe2fsprogs: remove unneeded patch and re-enable PARALLEL_MAKE
Scott Garman [Tue, 31 Jan 2012 02:40:29 +0000 (18:40 -0800)]
e2fsprogs: remove unneeded patch and re-enable PARALLEL_MAKE

Koen Kooi suggested that the quotefix patch was not needed,
and the build of the recipe should now be multithread-safe.
My testing has confirmed this.

Signed-off-by: Scott Garman <sgarman@zenlinux.com>
13 years agopkgconfig: Ensure pkgconfig RDEPENDS are tracked
Richard Purdie [Tue, 31 Jan 2012 15:52:27 +0000 (15:52 +0000)]
pkgconfig: Ensure pkgconfig RDEPENDS are tracked

Currently, pkgconfig dependencies get added to -dev packages which install
pc files however nothing in the system makes bitbake aware of these
dependencies so images can fail with pkgconfig being missing.

This change explictly adds in the pkgconfig RDEPENDS to the -dev packages
and hence makes bitbake aware of the dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopkg-utils: convert to git repo at git.yoctoproject.org
Saul Wold [Tue, 31 Jan 2012 18:27:53 +0000 (10:27 -0800)]
opkg-utils: convert to git repo at git.yoctoproject.org

The svn.openmoko.org site seems to have become unstable, make a copy
and convert to git at git.yoctoproject.org to preserve history

[YOCTO #1867]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agobootimg: Do not force FAT32 on all images, it violates the FAT specification
Darren Hart [Tue, 31 Jan 2012 16:41:13 +0000 (08:41 -0800)]
bootimg: Do not force FAT32 on all images, it violates the FAT specification

Fixes [YOCTO #1940]

do_bootimg was performing the FAT overhead calculations assuming FAT32 and then
forcing the use of FAT32 with "-F 32" to mkdosfs. The FAT specification is clear
on cluster count being the determining factor for FAT size (even if the fs
string is set to FAT32, go figure). Syslinux follows this spec, and rightly so,
resulting in a failure on core-image-minimal:

syslinux: zero FAT sectors (FAT12/16)

Drop the "-F 32" from mkdosfs to allow it to select the appropriate FAT size
based on cluster count. Leave the FAT overhead calculation in FAT32. This will
result in a little extra padding for really small images, but not enough extra
to justify recalculating for FAT12 and FAT16.

Tested with a core-image-minimal build for atom-pc. do_bootimg completed
successfully, and the resulting image was FAT16.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agogdb-common: Drop elfutils from DEPENDS
Khem Raj [Sat, 21 Jan 2012 01:07:42 +0000 (17:07 -0800)]
gdb-common: Drop elfutils from DEPENDS

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agolinux-yocto: update to v3.0.18 + features
Bruce Ashfield [Mon, 30 Jan 2012 06:12:12 +0000 (01:12 -0500)]
linux-yocto: update to v3.0.18 + features

The -stable team released v3.0.18, so it becomes the new base for the
linux-yocto_3.0 recipe.

Along with the 3.0.18 update this kernel refresh brings in the following
changes:

  59314a3 meta/beagleboard: Using CONFIG_PANEL_GENERIC_DPI=y
  b168325 crownbay: use emgd-1.10
  281b80f kver: bumping to v3.0.18
  0d5d0dd common-pc*: add SMP and virtio

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: add kernel 3.2.2 support
Bruce Ashfield [Fri, 27 Jan 2012 20:41:20 +0000 (15:41 -0500)]
linux-yocto: add kernel 3.2.2 support

Adding initial support for the linux 3.2 kernel.

Although the branching and naming has changed slightly, the same BSPs and
features exist in this tree as have existed in previous linux-yocto versions.

Notable features of this update are:

  - streamlined branch naming
  - configuration and functionality split in the standard kernel
  - creation of the 'tiny' kernel type branch
  - audited kernel configurations with optional features documented
    in the meta branch
  - feature and BSP refreshes
  - 3.2-rt support refresh
  - qemu ppc graphics support

Build and boot testing has been performed on all emulated targets
(sato and core).

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>