]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agochkconfig_1.3.49.bb: inherit gettext class instead of adding gettext to DEPENDS directly
Khem Raj [Fri, 1 Apr 2011 04:03:21 +0000 (21:03 -0700)]
chkconfig_1.3.49.bb: inherit gettext class instead of adding gettext to DEPENDS directly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agosed: inherit gettext class instead of adding gettext to DEPENDS directly
Khem Raj [Fri, 1 Apr 2011 04:02:39 +0000 (21:02 -0700)]
sed: inherit gettext class instead of adding gettext to DEPENDS directly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoxorg-proto: inherit gettext class instead of adding gettext to DEPENDS directly
Khem Raj [Fri, 1 Apr 2011 03:58:46 +0000 (20:58 -0700)]
xorg-proto: inherit gettext class instead of adding gettext to DEPENDS directly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agogcc-runtime_4.5.1.bb: Do not filter out -feliminate-dwarf2-dups
Khem Raj [Fri, 1 Apr 2011 03:54:37 +0000 (20:54 -0700)]
gcc-runtime_4.5.1.bb: Do not filter out -feliminate-dwarf2-dups

This is already taken care by bitbake.conf

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoflex.inc: inherit gettext class instead of adding gettext to DEPENDS directly
Khem Raj [Fri, 1 Apr 2011 03:51:28 +0000 (20:51 -0700)]
flex.inc: inherit gettext class instead of adding gettext to DEPENDS directly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoe2fsprogs.inc: inherit gettext class instead of adding gettext to DEPENDS directly
Khem Raj [Fri, 1 Apr 2011 03:50:29 +0000 (20:50 -0700)]
e2fsprogs.inc: inherit gettext class instead of adding gettext to DEPENDS directly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoliboil_0.3.17.bb: Enable x86_64 unaligned memory access
Khem Raj [Fri, 1 Apr 2011 03:49:08 +0000 (20:49 -0700)]
liboil_0.3.17.bb: Enable x86_64 unaligned memory access

Patch imported from OE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agolibpam_1.1.3.bb: Fix compilation on uclibc when innetgr is absent
Khem Raj [Fri, 1 Apr 2011 03:45:29 +0000 (20:45 -0700)]
libpam_1.1.3.bb: Fix compilation on uclibc when innetgr is absent

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agodiffstat_1.54.bb: inherit gettext class instead of adding gettext to DEPENDS directly
Khem Raj [Fri, 1 Apr 2011 03:43:33 +0000 (20:43 -0700)]
diffstat_1.54.bb: inherit gettext class instead of adding gettext to DEPENDS directly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agobison: Make compilable on uclibc
Khem Raj [Fri, 1 Apr 2011 03:41:59 +0000 (20:41 -0700)]
bison: Make compilable on uclibc

Import patch from OE to fix compilation on uclibc

Let inherit gettext take care of gettext dependencies

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agobinutils: Use arm*-*-linux-uclibceabi instead of arm*-*-linux-uclibcgnueabi
Khem Raj [Fri, 1 Apr 2011 03:40:35 +0000 (20:40 -0700)]
binutils: Use arm*-*-linux-uclibceabi instead of arm*-*-linux-uclibcgnueabi

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agogettext_0.17.bb: Use linux-uclibceabi instead of linux-uclibcgnueabi
Khem Raj [Fri, 1 Apr 2011 03:32:53 +0000 (20:32 -0700)]
gettext_0.17.bb: Use linux-uclibceabi instead of linux-uclibcgnueabi

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agocoreutils_6.9.bb: Remove gettext from DEPENDS
Khem Raj [Fri, 1 Apr 2011 03:31:45 +0000 (20:31 -0700)]
coreutils_6.9.bb: Remove gettext from DEPENDS

inheriting gettext should take care of this

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoconsole-tools_0.3.2.bb: inherit gettext
Khem Raj [Fri, 1 Apr 2011 03:30:32 +0000 (20:30 -0700)]
console-tools_0.3.2.bb: inherit gettext

There is a dependency on libintl in configure

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agotelepathy-glib_0.13.6.bb: inherit gettext class instead of adding gettext to DEPENDS...
Khem Raj [Fri, 1 Apr 2011 03:27:00 +0000 (20:27 -0700)]
telepathy-glib_0.13.6.bb: inherit gettext class instead of adding gettext to DEPENDS directly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agogalago: inherit gettext class instead of adding gettext to DEPENDS directly
Khem Raj [Fri, 1 Apr 2011 03:24:17 +0000 (20:24 -0700)]
galago: inherit gettext class instead of adding gettext to DEPENDS directly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoavahi.inc: Conditionalize RECOMMENDS by using overrides
Khem Raj [Fri, 1 Apr 2011 03:20:16 +0000 (20:20 -0700)]
avahi.inc: Conditionalize RECOMMENDS by using overrides

