]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
14 years agoutil-macros: fix DEPENDS for nativesdk
Joshua Lock [Tue, 8 Mar 2011 18:20:27 +0000 (10:20 -0800)]
util-macros: fix DEPENDS for nativesdk

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate: Ensure the SRCURI fetcher cache is not used for sstate
Richard Purdie [Tue, 8 Mar 2011 19:07:24 +0000 (11:07 -0800)]
sstate: Ensure the SRCURI fetcher cache is not used for sstate

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosanity.bbclass: Check for /proc/sys/vm/mmap_min_addr to be >= 65536
Khem Raj [Tue, 8 Mar 2011 06:46:08 +0000 (22:46 -0800)]
sanity.bbclass: Check for /proc/sys/vm/mmap_min_addr to be >= 65536

* Now qemu can handle lower values we can chnage this sanity test
  to check of values if less than 65536

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosanity.bbclass: some multilib systems have symlink /lib -> /lib64
Martin Jansa [Thu, 3 Mar 2011 09:39:16 +0000 (10:39 +0100)]
sanity.bbclass: some multilib systems have symlink /lib -> /lib64

* ie gentoo has /lib -> /lib64
* old test assumed only /lib64 -> /lib

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopoky-default.inc: Change LINUXLIBCVERSION "2.6.36" -> "2.6.37.2"
Khem Raj [Thu, 3 Mar 2011 06:52:46 +0000 (22:52 -0800)]
poky-default.inc: Change LINUXLIBCVERSION "2.6.36" -> "2.6.37.2"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoadt: removed unused repo source and opkg options
Liping Ke [Tue, 8 Mar 2011 04:55:08 +0000 (12:55 +0800)]
adt: removed unused repo source and opkg options

opgk option --force-overwrite is only a workaround for bug #547.
Now this bug is gone, so remove this option.

and also, the first opkg repo source is not useful, remove it.

Signed-off-by: Liping Ke <liping.ke@intel.com>
14 years agocpio: Fix the SHA256 Checksum for the src tarball
Saul Wold [Tue, 8 Mar 2011 17:22:34 +0000 (09:22 -0800)]
cpio: Fix the SHA256 Checksum for the src tarball

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoconnman: add xuser to the dbus permission list
Dongxiao Xu [Fri, 4 Mar 2011 16:02:14 +0000 (00:02 +0800)]
connman: add xuser to the dbus permission list

Some platform (like atom-pc) enables rootless X,
thus the connman frontend run on it need the
permission to connect with connman by dbus.
This commit grants permission to xuser.

