]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agocoreutils-6.9: fix man page building for the gplv2 recipe
Nitin A Kamble [Thu, 17 Mar 2011 17:25:04 +0000 (10:25 -0700)]
coreutils-6.9: fix man page building for the gplv2 recipe

Added a new patch:
   coreutils-6.9/fix_for_manpage_building.patch
And the target recipe now depends on the native recipe for the manpage
generation.

Similar fix may be needed to the GPLv3 version of this recipe.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agotoolchain-scripts.bbclass: Added --sysroot to CPPFLAGS.
Lianhao Lu [Fri, 18 Mar 2011 09:23:08 +0000 (17:23 +0800)]
toolchain-scripts.bbclass: Added --sysroot to CPPFLAGS.

[YOCTO #908] Added CPPFLAGS into the environment file and added
--sysroot to it.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agoslang: specify --x-includes to pass qa sanity check
Kevin Tian [Fri, 18 Mar 2011 09:32:09 +0000 (17:32 +0800)]
slang: specify --x-includes to pass qa sanity check

slang by default hardcodes a list of host dirs to search for X header
files, which may break qa sanity check. Use --x-includes to specify
sysroot as the fix.

Fix [YOCTO 907]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agobitbake.conf: add POKYBASE to BB_HASHBASE_WHITELIST
Kevin Tian [Fri, 18 Mar 2011 09:23:45 +0000 (17:23 +0800)]
bitbake.conf: add POKYBASE to BB_HASHBASE_WHITELIST

or else do_populate_lic varies its checksum when using different source
directory, and thus further impact do_package sstate reuse.

Fix [YOCTO 894]
Possibly Fix [YOCTO 903]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agogettext: Upgrade GPLv2 version to 0.16.1
Saul Wold [Thu, 17 Mar 2011 08:12:56 +0000 (01:12 -0700)]
gettext: Upgrade GPLv2 version to 0.16.1

This adds a couple of new patches for handling various autoconf
and autolocal issues.  It also hardcodes a GETTEXT_MACRO_VERSION
to 0.17 to match the native gettext.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopoky.conf: remove gnome-common from WHITELIST_GPLV3
Saul Wold [Thu, 17 Mar 2011 08:12:19 +0000 (01:12 -0700)]
poky.conf: remove gnome-common from WHITELIST_GPLV3

This was due to task-poky-extended pulling in qemu-config for
non-GPLv3 poky-image-basic

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopoky.conf: add additional Libraries to the LGPLv2 Whitelist
Saul Wold [Wed, 16 Mar 2011 20:53:36 +0000 (13:53 -0700)]
poky.conf: add additional Libraries to the LGPLv2 Whitelist

The ligcc and gcc-runtime both are LGPLv2 libraries although they
are part of the large GCC GPLv3 code. There is clearly called out
exceptions for these libraries.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopoky-image-basic: remove POKY_BASE_INSTALL
Saul Wold [Thu, 17 Mar 2011 07:47:06 +0000 (00:47 -0700)]
poky-image-basic: remove POKY_BASE_INSTALL

Removing POKY_BASE_INSTALL and replacing it with task-poky-boot,
effectively removes task-poky-extended which was pulling unwanted
recipes.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoextended tasks: move binutils from basic to lsb
Saul Wold [Wed, 16 Mar 2011 22:10:47 +0000 (15:10 -0700)]
extended tasks: move binutils from basic to lsb

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agognome-vfs: Force acl to be disabled since its not a dependency
Richard Purdie [Thu, 17 Mar 2011 12:30:57 +0000 (12:30 +0000)]
gnome-vfs: Force acl to be disabled since its not a dependency

Without this patch, if acl was build beforehand, the build could find
the library resulting in a non-deterministic build.

Sadly there is no --disable or --without option available so this
approach is the only mechanism available.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoADT: bug fix for nameing and do_patch sequence
Liping Ke [Thu, 17 Mar 2011 05:28:42 +0000 (13:28 +0800)]
ADT: bug fix for nameing and do_patch sequence

This patch is for fixing the x86-64 image name bug and also,
do_patch must be done before do_deploy.

Signed-off-by: Liping Ke <liping.ke@intel.com>
14 years agognu-config: Use perl from the environment, not a hardcoded path
Richard Purdie [Thu, 17 Mar 2011 11:44:11 +0000 (11:44 +0000)]
gnu-config: Use perl from the environment, not a hardcoded path

Using the hardcoded perl binary can cause conflict between the files in the native
sysroot and those of the build system perl. By using perl from the environment
we can at least ensure a consistent perl environment.

Patches taken from OE.dev commits:
be21179c5321bd0afb9221f020ac12ad75c86a3b gnu-config: use /usr/bin/env perl instead of /usr/bin/perl in gnu-configize.in
edcdefbf6e0675c1bcc1fc4f464f654223380e50 gnu-config: update also bindir change to replace /usr/bin/env instead of /usr/bin/perl

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agogtk+: remove per-machine gtk+ FULL_OPTIMIZATION in favor of tune-atom.inc
Darren Hart [Thu, 17 Mar 2011 03:17:52 +0000 (20:17 -0700)]
gtk+: remove per-machine gtk+ FULL_OPTIMIZATION in favor of tune-atom.inc

Now that the FULL_OPTIMIZATION for gtk+ has been enabled in the core
tune-atom.inc, it is no longer necessary to do so for every atom based
bsp.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Ke Yu <ke.yu@intel.com>
CC: Richard Purdie <richard.purdie@intel.com>
14 years agoatom-pc: work around gcc bug for core2
Darren Hart [Wed, 16 Mar 2011 21:50:57 +0000 (14:50 -0700)]
atom-pc: work around gcc bug for core2

Fixes [YOCTO #853]

Without these added optimization flags, the matchbox-panel (and possibly other)
applications would segfault. This patch applies the changes to all machines
derived from atom-pc.conf.

[Tweaked by RP to apply to gtk+ only]
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agom4: bring back GPLv2 version 1.4.9 of m4 recipe
Nitin A Kamble [Tue, 15 Mar 2011 13:36:54 +0000 (06:36 -0700)]
m4: bring back GPLv2 version 1.4.9 of m4 recipe

Note: Downgrading of m4 would require rebuilding of the autoconf
Fixed circular depedency with the newer autoconf

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agobison: bring back GPLv2 version 2.3 of bison recipe
Nitin A Kamble [Tue, 15 Mar 2011 13:37:25 +0000 (06:37 -0700)]
bison: bring back GPLv2 version 2.3 of bison recipe

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agodocumentation/adt-manual/adt-manual.xml: Updated front matter
Scott Rifenbark [Wed, 16 Mar 2011 16:36:48 +0000 (10:36 -0600)]
documentation/adt-manual/adt-manual.xml: Updated front matter

Changed the revision history box for the manual to state the release
and the release date.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/adt-eclipse.xml: Re-inserted Autotools plug-in requirement.
Scott Rifenbark [Wed, 16 Mar 2011 15:58:50 +0000 (09:58 -0600)]
documentation/adt-manual/adt-eclipse.xml: Re-inserted Autotools plug-in requirement.

Jessica flip-flopped on the need for the Autotools plug-in that was
removed from the manual.  I have re-inserted the instructions for adding
this plug-in in as part of the Eclipse set up.

14 years agosanity: detect if bitbake wrapper is not being used or pseudo is broken
Paul Eggleton [Wed, 16 Mar 2011 16:51:40 +0000 (16:51 +0000)]
sanity: detect if bitbake wrapper is not being used or pseudo is broken

* Shows a warning during sanity checking if the scripts/bitbake wrapper is
  not being used
* Check to see if pseudo is working during sanity checking, and if it
  isn't an error occurs (if we are using the wrapper script and pseudo
  has been built; otherwise it is a warning).

Fixes [YOCTO #653]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agosat-solver: Fix solution DB generation and general cleanup
Mark Hatle [Wed, 16 Mar 2011 22:15:09 +0000 (17:15 -0500)]
sat-solver: Fix solution DB generation and general cleanup

Uprev sat-solver to the latest git version.  This corrects the solv db
generation with RPM5.

Refactor the patches for RPM5 support, cleaning up components of the
cmake.patch for submission upstream.  (Also fix a problem remaining
in the upstream with a mismatched function name.)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoopenjade-native: Run make depend to ensure dependencies are correct and avoid paralle...
Richard Purdie [Wed, 16 Mar 2011 17:12:00 +0000 (17:12 +0000)]
openjade-native: Run make depend to ensure dependencies are correct and avoid parallel make failures

[YOCTO #877]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopackage.bbclass: Fix missing debug src files
Mark Hatle [Wed, 16 Mar 2011 02:57:55 +0000 (21:57 -0500)]
package.bbclass: Fix missing debug src files

The previous change used egrep instead of fgrep.  We need to use fgrep because
there are expression like syntaxes in some file names, we need exact matches.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agorpm: Disable repackage on upgrade/erasure by default
Mark Hatle [Wed, 16 Mar 2011 15:30:11 +0000 (10:30 -0500)]
rpm: Disable repackage on upgrade/erasure by default

[YOCTO #787]

Disable the repackage on upgrade/erase by default.  This removes the warning
message:

    error: cannot create %_repackage_dir /var/spool/repackage/1298783317

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agosat-solver: Add workaround for RPM 5 db construction
Mark Hatle [Wed, 16 Mar 2011 15:28:08 +0000 (10:28 -0500)]
sat-solver: Add workaround for RPM 5 db construction

The first time the database is created on an RPM5 system it works
correctly.  However any subsequent rebuilds cause an empty database to
occur.

The following is from Michael Schroeder <mls@suse.de>:
> rpmdb2solv contains a hack that makes it use the unchanged already
> converted packages. To do this, it needs to get the database id
> for every installed packages by reading the "Name" index. This
> somehow doesn't seem to work with rpm5.
>
> As a workaround you can add a "ref = 0;" line at the top of the
> repo_add_rpmdb() function in ext/repo_rpmdb.c.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agosat-solver: uprev to the latest version
Mark Hatle [Wed, 16 Mar 2011 03:03:33 +0000 (22:03 -0500)]
sat-solver: uprev to the latest version

Upgrade to the latest git version.  Also update the cmake.patch to enable
debugging in all configurations.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agolibzypp: Fix release query
Mark Hatle [Wed, 16 Mar 2011 03:01:50 +0000 (22:01 -0500)]
libzypp: Fix release query

Libzypp is looking for the "redhat-release" file and using that version
number to help adjust the system version.  This ensures that there is
something on the system that returns a correct value.

This patch is likely not necessary.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agorootfs_rpm.bbclass: Add additional system configuration to RPM space
Mark Hatle [Wed, 16 Mar 2011 02:59:16 +0000 (21:59 -0500)]
rootfs_rpm.bbclass: Add additional system configuration to RPM space

The additional configuration should have been there from the beginning.  The
purpose of these config files is to have a consistent Berkeley DB configuration
even if the underlying RPM version changes -- or the RPM macros change.

This likely would not cause any problems until we attempted an upgrade of
either BDB or RPM.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agooprofileui: upgrade to latest git version.
Lianhao Lu [Wed, 16 Mar 2011 02:09:22 +0000 (10:09 +0800)]
oprofileui: upgrade to latest git version.

[YOCTO #880] Upgrade to latest git version.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agopoky-image-basic: add ssh-server-openssh to IMAGE_FEATURES
Scott Garman [Sun, 13 Mar 2011 07:16:30 +0000 (23:16 -0800)]
poky-image-basic: add ssh-server-openssh to IMAGE_FEATURES

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agopoky-image-lsb: add ssh-server-openssh to IMAGE_FEATURES
Scott Garman [Sun, 13 Mar 2011 07:15:34 +0000 (23:15 -0800)]
poky-image-lsb: add ssh-server-openssh to IMAGE_FEATURES

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agopoky-image.bbclass: add ssh-server-dropbear to SATO_IMAGE_FEATURES
Scott Garman [Sun, 13 Mar 2011 07:12:49 +0000 (23:12 -0800)]
poky-image.bbclass: add ssh-server-dropbear to SATO_IMAGE_FEATURES

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agopoky-image.bbclass: add new IMAGE_FEATURES for ssh servers
Scott Garman [Sun, 13 Mar 2011 06:55:14 +0000 (22:55 -0800)]
poky-image.bbclass: add new IMAGE_FEATURES for ssh servers

Image recipes can now add their ssh server of choice by adding
ssh-server-dropbear or ssh-server-openssh to IMAGE_FEATURES.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agotask-poky-ssh-openssh: new task recipe for openssh ssh
Scott Garman [Sun, 13 Mar 2011 06:54:30 +0000 (22:54 -0800)]
task-poky-ssh-openssh: new task recipe for openssh ssh

This task can be used when IMAGE_FEATURES is set to
ssh-server-openssh.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agotask-poky-ssh-dropbear: new task recipe for dropbear ssh
Scott Garman [Sun, 13 Mar 2011 06:24:49 +0000 (22:24 -0800)]
task-poky-ssh-dropbear: new task recipe for dropbear ssh

This task can be used when IMAGE_FEATURES is set to
ssh-server-dropbear.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agotask-base, task-poky-basic, task-poky: Remove hard-coded references to dropbear
Scott Garman [Fri, 4 Mar 2011 22:03:02 +0000 (14:03 -0800)]
task-base, task-poky-basic, task-poky: Remove hard-coded references to dropbear

This is the first step in refactoring the SSH server selection to
be done in IMAGE_FEATURES instead of as hardcoded in these tasks.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoslang: export INST_LIB_DIR to fix compile problems
Kang Kai [Wed, 16 Mar 2011 06:41:51 +0000 (14:41 +0800)]
slang: export INST_LIB_DIR to fix compile problems

Export "INST_LIB_DIR" in do_install to slang/slsh to fix cross compile warnings
Fixes [YOCTO #812]

Add necessary files to run slsh.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
14 years agoformfactor: Assume HAVE_TOUCHSCREEN=0
Darren Hart [Wed, 16 Mar 2011 00:05:51 +0000 (17:05 -0700)]
formfactor: Assume HAVE_TOUCHSCREEN=0

If no machine specific formfactor is found, the formfactor config defaults
to HAVE_TOUCHSCREEN=1. The result is for the matchbox session to disable
the cursor. This can lead to a lot of churn sorting out why the cursor doesn't
appear: xorg bug, xorg driver bug, kernel drm driver bug, kms bug, many
of which appear when searching for invisible cursor on the web.

On the other hand, if a cursor appears on a touchscreen device, one is much
more likely to reach a correct conclusion: "I need to set HAVE_TOUCHSCREEN=1
in my custom machine formfactor config". Which likely exists or is needed for
other formfactor specific things such as dpi, screen size, rotation, etc.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
14 years agodocumentation/adt-manual/adt-eclipse.xml: Specified qemu options outside of brackets.
Scott Rifenbark [Tue, 15 Mar 2011 23:33:16 +0000 (17:33 -0600)]
documentation/adt-manual/adt-eclipse.xml: Specified qemu options outside of brackets.

Section 4.1.3.4 discusses custom options for when you want to run
a QEMU image.  Jessica felt that we needed to stress the fact that
the options "serial", "nographic", and "kvm" must all appear outside
of the angled brackets.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/adt-eclipse.xml: Removed Autotools plug-in requirement
Scott Rifenbark [Tue, 15 Mar 2011 23:26:53 +0000 (17:26 -0600)]
documentation/adt-manual/adt-eclipse.xml:  Removed Autotools plug-in requirement

Section 4.1.2 lists plug-ins that need to be installed prior to installing
the Yocto Plug-in for Eclipse.  I removed the Autotools plug-in
requirement per Jessica Zhang's instructions.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/adt-command.xml: Initial draft of command line chapter
Scott Rifenbark [Tue, 15 Mar 2011 23:15:49 +0000 (17:15 -0600)]
documentation/adt-manual/adt-command.xml:  Initial draft of command line chapter

This is the initial draft of the Using the Command Line chapter.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/adt-eclipse.xml: Initial draft for Eclipse chapter.
Scott Rifenbark [Tue, 15 Mar 2011 21:41:35 +0000 (15:41 -0600)]
documentation/adt-manual/adt-eclipse.xml:  Initial draft for Eclipse chapter.

This is the initial draft of the Eclipse chapter.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/adt-package.xml: Initial file
Scott Rifenbark [Tue, 15 Mar 2011 14:08:29 +0000 (08:08 -0600)]
documentation/adt-manual/adt-package.xml:  Initial file

This file is the initial XML file for the chapter on optionally
customizing the development packages installation.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/adt-prepare.xml: Initial draft of preparation chapter
Scott Rifenbark [Mon, 14 Mar 2011 23:47:21 +0000 (17:47 -0600)]
documentation/adt-manual/adt-prepare.xml:  Initial draft of preparation chapter

This commit is the initial draft of the preparation chapter (chapter 2).

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/adt-intro.xml: Initial text
Scott Rifenbark [Mon, 14 Mar 2011 22:28:55 +0000 (16:28 -0600)]
documentation/adt-manual/adt-intro.xml: Initial text

This commit is the initial text for the introduction chapter.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/style.css: Changed PNG file in the title page style
Scott Rifenbark [Mon, 14 Mar 2011 21:29:55 +0000 (15:29 -0600)]
documentation/adt-manual/style.css:  Changed PNG file in the title page style

The .aurthorgroup style uses a 'background-image' item to add the
book title image.  This had to be changed to 'figures/adt-title.png'
from 'figures/kernel-title.png' since it is for the ADT manual.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual: cleaned up labels in chapter files
Scott Rifenbark [Mon, 14 Mar 2011 21:27:51 +0000 (15:27 -0600)]
documentation/adt-manual:  cleaned up labels in chapter files

The initial chapters were failing to make due to duplicate section
identifiers that were created when I copied in the original files.
I gave each of the five chapter files (adt-command.xml, adt-eclipse.xml,
adt-intro.xml, adt-package.xml, and adt-prepare.xml) unique identifier
tags.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/Makefile: Initial Makefile
Scott Rifenbark [Mon, 14 Mar 2011 20:43:26 +0000 (14:43 -0600)]
documentation/adt-manual/Makefile:  Initial Makefile

These edits take the Makefile from the version I copied over from
the Kernel manual to create the initial version for the ADT Manual.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/adt-manual.xml: Initial file
Scott Rifenbark [Mon, 14 Mar 2011 20:38:54 +0000 (14:38 -0600)]
documentation/adt-manual/adt-manual.xml: Initial file

This is the initial file that the Makefile calls.  The changes in this
commit reflect edits taking it from the copied kernel manual version.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual/figures: Added title PNG file, deleted kernel title PNG...
Scott Rifenbark [Mon, 14 Mar 2011 20:29:07 +0000 (14:29 -0600)]
documentation/adt-manual/figures:  Added title PNG file, deleted kernel title PNG file.

I added the title PNG file and removed the existing (copied)
kernel title PNG file.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/adt-manual: New file structure for ADT Manual
Scott Rifenbark [Mon, 14 Mar 2011 20:19:44 +0000 (14:19 -0600)]
documentation/adt-manual:  New file structure for ADT Manual

I have added a new directory to documentation named adt-manual.
This directory holds a Figures folder, and the 9 files needed
for the ADT manual.  The book consists of five chapters:
adt-intro, adt-prepare, adt-package, adt-eclipse, and adt-command.
There is also a adt-manual.xml file called by the Makefile.
There is also a style.css file.  And finally, a adt-manual-customization.xsl
file to control numbering.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agomatchbox-desktop: add configure event handler to fix bug 658
Yu Ke [Sun, 6 Mar 2011 08:18:30 +0000 (16:18 +0800)]
matchbox-desktop: add configure event handler to fix bug 658

Bug658 - "the bottom icons on Applications and All screen are cut-off in qemu"

the reason is that desktop work area is not resized after window manager
decoration. so add configure event handler to resize the desktop work area
can fix this issue.

[YOCTO #658]

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agosend-pull-request: Fetch TO email address from git config if specified
Khem Raj [Sat, 12 Mar 2011 15:07:12 +0000 (07:07 -0800)]
send-pull-request: Fetch TO email address from git config if specified

Usually people using git send-email has git config sendmail.to
configured to the usual mailing list or person so we harness that
here.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agou-boot.inc: allow variable make targets
Chase Maupin [Tue, 15 Mar 2011 13:31:01 +0000 (08:31 -0500)]
u-boot.inc: allow variable make targets

* Later versions of u-boot sometimes have top level make targets
  such as u-boot.imx, u-boot.kwb, and for upcoming TI devices
  u-boot.ti.
* These targets define different calls to the mkimage tool to
  change the images created, such as changing the load address.
* This change allows recipes to change the default make target
  of "all" to something like u-boot.ti or u-boot.imx by setting
  the UBOOT_MAKE_TARGET variable.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agotune-atom.inc: Remove duplicate TARGET_ARCH entry to avoid ipk rootfs issues as temp...
Richard Purdie [Tue, 15 Mar 2011 20:24:28 +0000 (20:24 +0000)]
tune-atom.inc: Remove duplicate TARGET_ARCH entry to avoid ipk rootfs issues as temp workaround for problems pending a proper fix

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopackage-index.bb: Added missing dependencies.
Lianhao Lu [Tue, 15 Mar 2011 09:37:11 +0000 (17:37 +0800)]
package-index.bb: Added missing dependencies.

[YOCTO #871] Added missing dependencies to opkg-utils-native and
opkg-native.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agoxserver-nodm-init: add xuser to group audio
Dongxiao Xu [Tue, 15 Mar 2011 07:16:34 +0000 (15:16 +0800)]
xserver-nodm-init: add xuser to group audio

add rootless X user to group audio to access /dev/snd/*

Fixes [YOCTO #799]

CC: Ke Yu <ke.yu@intel.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agosstate.bbclass: always delete stamp files in sstate_clean
Paul Eggleton [Mon, 28 Feb 2011 13:29:15 +0000 (13:29 +0000)]
sstate.bbclass: always delete stamp files in sstate_clean

For safety, always delete the stamp files in sstate_clean regardless of
whether the manifest file exists or not.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agosstate.bbclass: avoid deleting unrelated stamp files
Paul Eggleton [Mon, 28 Feb 2011 13:16:41 +0000 (13:16 +0000)]
sstate.bbclass: avoid deleting unrelated stamp files

Avoid deleting stamp files whose names contain the current task's name as a
substring. This will be especially important for example if do_package_write
is ever made an sstate task (as it would previously have deleted the stamps
here for do_package_write_ipk etc.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agotask-poky-lsb: Add some packages required by lsb test suite
Xiaofeng Yan [Fri, 11 Mar 2011 10:03:06 +0000 (18:03 +0800)]
task-poky-lsb: Add some packages required by lsb test suite

Add packages gdk-pixbuf-loader-(bmp,ico,ani) to list task-poky-lsb.bb

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
14 years agokernel bbclass: split do_compile into do_compile and do_compile_modules
Koen Kooi [Tue, 15 Mar 2011 10:25:01 +0000 (11:25 +0100)]
kernel bbclass: split do_compile into do_compile and do_compile_modules

This allows recipes to insert a custom task in between building *Image and modules

>From OE .dev revision 615876fe218dc3feb4a3df9e6546a7b1a6376800

Signed-off-by: Koen Kooi <koen@openembedded.org>
Acked-by: Graeme Gregory <dp@xora.org.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agocreate-pull-request: switch URL from git.pokylinux.org/poky-contrib to git.openembedd...
Martin Jansa [Tue, 15 Mar 2011 10:07:22 +0000 (11:07 +0100)]
create-pull-request: switch URL from git.pokylinux.org/poky-contrib to git.openembedded.org/openembedded-core-contrib

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agoutil-linux: move remaining files from files directory to util-linux-2.17.2 for faster...
Martin Jansa [Mon, 7 Mar 2011 16:20:32 +0000 (17:20 +0100)]
util-linux: move remaining files from files directory to util-linux-2.17.2 for faster lookup

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agoutil-linux: remove unused files from util-linux-2.17.2 directory
Martin Jansa [Mon, 7 Mar 2011 16:18:48 +0000 (17:18 +0100)]
util-linux: remove unused files from util-linux-2.17.2 directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agoutil-linux: remove unused files from files directory
Martin Jansa [Mon, 7 Mar 2011 16:17:01 +0000 (17:17 +0100)]
util-linux: remove unused files from files directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agoqemux86-64: Enable latencytop and profiling (temporary)
Darren Hart [Mon, 14 Mar 2011 23:44:06 +0000 (16:44 -0700)]
qemux86-64: Enable latencytop and profiling (temporary)

Fixes [YOCTO #858] and [YOCTO #859]

common-pc-64.scc in the linux-yocto meta data omits latencytop and profiling
(but common-pc.scc includes them). The right fix is in common-pc-64.inc, but
this fix gets people people unblocked until Bruce can commit the proper fix to
linux-yocto.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Jessica Zhang <jessica.zhang@intel.com>
14 years agoown-mirrors.bbclass: Bring own-mirrors.bbclass from oe commit 0ef914b250df46a41348479...
Khem Raj [Sat, 12 Mar 2011 13:50:27 +0000 (05:50 -0800)]
own-mirrors.bbclass: Bring own-mirrors.bbclass from oe commit 0ef914b250df46a41348479446214575668943fb

below is the history on this class. Documentation for newly introduced SOURCE_MIRROR_URL
is already present in oe-core

commit 0ef914b250df46a41348479446214575668943fb
Author: Eric BENARD <eric@eukrea.com>
Date:   Wed Nov 3 13:28:54 2010 +0000

    own-mirrors.bbclass: allow mirroring of scm fetched packages

    this way, it's possible to setup a local webserver (for example
    using busybox httpd -p "8081" -h backuped_download_dir) serving
    a presiously fetched download directory and to build wihout the
    need for an internet access

    this can also be used when connected to know to know which packages
    are missing from the local mirror's directory (and thus are fetched
    from internet as a fallback), it's possible to run the server this way :
    busybox httpd -p "8081" -h backuped_download_dir -vv -f | grep -B 1  response:404
    to get the name of the missing packages.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
commit 1b661974e3f8f844f6ec4cdb7bb42cef9595b626
Author: Marcin Juszkiewicz <hrw@openembedded.org>
Date:   Sat Mar 10 14:10:06 2007 +0000

    own-mirrors.bbclass: added class which can be used to set PREMIRRORS from config
    - SOURCE_MIRROR_URL is new variable which point to source mirror which will be
      used before fetching from original SRC_URI location.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agonetbase: Upgrade version 4.44 to 4.45
Khem Raj [Sun, 13 Mar 2011 01:07:48 +0000 (17:07 -0800)]
netbase: Upgrade version 4.44 to 4.45

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agocairo_1.10.2: Fix DEPENDS to include glib-2.0
Beth Flanagan [Tue, 15 Mar 2011 00:59:23 +0000 (17:59 -0700)]
cairo_1.10.2: Fix DEPENDS to include glib-2.0

The autobuilder picked up cairo having a dependency on glib-2.0. Added glib-2.0 to DEPENDS.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
14 years agoUpdate SRC_URIs to use BPN instead of PN
Richard Purdie [Mon, 14 Mar 2011 22:33:13 +0000 (22:33 +0000)]
Update SRC_URIs to use BPN instead of PN

[YOCTO #860]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agodocumentation: Kernel Manual fixes
Tom Zanussi [Mon, 14 Mar 2011 05:36:28 +0000 (00:36 -0500)]
documentation: Kernel Manual fixes

Upgraded to reflect 1.0 usage rather than 0.90 usage, and some other
clarifications and minor changes.

[RP - added tweaks suggested by Darren Hart]
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agodocumentation: BSP Developer's Guide fixes
Tom Zanussi [Sun, 13 Mar 2011 06:01:51 +0000 (00:01 -0600)]
documentation: BSP Developer's Guide fixes

- use linux-yocto instead of linux-yocto-stable in examples
- change branch names to match linux-yocto usage
- remove outdated 'wrs' where it appears

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
14 years agopoky-qemu-internal: force oprofile into using timer interrupt mode for qemux86/qemux8...
Dexuan Cui [Mon, 14 Mar 2011 08:52:37 +0000 (16:52 +0800)]
poky-qemu-internal: force oprofile into using timer interrupt mode for qemux86/qemux86-64 for now

Currently oprofile's event based interrupt mode doesn't work(Bug #828) in
qemux86 and qemux86-64. We can use timer interrupt mode for now.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoadt: fix ppc/powerpcc naming bug
Liping Ke [Mon, 14 Mar 2011 09:43:22 +0000 (17:43 +0800)]
adt: fix ppc/powerpcc naming bug

for ipk files on ppc, the name should be powerpc. So does the
environment file name. For the tar file name, it should be ppc.
This patch is to correct the arch/machine name pair.
Related Bug#864

Signed-off-by: Liping ke <liping.ke@intel.com>
14 years agoqemux86-64: set qemux86_64 as package arch name
Qing He [Fri, 11 Mar 2011 10:36:22 +0000 (18:36 +0800)]
qemux86-64: set qemux86_64 as package arch name

thus allows rpmbuild to generated RPMs with the right architecture.

Signed-off-by: Qing He <qing.he@intel.com>
14 years agozypper: add machine arch support
Qing He [Mon, 14 Mar 2011 05:40:52 +0000 (13:40 +0800)]
zypper: add machine arch support

Since libzypp is now of ${MACHINE_ARCH}, change zypper to base
on this arch to.

Signed-off-by: Qing He <qing.he@intel.com>
14 years agolibzypp: add machine arch support
Qing He [Fri, 11 Mar 2011 09:16:36 +0000 (17:16 +0800)]
libzypp: add machine arch support

Signed-off-by: Qing He <qing.he@intel.com>
14 years agosat-solver: add machine arch support
Qing He [Thu, 10 Mar 2011 10:28:55 +0000 (18:28 +0800)]
sat-solver: add machine arch support

Signed-off-by: Qing He <qing.he@intel.com>
14 years agosanity.bbclass: Fix inverted mmap_min_addr logic
Richard Purdie [Sat, 12 Mar 2011 11:25:34 +0000 (03:25 -0800)]
sanity.bbclass: Fix inverted mmap_min_addr logic

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoperl: another set of parallel build fixes
Nitin A Kamble [Fri, 11 Mar 2011 18:08:01 +0000 (10:08 -0800)]
perl: another set of parallel build fixes

[YOCTO #784]

Imported more commits from the perl upstream tree

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoopenssh: allow the openssh meta package to be empty
Scott Garman [Fri, 11 Mar 2011 00:06:16 +0000 (16:06 -0800)]
openssh: allow the openssh meta package to be empty

This allows the openssh meta-package to be used in the
poky-ssh task. Otherwise there will be no package named
openssh to install during image creation.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agogcc-runtime: Fix dbg files
Mark Hatle [Thu, 10 Mar 2011 23:52:20 +0000 (17:52 -0600)]
gcc-runtime: Fix dbg files

In order to debug certain C++ items, you need the helper python
components.  These components should live in the -dbg package, ensure
they are added to the recipe.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agopackage_rpm: Fix rootfs generation
Mark Hatle [Thu, 10 Mar 2011 17:58:15 +0000 (11:58 -0600)]
package_rpm: Fix rootfs generation

[YOCTO #797]

During rootfs generation, if other RPM packages are being wrtten
this could cause a failure during the solvedb generation.  We
add a shared lock around the RPM package building.  This will allow
multiple RPM packages to continue to be written at the same time, but
prevent rootfs generation and RPM package generation at the same time.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agopackage.bbclass: Change the debug directory to avoid conflicts
Mark Hatle [Thu, 10 Mar 2011 17:51:26 +0000 (11:51 -0600)]
package.bbclass: Change the debug directory to avoid conflicts

The debug directory before was below ${WORKDIR}.  Unfortunately if
something was based on a git tree, it meant that "git" was the
directory name being preserved for usr/src/debug usage.  The patch
moves to using "${WORKDIR}/.." as the base, to ensure that the
WORKDIR naming is used in usr/src/debug.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agolinux-yocto: update to 2.6.37.3
Bruce Ashfield [Thu, 10 Mar 2011 05:29:34 +0000 (00:29 -0500)]
linux-yocto: update to 2.6.37.3

The 2.6.37.3 -stable update is available and can safely be merged
into the linux-yocto BSPs. This updated the SRCREVs of the BSP
branches to their new values.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agogst-plugins-good: remove dependency on hal
Paul Eggleton [Wed, 9 Mar 2011 01:29:37 +0000 (01:29 +0000)]
gst-plugins-good: remove dependency on hal

On Tuesday 08 March 2011 18:55:44 Richard Purdie wrote:
> > Saul Wold (3):
> >   gst-plugins: Added hal to DEPENDS
> >   attr: Added ncurses to depends
> >   lsb-live image: add lsb-live and lsb-sdk-live image types
>
> Merged. I'd like to drop the hal dependency if someone can send me a
> patch which disables it and everything works.

Patch attached to do this (against oe-core) .

Cheers,
Paul

From d6f52ebf89e8413f8e24bbc9ab58a0d0e5c45c09 Mon Sep 17 00:00:00 2001
From: Paul Eggleton <paul.eggleton@linux.intel.com>
Date: Wed, 9 Mar 2011 01:21:25 +0000
Subject: [PATCH] gst-plugins-good: remove dependency on hal

Disable hal usage at configure time to avoid dependency on hal (which is
deprecated). Only affects "halelements" which is of no use without hal.

Fixes [YOCTO #810] and reverts changes from c6b0c5720fa.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoautotools.bbclass: Fix automake file race issues
Richard Purdie [Thu, 10 Mar 2011 01:57:26 +0000 (17:57 -0800)]
autotools.bbclass: Fix automake file race issues

If one package is configuring when automake is built, the aclocal-VERSION
directory can be created or removed and this can confuse the configure
process.

Since we always run automake-native, it should always be using the
autoake-native aclocal directory for automake files which is the
result of this patch.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoDisable wget server side cache
Liping Ke [Thu, 10 Mar 2011 09:27:55 +0000 (17:27 +0800)]
Disable wget server side cache

We found some proxy server has wrong cache for long http file name.
It will cause fetching wrong ipk files from adt repo. To avoid this,
we use wget options --no-cache to disable all server side cache.
It will make the fetch speed slower, yet correct always.

Signed-off-by: Liping Ke <liping.ke@intel.com>
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agogst-plugins-bad: add missing dependency librsvg
Dongxiao Xu [Thu, 10 Mar 2011 05:51:20 +0000 (13:51 +0800)]
gst-plugins-bad: add missing dependency librsvg

Defaultly gst-plugins-bad will configured with option --enable-rsvg.
Besides, it will check if librsvg really exists by certain configure
code.

Therefore there will be a certain race condition that, during
librsvg's populate_sysroot, gst-plugins-bad's do_compile will find
some header files are still not exists though its configure says the
library is supported.

Explicitly add librsvg as gst-plugins-bad's dependency could solve
this issue.

This fixes [YOCTO #831]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agogcc/collect2: Added --sysroot support into collect2 in gcc.
Lianhao Lu [Thu, 10 Mar 2011 01:37:04 +0000 (09:37 +0800)]
gcc/collect2: Added --sysroot support into collect2 in gcc.

[YOCTO #815] Added --sysroot into COLLECT_GCC_OPTIONS to allow the
collect2 support user specifed sysroot.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agotinylogin: Fix rotate passwd check logic
Dongxiao Xu [Thu, 10 Mar 2011 04:33:26 +0000 (12:33 +0800)]
tinylogin: Fix rotate passwd check logic

Fix rotate passwd check logic which will write data into un-allocated
memory.

This fixes [YOCTO #735]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agogcc-runtime: Ensure that gcc-runtime builds a debug package
Mark Hatle [Wed, 9 Mar 2011 00:50:02 +0000 (18:50 -0600)]
gcc-runtime: Ensure that gcc-runtime builds a debug package

The gcc-runtime package will now create the proper dbg package.  The
RRECOMMENDS change is required to deal with the default.  This is
documented in bug 824.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agotelepathy-python: Fix parallel make issue.
Dongxiao Xu [Thu, 10 Mar 2011 01:15:06 +0000 (09:15 +0800)]
telepathy-python: Fix parallel make issue.

There is a missing dependency (creation of "src/_generated" directory)
of some tasks. Add it to fix the parallel make issue.

[YOCTO #783]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agodistro_tracking_fields.inc: update the info for oprofileui
Dexuan Cui [Wed, 9 Mar 2011 10:29:42 +0000 (18:29 +0800)]
distro_tracking_fields.inc: update the info for oprofileui

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agooprofileui: upgrade to the latest version maintained by the Yocto project
Dexuan Cui [Wed, 9 Mar 2011 10:28:22 +0000 (18:28 +0800)]
oprofileui: upgrade to the latest version maintained by the Yocto project

Oprofileui at http://labs.o-hand.com/oprofileui/ is not maintained now, so
we should change SRC_URI to the one maintained by the Yocto project. This
one includes new bugfixes.

This fixes [YOCTO #820]

[sgw: merged oprofile-git.inc back into .bb as suggested by Joshua]
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agogcc-configure-runtime.inc: Add immediate evaluation otherwise it ends in circular...
Khem Raj [Wed, 9 Mar 2011 05:40:48 +0000 (21:40 -0800)]
gcc-configure-runtime.inc: Add immediate evaluation otherwise it ends in circular dependency

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agodistutils-base: Only RDEPEND python-core on target packages
Martin Jansa [Sat, 5 Mar 2011 06:15:52 +0000 (06:15 +0000)]
distutils-base: Only RDEPEND python-core on target packages

* fixes ie setuptools, without this patch it RDEPENDs on python-core-native, which is not RPROVIDED by anything
* imported from OE 8377b8ec57f35b9e5b81a74c77f68fd6e02949c8

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agodebian.bbclass: call auto_libname in reverse sorted AUTO_LIBNAME_PKGS
Martin Jansa [Thu, 3 Mar 2011 22:46:09 +0000 (22:46 +0000)]
debian.bbclass: call auto_libname in reverse sorted AUTO_LIBNAME_PKGS

* see comment for reason why we need this
* more info:
  http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-February/029877.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agopython: add generate-manifest-2.6.py script and regen python-2.6-manifest.inc
Martin Jansa [Sat, 5 Mar 2011 17:01:47 +0000 (17:01 +0000)]
python: add generate-manifest-2.6.py script and regen python-2.6-manifest.inc

* imported from OE with sorted entries etc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agogcc-runtime: fix LSB library checks for libstdc++.so.6
Nitin A Kamble [Wed, 9 Mar 2011 09:26:13 +0000 (09:26 +0000)]
gcc-runtime: fix LSB library checks for libstdc++.so.6

[YOCTO #795]

When we run library check of LSB on qemux86 and qemuppc, we got some failures
about 'libstdc++.so.6'.

Test environment:
Platform: Qemu-x86, Qemu-ppc
lsb image: poky-image-lsb-qemux86-test.ext3(Feb 26th, auto-build server)
Library check of LSB: 4.1.0-1

The error log:
Did not find _ZNKSt5ctypeIcE8do_widenEPKcS2_Pc (GLIBCXX_3.4) in libstdc++.so.6
Unmangled symbol name: std::ctype<char>::do_widen(char const*, char const*,
char*) const
...

 found that some weak symbols ('W') change into local ('t') during link time
and be stripped. According to compiling log, the option
"-fvisibility-inlines-hidden" is used for gcc. And this option caused some weak
symbols change into local.

see http://bugzilla.pokylinux.org/show_bug.cgi?id=795 for more information on the bug.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoquilt: add autotools inheritance
Saul Wold [Wed, 9 Mar 2011 00:38:48 +0000 (16:38 -0800)]
quilt: add autotools inheritance

Signed-off-by: Saul Wold <sgw@linux.intel.com>