libnss-mdns is not supportable on uclibc since nss is not available on
uclibc

we add gettext-dev to RRECOMMENDS only of eglibc/glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agorecipes: Use -uclibceabi instead of -uclibcgnueabi
Khem Raj [Fri, 1 Apr 2011 03:18:32 +0000 (20:18 -0700)]
recipes: Use -uclibceabi instead of -uclibcgnueabi

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoconf/distro/poky.conf: Use -uclibceabi instead of -uclibgnuceabi
Khem Raj [Fri, 1 Apr 2011 03:11:35 +0000 (20:11 -0700)]
conf/distro/poky.conf: Use -uclibceabi instead of -uclibgnuceabi

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agosite: Add mips-linux-uclibc site file and add to x86_64-linux-uclibc
Khem Raj [Fri, 1 Apr 2011 03:09:50 +0000 (20:09 -0700)]
site: Add mips-linux-uclibc site file and add to x86_64-linux-uclibc

mips-uclibc needs the mips-linux-uclibc site file
x86_64-linux-uclibc is enahnced for missing cached variables

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoclasses: Use linux-uclibceabi instead of linux-uclibgnuceabi for os portion of triplet
Khem Raj [Fri, 1 Apr 2011 03:07:44 +0000 (20:07 -0700)]
classes: Use linux-uclibceabi instead of linux-uclibgnuceabi for os portion of triplet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agosanity.bbclass: Use SSTATE_MANIFESTS instead of hard coding sstate-control
Khem Raj [Fri, 1 Apr 2011 02:57:43 +0000 (19:57 -0700)]
sanity.bbclass: Use SSTATE_MANIFESTS instead of hard coding sstate-control

This helps when SSTATE_MANIFESTS is overridden by external layers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoqemu-nativesdk: Refresh glflags patch
Richard Purdie [Mon, 4 Apr 2011 11:14:34 +0000 (12:14 +0100)]
qemu-nativesdk: Refresh glflags patch

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: Edits plus Matt Madison note...
Scott Rifenbark [Thu, 31 Mar 2011 18:31:27 +0000 (13:31 -0500)]
documentation/yocto-project-qs/yocto-project-qs.xml: Edits plus Matt Madison note regarding older host systems

I made a few small edits and I added a reference to the
wiki page 'https://wiki.yoctoproject.org/wiki/BuildingOnRHEL4'
that has entries for older development hosts.  Right now all that
is there is the RHEL4 notes but the wiki page can be expanded as needed.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: cleaned out another "YP"
Scott Rifenbark [Wed, 30 Mar 2011 02:03:16 +0000 (21:03 -0500)]
documentation/yocto-project-qs/yocto-project-qs.xml: cleaned out another "YP"

Removed "YP" from another spot in the manual.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agodocumentation/bsp-guide/Makefile: Updated to include PDF in tarball
Scott Rifenbark [Thu, 31 Mar 2011 18:41:51 +0000 (13:41 -0500)]
documentation/bsp-guide/Makefile:  Updated to include PDF in tarball