This fixes [YOCTO #779]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agoadt: Update to svn r596 to fix symbolic link issues
Liping Ke [Mon, 7 Mar 2011 05:10:42 +0000 (13:10 +0800)]
adt: Update to svn r596 to fix symbolic link issues

See the longlinksfix patch for details but symlinks over 100 chars long
were broken in sdk tarballs and its due to problems in the inbuilt tar in
libbb in opkg. svn r596 has already fixed the problem.

Signed-off-by: Liping Ke <liping.ke@intel.com>
14 years agolsb-live image: add lsb-live and lsb-sdk-live image types
Saul Wold [Mon, 7 Mar 2011 17:52:41 +0000 (09:52 -0800)]
lsb-live image: add lsb-live and lsb-sdk-live image types

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoattr: Added ncurses to depends
Saul Wold [Sun, 6 Mar 2011 17:12:04 +0000 (09:12 -0800)]
attr: Added ncurses to depends

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agogst-plugins: Added hal to DEPENDS
Saul Wold [Sun, 6 Mar 2011 17:12:25 +0000 (09:12 -0800)]
gst-plugins: Added hal to DEPENDS

Fixes [YOCTO #810]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoutil-macros: add libgpg-error to DEPENDS list
Saul Wold [Sat, 5 Mar 2011 19:49:41 +0000 (11:49 -0800)]
util-macros: add libgpg-error to DEPENDS list

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agolsbsetup: Fix LIC_FILE_CHKSUM
Saul Wold [Sat, 5 Mar 2011 02:13:50 +0000 (18:13 -0800)]
lsbsetup: Fix LIC_FILE_CHKSUM

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoelfutils: add bzip2 to DEPENDS
Saul Wold [Sat, 5 Mar 2011 19:49:00 +0000 (11:49 -0800)]
elfutils: add bzip2 to DEPENDS

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agolinuxdoc-tools-native: Fix build error with txt documentation
Scott Garman [Sat, 5 Mar 2011 14:20:53 +0000 (14:20 +0000)]
linuxdoc-tools-native: Fix build error with txt documentation

Disable building txt documentation. This is a temporary workaround,
as I have found an Ubuntu 10.10 system which throws errors during
building this that I'd like to ultimately fix. The error manifests
itself from the end of LinuxDocTools.pm with the following messages
during do_install:

| - Building txt docs
| Processing file ./guide
| troff: fatal error: can't find macro file s
|  fmt_txt::postASP: Empty output file, error when calling groff. Aborting...

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agotoolchain-script.bbclass: Added --sysroot to LDFLAGS.
Lianhao Lu [Sat, 5 Mar 2011 14:20:52 +0000 (14:20 +0000)]
toolchain-script.bbclass: Added --sysroot to LDFLAGS.

[YOCTO #808] Added --sysroot to LDFALGS in environment files.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agotask-poky-lsb: Remove new eglibc-* packages
Saul Wold [Sat, 5 Mar 2011 14:20:52 +0000 (14:20 +0000)]
task-poky-lsb: Remove new eglibc-* packages

Remove the new eglibc packages that were part of another
patch and did not get cleanup here.

(From OE-Core rev: bddd9012d2a6393afceef752389d0006f2e47681)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agolinux-yocto: update machine configurations
Bruce Ashfield [Fri, 4 Mar 2011 21:47:12 +0000 (16:47 -0500)]
linux-yocto: update machine configurations

Fixes [YOCTO #733, YOCTO #766, YOCTO: #801]

Updating the configuration for the routerstation pro and
mpc8315e-rdb to 2.6.37 variants of the RTC, USB and VFAT
filesystem types.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agotask-poky-lsb: Add packges needed by LSB Test Suite
Xiaofeng Yan [Fri, 4 Mar 2011 09:38:13 +0000 (17:38 +0800)]
task-poky-lsb: Add packges needed by LSB Test Suite

These packages added into task-poky-lsb.bb are absent in lsb-image during lsb test

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agocreat-lsb-image: Add some functions for creating a appropriate image to make lsb...
Xiaofeng Yan [Fri, 4 Mar 2011 10:42:17 +0000 (18:42 +0800)]
creat-lsb-image: Add some functions for creating a appropriate image to make lsb test

Add all pakcages from LSB Test Suite from linux foundation web.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agodocumentation/kernel-manual: Kernel manual Style changes
Scott Rifenbark [Thu, 3 Mar 2011 15:19:39 +0000 (09:19 -0600)]
documentation/kernel-manual:  Kernel manual Style changes

Modifications to the figure image (figures/kernel-title.png),
the heading styles (style.css), and the numbering system with
TOC display (yocto-project-kernel-manual-customization.xsl).

I updated the title image to display the manual title using
color #00557D, which coordinates with the Yocto Project website
color scheme.  I also updated the style sheet to use this same
color for the section headings.  This helps to set them off better
from the text.  Finally, I flipped the switch back on for this
manual to create chapter-specific table of contents sections
prior to each chapter and to include a all-inclusive TOC at the
beginning of the book.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/kernel-manual/figures/kernel-title.png: Updated title graphic
Scott Rifenbark [Tue, 1 Mar 2011 20:48:04 +0000 (14:48 -0600)]
documentation/kernel-manual/figures/kernel-title.png: Updated title graphic

I changed the font to Arial Narrow and inserted a better logo.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agox11vnc: fix the endian issue in mips for bug 782
Yu Ke [Fri, 4 Mar 2011 13:11:37 +0000 (21:11 +0800)]
x11vnc: fix the endian issue in mips for bug 782

x11vnc use LIBVNCSERVER_WORDS_BIGENDIAN to handle the endian, however
it is not set correctly when cross-compile for mips, thus x11vnc mips
does not work correctly.

meanwhile, x11vnc has the autconf macro AC_C_BIGENDIAN which can
handle the endian correctly. so this patch replace the
LIBVNCSERVER_WORDS_BIGENDIAN with WORDS_BIGENDIAN (generated by
AC_C_BIGENDIAN) to fix this issue.

this patch fix the bug [YOCTO #782]

this appraoch is suggested by Khem Raj

CC: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoqemu-script: Remove mmap_min_addr check
Zhai Edwin [Fri, 4 Mar 2011 11:32:18 +0000 (19:32 +0800)]
qemu-script: Remove mmap_min_addr check

qemu 0.13.0 can handle mmap_min_addr well, and patch to remove checks in
sanity.bbclass has already in oe-core mailinglist by Raj. This patch does
the same thing for qemu-script.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agotask-poky-lsb: add python-misc
Jingdong Lu [Fri, 4 Mar 2011 02:00:40 +0000 (10:00 +0800)]
task-poky-lsb: add python-misc

python-misc also needed by python-runtime test of LSB.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
14 years agohello-mod: add a module for testing module.bbclass
Darren Hart [Tue, 1 Mar 2011 22:18:32 +0000 (14:18 -0800)]
hello-mod: add a module for testing module.bbclass

The following patch creates a hello-mod recipe for building a trivial
out-of-tree kernel module, hello-mod.ko. This demonstrates the hostprogs
build modifications added to module.bbclass. When loaded and unloaded,
the module prints a simple string to the console to demonstrate it was
compiled correctly.

Tested on qemux86 poky-image-sato and beagleboard poky-image-minimal
(after adding hello-mod to the images).

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Gary Thomas <gary@mlbassoc.com>
14 years agomodule: build hostprogs for each module
Darren Hart [Tue, 1 Mar 2011 22:17:55 +0000 (14:17 -0800)]
module: build hostprogs for each module

This fixes [BUGID #241]

The kernel hostprogs are built for the host architecture. They should not be
deployed to the target, and they should not be included in an sstate package
which might get reused on a host of a different architecture.

As we don't build many out-of-tree modules, this patch takes the approach of
building the hostprogs as part of the module compile process with a
do_compile_prepend() routine in module.bbclass.

We don't have to clean the hostprogs as modules depend on the kernel being
populate_staging, so its done with the staging directory by the time we run.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Gary Thomas <gary@mlbassoc.com>
14 years agoLSB_Setup.sh:Install LSB Test Suite and set lsb test environment
Xiaofeng Yan [Fri, 4 Mar 2011 11:04:16 +0000 (19:04 +0800)]
LSB_Setup.sh:Install LSB Test Suite and set lsb test environment

Perfect some funtions for lsb test in yocto 1.0

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
14 years agodistrodata.bbclass: Get git repo tag information
Mei Lei [Fri, 4 Mar 2011 09:17:05 +0000 (17:17 +0800)]
distrodata.bbclass: Get git repo tag information

For those recipes which use git repo and have tag information, we can use tag to trace the version change. For other no tag recipes, we still use their
commit checksum to trace their version change.

Signed-off-by: Mei Lei <lei.mei@intel.com>
14 years agodistro tracking: Updates to Tracking infor for clutter and other changes
Saul Wold [Fri, 4 Mar 2011 17:14:48 +0000 (09:14 -0800)]
distro tracking: Updates to Tracking infor for clutter and other changes

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoFixup merge error and apply cleanups
Richard Purdie [Thu, 3 Mar 2011 23:45:25 +0000 (23:45 +0000)]
Fixup merge error and apply cleanups

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorpm: Fix linking error encountered in rpm-native
Khem Raj [Thu, 3 Mar 2011 16:09:06 +0000 (08:09 -0800)]
rpm: Fix linking error encountered in rpm-native

* This patch passes the correct LDFLAGS to account for
  additional dependencies of librpmio on libbeecrypt and libsyck
  and hence fixes the build error.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoqa.py: Fix a typo when evaluating bitsize
Mark Hatle [Thu, 3 Mar 2011 16:37:05 +0000 (10:37 -0600)]
qa.py: Fix a typo when evaluating bitsize

This should be setting a variable, not performing a comparison.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agopoky-env-internal: Add FETCH2 enablement
Mark Hatle [Thu, 3 Mar 2011 16:36:01 +0000 (10:36 -0600)]
poky-env-internal: Add FETCH2 enablement

We need to enable the new fetch2 implementation out of bitbake.  Otherwise
we get various errors about SRCPV issues.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agotask-poky-lsb: add chkconfig
Saul Wold [Thu, 3 Mar 2011 19:04:37 +0000 (11:04 -0800)]
task-poky-lsb: add chkconfig

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agorecipe: add slang from OE
Kang Kai [Thu, 3 Mar 2011 04:34:36 +0000 (12:34 +0800)]
recipe: add slang from OE

slang is the shared library for the S-Lang extension language,
and required by newt because of LSB command check

Signed-off-by: Kang Kai <kai.kang@windriver.com>
14 years agorecipe: add newt from OE
Kang Kai [Thu, 3 Mar 2011 04:32:01 +0000 (12:32 +0800)]
recipe: add newt from OE

newt is a library for text mode user interfaces, and required by
chkconfig because of LSB command test.

Signed-off-by: Kang Kai <kai.kang@windriver.com>