For some reason the PDF version of this manual was not being included
in the tarball created by the Makefile.  I fixed this.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/usingpoky.xml: [BUGID# 929] - Note added warning about...
Scott Rifenbark [Wed, 30 Mar 2011 14:17:33 +0000 (09:17 -0500)]
documentation/poky-ref-manual/usingpoky.xml:  [BUGID# 929] - Note added warning about switching up GPL versions

In chapter 2 where we talk about building images I added a new
note indicating that the user should not switch around using different
GPL versions when trying to rebuild an image as it can cause dependency
failures.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoqemu: Add dropped glflags.patch
Richard Purdie [Thu, 31 Mar 2011 14:45:06 +0000 (15:45 +0100)]
qemu: Add dropped glflags.patch

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoqemu.inc: Add sh4,sh4eb,mips64,mips64el targets
Khem Raj [Fri, 25 Mar 2011 22:52:33 +0000 (15:52 -0700)]
qemu.inc: Add sh4,sh4eb,mips64,mips64el targets

In order to leavarage more emulations in oe-core
these targets needs to be built as well

Introduce new variable QEMU_TARGETS which
can be set by user to decide what all machine support
should be build into qemu-native

This one works adding same to qemu.inc does not
parse presumably a bitbake problem.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoscripts/poky-qemu-internal: call stty sane before exit
Khem Raj [Thu, 17 Mar 2011 23:33:43 +0000 (16:33 -0700)]
scripts/poky-qemu-internal: call stty sane before exit

When qemu is booted into console with -nographics
then after exiting the terminal line settings are messed
up. This patch calls stty sane to restore the terminal
settings to default.

stty is part of coreutils which is installed on all
host distros hence there is no need to warn about it
being available or not

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoREADME.hardware: remove u-boot flashing instructions for mpc8315e-rdb
Paul Eggleton [Thu, 31 Mar 2011 13:33:16 +0000 (14:33 +0100)]
README.hardware: remove u-boot flashing instructions for mpc8315e-rdb

Upgrading u-boot is apparently not necessary with current board revisions,
and these instructions may not work properly anyway (our toolchain seems not
to be able to compile u-boot in the way described), and given that they are
potentially risky they should be removed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agoWorkaround for Global C++ Constructor problem on ARM
Mark Hatle [Wed, 30 Mar 2011 02:16:16 +0000 (21:16 -0500)]
Workaround for Global C++ Constructor problem on ARM

[YOCTO #938]

Workaround for a problem with the order of the global C++ constructors on ARM.
The workaround is simply to avoid defining the ID numbers outside of the
usage of the ID's.

This also has the effect of fixing a problem on MIPS, where "_mips" is a
defined symbol and unavailable on the system for a variable name.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoFix integration of zypper and sat-solver
Mark Hatle [Tue, 29 Mar 2011 03:07:02 +0000 (22:07 -0500)]
Fix integration of zypper and sat-solver

Adjust the integration of zypper and sat-solver to ensure that all of the
defined architectures for a given machine are defined identically to Poky.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoFix sat-solver & RPM5 integration issue
Mark Hatle [Tue, 29 Mar 2011 03:05:18 +0000 (22:05 -0500)]
Fix sat-solver & RPM5 integration issue

From Michael Schroeder, fix the configuration of how RPM5 handles obsoletes
within the sat-solver.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agolinux-yocto: update base to 2.6.37.6
Bruce Ashfield [Mon, 28 Mar 2011 20:45:14 +0000 (16:45 -0400)]
linux-yocto: update base to 2.6.37.6

The kernel.org stable 2.6.37.6 was released, so we make it
the base of our SRCREVs.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-yocto/qemux86-64: enable profiling and latency
Bruce Ashfield [Thu, 24 Mar 2011 20:27:10 +0000 (16:27 -0400)]
linux-yocto/qemux86-64: enable profiling and latency

The configuration chunks for profiling and latency top have
been enabled in tree now, so we can drop optional feature
additions in the recipe itself.

build tests show identical configurations.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoqemu-config: Enable for qemumips/qemuppc
Richard Purdie [Thu, 31 Mar 2011 10:14:59 +0000 (11:14 +0100)]
qemu-config: Enable for qemumips/qemuppc

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agogthumb: Add missing DEPENDS on gst-plugins-base as otherwise gstreamer isn't enabled
Richard Purdie [Thu, 31 Mar 2011 10:14:20 +0000 (11:14 +0100)]
gthumb: Add missing DEPENDS on gst-plugins-base as otherwise gstreamer isn't enabled

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoclutter-box2d: add version 0.10.0 for use with clutter 1.6
Joshua Lock [Mon, 28 Mar 2011 12:14:37 +0000 (13:14 +0100)]
clutter-box2d: add version 0.10.0 for use with clutter 1.6

Don't specificy dependant clutter version in inc file, this enables the inc
file to be re-used accross Clutter versions.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoclutter-gtk: remove duplicate gtk+ DEPENDS entry
Joshua Lock [Mon, 28 Mar 2011 12:15:47 +0000 (13:15 +0100)]
clutter-gtk: remove duplicate gtk+ DEPENDS entry

the inc file already specifies the gtk+ dependancy

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoclutter-gst: add 1.3.6 for use with clutter 1.6
Joshua Lock [Mon, 28 Mar 2011 12:19:50 +0000 (13:19 +0100)]
clutter-gst: add 1.3.6 for use with clutter 1.6

The inc file should be usable across clutter versions, plus this is already
set in the clutter-box2d-1.4_git.bb recipe

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoclutter: add 1.6.8
Joshua Lock [Mon, 28 Mar 2011 12:18:51 +0000 (13:18 +0100)]
clutter: add 1.6.8

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: removed (YP) acronym
Scott Rifenbark [Mon, 28 Mar 2011 22:26:05 +0000 (17:26 -0500)]
documentation/yocto-project-qs/yocto-project-qs.xml: removed (YP) acronym

I removed this YP acroynm since we never use it.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agopackage_rpm: Ensure we take the sstate shared lockfile in the place we write files
Richard Purdie [Tue, 29 Mar 2011 10:58:01 +0000 (11:58 +0100)]
package_rpm: Ensure we take the sstate shared lockfile in the place we write files

The point we need to take the lock is when the rpm files are written into the
deploy rpm directory. Since sstate makes the actual installation of the files,
that is the point we need to take the lock. This also stops the deploy/rpm
directory being accessed for a lock before it exists.

[YOCTO #797]
[YOCTO #925]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate: Add support for taking shared lockfiles
Richard Purdie [Tue, 29 Mar 2011 10:57:37 +0000 (11:57 +0100)]
sstate: Add support for taking shared lockfiles

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoimage.bbclass: Remove uneeded do_populate_sysroot requirement for images
Richard Purdie [Mon, 28 Mar 2011 23:55:21 +0000 (00:55 +0100)]
image.bbclass: Remove uneeded do_populate_sysroot requirement for images

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoimage.bbclass: Add dependencies on native versions of update-alternatives and updated...
Richard Purdie [Tue, 29 Mar 2011 00:37:53 +0000 (01:37 +0100)]
image.bbclass: Add dependencies on native versions of update-alternatives and updated-rc.d explicitly

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobase/kernel/image.bbclass: Clean up do_deploy ordering to ensure it just happens...
Richard Purdie [Mon, 28 Mar 2011 23:53:57 +0000 (00:53 +0100)]
base/kernel/image.bbclass: Clean up do_deploy ordering to ensure it just happens before a build completes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake.conf: Disable -feliminate-dwarf2-dups flag until it works with prelink and...
Richard Purdie [Tue, 29 Mar 2011 12:47:40 +0000 (13:47 +0100)]
bitbake.conf: Disable -feliminate-dwarf2-dups flag until it works with prelink and other issues are resolved

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolinux-yocto/meta: fix SRCREV
Bruce Ashfield [Mon, 28 Mar 2011 15:32:15 +0000 (11:32 -0400)]
linux-yocto/meta: fix SRCREV

The SRCREV that was pushed to meta isn't even a commit Id
on the meta branch. As a result, the recovery code for bad
SRCREV can't trigger and fix things up due to conflicting
files between the branches.

Updating to the right SRCEV fixes the problem.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agodocumentation/adt-manual/adt-prepare.xml: Added instruction for building ADT tarball
Scott Rifenbark [Fri, 25 Mar 2011 17:34:09 +0000 (11:34 -0600)]
documentation/adt-manual/adt-prepare.xml: Added instruction for building ADT tarball

I added a note in the "Installing the ADT" section (2.1) saying that
if you need to build the ADT tarball you can use
'bitbake adt-installer'.  I also changed the location of the
toolchain from '...yocto-0.9' to '...yocto-1.0'.  Finally,
I changed the host sub-directory in the toolchain directory
from 'i586' to i686'.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: [BUGID# 931] - Removed Fedora...
Scott Rifenbark [Fri, 25 Mar 2011 16:16:43 +0000 (10:16 -0600)]
documentation/yocto-project-qs/yocto-project-qs.xml:  [BUGID# 931] - Removed Fedora 14 bitbake native note

[BUGID# 931] - I have removed the Note indicating that the user must run
'bitbake make-native' if running Fedora 14.
This is no longer a requirement for YP Release 1.0

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: Bug reference added courtesy...
Scott Rifenbark [Tue, 22 Mar 2011 17:33:12 +0000 (11:33 -0600)]
documentation/yocto-project-qs/yocto-project-qs.xml: Bug reference added courtesy Colin Walters

In the Quick Start there is a note indicating that you should run
'bitbake make-native' followed by 'bitbake poky-image-sato' if you
are running Fedora 14 or another distribution that ships with GNU.
Colin Walters submitted a patch that offerred an URL for further
explanation on a Make Bug.  The URL is
http://www.mail-archive.com/bug-make@gnu.org/msg06220.html.  Rather
than submit Colin's patch verbatim I updated the note to include the
reference with a little different wording.

This extra information submitted by Colin will be very helpful.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoREADME.hardware: add Freescale MPC8315E-RDB; other minor tweaks
Paul Eggleton [Tue, 22 Mar 2011 17:14:26 +0000 (17:14 +0000)]
README.hardware: add Freescale MPC8315E-RDB; other minor tweaks

* Add Freescale MPC8315E-RDB instructions (based on Wind River README passed
  on by Bruce Ashfield)
* Add short info paragraph for RouterStation Pro (to match BeagleBoard)
* Add example for connecting to RouterStation Pro serial console with picocom

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agoqemu: Upgrade 0.13.0 -> 0.14.0
Khem Raj [Thu, 17 Mar 2011 00:40:36 +0000 (17:40 -0700)]
qemu: Upgrade 0.13.0 -> 0.14.0

* ppc-hack patch is dropped.

* Other patches which were direct backports
  or has been merged upstream in 0.14.0 are
  also dropped

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agognutls: add BBCLASSEXTEND = native
Koen Kooi [Thu, 24 Mar 2011 09:36:12 +0000 (10:36 +0100)]
gnutls: add BBCLASSEXTEND = native

This is needed for the native recipes in meta-efl

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolinux-yocto: update to 2.6.37.5
Bruce Ashfield [Thu, 24 Mar 2011 18:06:06 +0000 (14:06 -0400)]
linux-yocto: update to 2.6.37.5

The 2.6.37.5 -stable update is available, so it now becomes
the new base for linux-yocto.

All qemu targets have been built and booted.

Changelog is available via:

   git log --pretty=oneline --abbrev-commit v2.6.37.3..v2.6.37.5

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoimage_types.bbclass: Drop IMAGE_EXTRA_OPTION in favour of the more standard EXTRA_IMA...
Richard Purdie [Thu, 24 Mar 2011 14:32:40 +0000 (14:32 +0000)]
image_types.bbclass: Drop IMAGE_EXTRA_OPTION in favour of the more standard EXTRA_IMAGECMD

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake.conf/image.bbclass: Move image type information into image_types.bbclass
Richard Purdie [Thu, 24 Mar 2011 14:26:31 +0000 (14:26 +0000)]
bitbake.conf/image.bbclass: Move image type information into image_types.bbclass

Image generation code in .conf files is hard to read as it needs to be
single line. By moving this to a separate class, multiline functions
can be used instead improving readability. It also declutters
bitbake.conf.

There is no real functional change with this patch but it highlights
the need for improvements in places such as the IMAGE_EXTRA_OPTION
ext* specific variable which makes no sense.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobase-files: Remove sysctl.conf file. This is now provided by the procpc recipe.
Richard Purdie [Thu, 24 Mar 2011 13:03:50 +0000 (13:03 +0000)]
base-files: Remove sysctl.conf file. This is now provided by the procpc recipe.

The base-files version is horribly outdated too.

[YOCTO #924]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoimage.bbclass: Move ROOTFS_SIZE into runimagecmd() function
Richard Purdie [Thu, 24 Mar 2011 12:29:19 +0000 (12:29 +0000)]
image.bbclass: Move ROOTFS_SIZE into runimagecmd() function

Image type specific size overrides for IMAGE_ROOTFS were being ignored.
Moving the size calculation to after the overide expansion point addresses
this problem.

[YOCTO #928]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoimage.bbclass: Improve readability of the image generation code
Richard Purdie [Thu, 24 Mar 2011 12:23:10 +0000 (12:23 +0000)]
image.bbclass: Improve readability of the image generation code

The quoting in get_imagecmds() is hard to read. We can simplify the constuction
a little to make this easier to parse and reduce complexity slightly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate: use only unique set of SSTATETASK
Martin Jansa [Wed, 23 Mar 2011 23:05:40 +0000 (00:05 +0100)]
sstate: use only unique set of SSTATETASK

* otherwise strange error like this:
  ERROR: Logfile of failure stored in: /OE/shr-core/tmp/work/armv7a-oe-linux-gnueabi/libtool-cross-2.4-r1/temp/log.do_package_write_ipk.25551
  Log data follows:
  | ERROR: Package already staged (/OE/shr-core/tmp/sstate-control/manifest-nokia900-libtool-cross.deploy-ipk)?!
  | ERROR: Function 'sstate_task_postfunc' failed
  NOTE: package libtool-cross-2.4-r1: task do_package_write_ipk: Failed
  ERROR: Task 11 (/OE/shr-core/openembedded-core/meta/recipes-devtools/libtool/libtool-cross_2.4.bb, do_package_write_ipk) failed with exit code '1'

  is shown in this case with package_ipk twice in INHERIT

* Thanks to Richard for fix

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agokernel.bbclass: blacklist 'kernel-misc' from kernel-modules
Koen Kooi [Wed, 23 Mar 2011 19:55:31 +0000 (20:55 +0100)]
kernel.bbclass: blacklist 'kernel-misc' from kernel-modules

When 'kernel-misc' is empty do_rootfs will fail when including 'kernel-modules'

The proper fix would be to have a whitelist for the 'kernel-modules' meta-pkg

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Tested-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agogcc-runtime_4.5.1.bb: Fix ICE in gcc-runtime with -feliminate-dwarf2-dups
Khem Raj [Fri, 18 Mar 2011 21:29:59 +0000 (14:29 -0700)]
gcc-runtime_4.5.1.bb: Fix ICE in gcc-runtime with -feliminate-dwarf2-dups

GCC 4.5 ends up in an ICE when compiling libstdc++ pre compiled header
so we eliminate -feliminate-dwarf2-dups for gcc-runtime

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agomachine/include/tune-atom.inc: Remove FULL_OPTIMIZATION_pn-gtk+
Khem Raj [Thu, 17 Mar 2011 23:58:25 +0000 (16:58 -0700)]
machine/include/tune-atom.inc: Remove FULL_OPTIMIZATION_pn-gtk+

* Since bitbake.conf has got rid of -fomit-frame-pointer this
  is no longer required

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agobitbake.conf: Prune global OPTIMIZATION flags
Khem Raj [Thu, 17 Mar 2011 23:54:30 +0000 (16:54 -0700)]
bitbake.conf: Prune global OPTIMIZATION flags

-fexpensive-optimizations is enabled by default at -O2

-fomit-frame-pointer is enabled at -O2 selectively by gcc depending upon
  architecture if debug info is not hurt

-frename-registers - This might have some performance advantage on top
 of O2 on architectures which have more registers and registers are left
 after scheduling but it affects debuggability quite a bit so as a i
 tradeoff we do not use it.

-feliminate-dwarf2-dups - We use this option to reduce the size of debug
 information by removing duplicates this is only valid for dwarf2+ and we
 use dwarf2 by default

-pipe uses buffers instead of temporary files internally it can speed
 up compilation it has has issues with other assemblers but not
 with GNU assembler and we use gas.

Separate out debug information related flags into a separate variable
DEBUG_FLAGS so distros can use/notuse them as they like

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agocoreutils: Switch to disabling gmp support
Tom Rini [Tue, 22 Mar 2011 16:46:27 +0000 (09:46 -0700)]
coreutils: Switch to disabling gmp support

Coreutils can optionally build with libgmp support and for our uses
it's fine to just not build it rather than add the dependency.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
14 years agochecksums.ini: Delete
Tom Rini [Tue, 22 Mar 2011 22:02:54 +0000 (15:02 -0700)]
checksums.ini: Delete

Signed-off-by: Tom Rini <tom_rini@mentor.com>
14 years agoVarious: Switch to SOURCEFORGE_MIRROR
Tom Rini [Tue, 22 Mar 2011 22:02:43 +0000 (15:02 -0700)]
Various: Switch to SOURCEFORGE_MIRROR

Signed-off-by: Tom Rini <tom_rini@mentor.com>
14 years agoVarious: Update KERNELORG_MIRROR for consistency
Tom Rini [Tue, 22 Mar 2011 18:54:38 +0000 (11:54 -0700)]
Various: Update KERNELORG_MIRROR for consistency

In mirrors.bbclass we point into /pub but we don't in bitbake.conf.
All uses of KERNELORG_MIRROR look into /pub anyhow, so lets make
use of that.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
14 years agoVarious: Switch to KERNELORG_MIRROR
Tom Rini [Tue, 22 Mar 2011 18:49:10 +0000 (11:49 -0700)]
Various: Switch to KERNELORG_MIRROR

Signed-off-by: Tom Rini <tom_rini@mentor.com>
14 years agoVarious: Switch to using GNU_MIRROR
Tom Rini [Tue, 22 Mar 2011 18:45:07 +0000 (11:45 -0700)]
Various: Switch to using GNU_MIRROR

Signed-off-by: Tom Rini <tom_rini@mentor.com>
14 years agoVarious: Switch to GNOME_MIRROR
Tom Rini [Tue, 22 Mar 2011 18:39:49 +0000 (11:39 -0700)]
Various: Switch to GNOME_MIRROR

Signed-off-by: Tom Rini <tom_rini@mentor.com>
14 years agonet-tools: Switch to using DEBIAN_MIRROR
Tom Rini [Tue, 22 Mar 2011 18:33:36 +0000 (11:33 -0700)]
net-tools: Switch to using DEBIAN_MIRROR

Signed-off-by: Tom Rini <tom_rini@mentor.com>
14 years agoperl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha
Khem Raj [Fri, 18 Mar 2011 05:40:15 +0000 (22:40 -0700)]
perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha

Ubuntu has moved eglibc to /usr/lib/${arch}-linux-gnu and
/lib/${arch}-linux-gnu so we need that to be added to glibpth in
Configure.

Currently we set LD=ld in environment for recipes inheriting native
class. This overrides the LD settings in the Makefiles of perl and
it tries to link by calling ld which does not work since its using
-l<x> on commandline and ubuntu linker seems not to look into
the new location for these libraries. Its better to use gcc for linking
here anyway

[With tweak from Tom Rini to use CCLD, not LD]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoscripts/poky-qemu-internal: Add rw to KERNCMDLINE for non nfs boots as well
Khem Raj [Thu, 17 Mar 2011 18:24:39 +0000 (11:24 -0700)]
scripts/poky-qemu-internal: Add rw to KERNCMDLINE for non nfs boots as well

Without using rw the ext3 images boot the kernel but do not spawn the
console at the end

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoscripts/poky-qemu-internal: Pass -m <mem_size> always on commandline
Khem Raj [Thu, 17 Mar 2011 03:20:24 +0000 (20:20 -0700)]
scripts/poky-qemu-internal: Pass -m <mem_size> always on commandline

There is a nasty bug in qemu 0.14.0 where it over writes device memory
if the default sizes was not specified on commandline. It can be
worked around by this patch.

I also simplified the memory size calculation logic a bit so we append
'M' to QEMU_MEMORY at the very end instead of sed'ing it afterwards

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agolib/oe/patch.py: Cosmetic change to avoid bitbake warning
Khem Raj [Thu, 17 Mar 2011 00:42:10 +0000 (17:42 -0700)]
lib/oe/patch.py: Cosmetic change to avoid bitbake warning

bb.mkdirhier should be bb.utils.mkdirhier

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agooe.utils: add inherits (sync from OE)
Chris Larson [Mon, 7 Mar 2011 16:47:35 +0000 (09:47 -0700)]
oe.utils: add inherits (sync from OE)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agooe.path: sync up with current OE
Chris Larson [Wed, 9 Feb 2011 13:55:16 +0000 (06:55 -0700)]
oe.path: sync up with current OE

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agooe.patch: add missing imports
Chris Larson [Wed, 16 Mar 2011 14:46:24 +0000 (07:46 -0700)]
oe.patch: add missing imports

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agooe.utils: add bb, bb.data imports
Chris Larson [Thu, 30 Dec 2010 00:13:29 +0000 (17:13 -0700)]
oe.utils: add bb, bb.data imports

While the metadata can and should rely on bb always being available, this
needn't necessarily be the case for imported python modules.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agoShift a few env bits into scripts/bitbake
Chris Larson [Thu, 17 Mar 2011 15:31:54 +0000 (08:31 -0700)]
Shift a few env bits into scripts/bitbake

This attempts to separate the bits we *require* to run bitbake with oe-core
via the wrapper script, and which are independent of the build environment
(PSEUDO_DISABLED, PSEUDO_BUILD, BBFETCH2) from those which are more particular
to poky-init-build-env's way of setting things up (e.g. adding MACHINE to
BB_ENV_EXTRAWHITE, relying on OEROOT, etc).  This should make it easier to use
scripts/bitbake with non-standard workflows.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agoscripts/bitbake: add -g/--graphviz to NO_BUILD_OPTS
Chris Larson [Wed, 16 Mar 2011 14:46:48 +0000 (07:46 -0700)]
scripts/bitbake: add -g/--graphviz to NO_BUILD_OPTS

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agonative: empty PACKAGES_DYNAMIC the way we do PACKAGES
Chris Larson [Tue, 15 Mar 2011 14:37:47 +0000 (07:37 -0700)]
native: empty PACKAGES_DYNAMIC the way we do PACKAGES

Without this, as a specific example, one has both gtk+-native and gtk+ runtime
providing gdk-pixbuf-loader-*, and you can get bitbake preference conflicts as
a result if you have preferences specified for both gtk+ and gtk+-native for
other things.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agopoky-init-build-env: unbork for zsh
Chris Larson [Tue, 28 Dec 2010 17:49:17 +0000 (10:49 -0700)]
poky-init-build-env: unbork for zsh

Signed-off-by: Chris Larson <chris_larson@mentor.com>
14 years agobitbake.conf: replace unused/broken E_CVS/E_URI with E_MIRROR/E_SVN used in OE
Martin Jansa [Thu, 3 Mar 2011 14:44:06 +0000 (15:44 +0100)]
bitbake.conf: replace unused/broken E_CVS/E_URI with E_MIRROR/E_SVN used in OE

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHS
Richard Purdie [Tue, 15 Mar 2011 20:11:17 +0000 (20:11 +0000)]
bitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHS

There is a problem with the current PACKAGE_EXTRA_ARCHS implementation
since its impossible to control which extra architectures sort higher
than TARGET_ARCH and which sort lower. In the x86 case for example,
TARGET_ARCH might be "i586", i486 should be lower than this and i686 should
be higher. There are also complications where its easy to inject duplicate
entries into the variable.

I tried various versions of this patch and concluded that it was simplest
just to force the tune files to include TARGET_ARCH in the list in the
right place if they're planning to customise it themselves. Other approaches
with appends and prepends just complicated the code for no good reason.

The TARGET_ARCH definitions should also move to the tune files but I'll
leave this for a separate patch.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agokernel/bbclass: rework kernel and module classes to allow for building out-of-tree...
Darren Hart [Wed, 9 Mar 2011 01:09:10 +0000 (17:09 -0800)]
kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules

The existing infrastructure uses an external build tree which references the
kernel source in the work dir. If run with rm work, building external modules
will fail.

This patch places a configured source tree in sysroots. Striking a balance
between minimal size and minimal maintenance is difficult. A fully configured
tree is about 500MB after a clean. This version leans on the side of caution and
removes only the obviously unecessary parts of the source tree to conserve
space, resulting in about 170MB. The arch directories would be some additional
pruning we could do. Given examples from the devel package from distributions, I
suspect this size could be reduced to 75MB or so, but at the cost of a much more
complex recipe which is likely to require a great deal more maintenance to keep
current with kernel releases.

Care is also taken to clean the hostprogs in scripts, and the modules are
responsible for building them as needed. Although it is unclear to me if this is
really necessary, especially considering that modules put these bits back as
soon as they compile. If we are not generating an sstate package, I suspect we
can ignore these.

Please try this with your modules and let me know how it does. I tried to take
non linux-yocto kernel recipes into account, but I have only tested with
linux-yocto and the hello-mod recipe so far.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agomsmtp: add link sendmail for lsb command check
Kang Kai [Mon, 21 Mar 2011 02:46:11 +0000 (10:46 +0800)]
msmtp: add link sendmail for lsb command check

LSB command check will test the exist of sendmail, so make sendmail
link to msmtp using update-alternatives class in order to pass the test.

Related to [YOCTO #520]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
14 years agoqemu: enabling the alsa driver needs alsa in DEPENDS, add it
Koen Kooi [Mon, 21 Mar 2011 09:38:40 +0000 (10:38 +0100)]
qemu: enabling the alsa driver needs alsa in DEPENDS, add it

This fixes:

| + /OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/qemu-native-0.13.0-r1/qemu-0.13.0/configure --prefix=/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr --target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm --audio-drv-list=oss,alsa --audio-card-list=ac97,es1370
|
| Error: alsa check failed
| Make sure to have the alsa libs and headers installed.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoalsa-lib: extend to -native for qemu-native
Koen Kooi [Mon, 21 Mar 2011 09:38:39 +0000 (10:38 +0100)]
alsa-lib: extend to -native for qemu-native

Qemu-needed is needed for the qemu* machines to build, but needs alsa-lib

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoxserver-nodm-init: Mark as machine specific after recent rootless X changes
Richard Purdie [Sat, 19 Mar 2011 01:30:12 +0000 (01:30 +0000)]
xserver-nodm-init: Mark as machine specific after recent rootless X changes

Fix summplied by ke.yu@intel.com

[YOCTO #906]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate: Ensure a clean removes setscene stamps as well as the main task stamps
Richard Purdie [Sat, 19 Mar 2011 01:16:05 +0000 (01:16 +0000)]
sstate: Ensure a clean removes setscene stamps as well as the main task stamps

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years ago[BUGID# 873] - documentation/poky-ref-manual: Notes added for non-GPLv3 builds
Scott Rifenbark [Thu, 17 Mar 2011 04:50:06 +0000 (22:50 -0600)]
[BUGID# 873] - documentation/poky-ref-manual: Notes added for non-GPLv3 builds

[BUGID# 873] - Added a note in the Images Appendix indicating that
building an image without GPLv3 components is only supported for
base and minimal images.  Also put the two changes you have to do
to the local.conf file for the build.

Added a note in the second chapter in the section on building images.
The note indicates the same as in the appendix but does not go into the
local.conf file detail.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoqemu: make warning messages consistent in format
Darren Hart [Fri, 18 Mar 2011 17:28:08 +0000 (10:28 -0700)]
qemu: make warning messages consistent in format

Try to make the output of the qemu script a bit more consistent by using the
same format for the various warning messages:

WARNING: description of warning.
Detailed description of warning, actions taken, and/or instructions to user.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
14 years agoqemu: warn user if nVidia libGL is detected (leads to qemu segfault)
Darren Hart [Fri, 18 Mar 2011 17:18:48 +0000 (10:18 -0700)]
qemu: warn user if nVidia libGL is detected (leads to qemu segfault)

nVidia's OpenGL libraries are known to have compatibility issues with qemu,
resulting in a segfault. As different workarounds are required for the different
distributions, just warn the user to explain the qemu segfault to follow, and
suggest a workaround using LD_PRELOAD.

[YOCTO #649]
[YOCTO #698]

(Original patch from Edwin, Darren modified warning and git commit wording)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Mark Hatle <mark.hatle@windriver.com>
CC: Zhai Edwin <edwin.zhai@intel.com>
14 years agodb: Fix path of arm-thumb patch
Mark Hatle [Fri, 18 Mar 2011 16:33:10 +0000 (11:33 -0500)]
db: Fix path of arm-thumb patch

Newer versions of patch, such as in Fedora 14, don't like ".." within
the middle of the file to be patched path.

In order to fix the issue we have to hand apply the patch instead of using
the normal mechanisms.  Only flaw with the os.system(...) approach is if it
fails we don't get any notification or a resolver failure.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoinitscripts: Make umountfs a bit more robust, bump PR
Tom Rini [Wed, 16 Mar 2011 12:02:35 +0000 (12:02 +0000)]
initscripts: Make umountfs a bit more robust, bump PR

Avoids error messages on shutdown.

Imported from OE commit 072cad0100fd828e7fee8f3fa3ade23e4306b394

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>