]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agolinux-igep: Add required LIC_FILES_CHKSUM
Gary Thomas [Tue, 18 Jan 2011 11:41:36 +0000 (04:41 -0700)]
linux-igep: Add required LIC_FILES_CHKSUM

[sgw@linux.intel.com: added linux-igep to synopsis]
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoopenssl: drop the valgrind patch that introduce a security hole
Ilya Yanok [Mon, 17 Jan 2011 22:36:17 +0000 (01:36 +0300)]
openssl: drop the valgrind patch that introduce a security hole

debian/valgrind.patch is the 'famous' Debian OpenSSL patch responsible
for everyone using Debian and derivatives changing their keys. All keys
generated with the patched OpenSSL are compromised so at very least we
have to drop this patch for good.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agolinux-dummy: add license and LIC_FILES_CHKSUM
Ilya Yanok [Mon, 17 Jan 2011 22:37:13 +0000 (01:37 +0300)]
linux-dummy: add license and LIC_FILES_CHKSUM

This package fails to build because of missing LIC_FILES_CHKSUM option.
This patch adds GPL and LIC_FILES_CHKSUM to this recipe.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agobase.bbclass: fix parse error on recipes with '++' in their name
Paul Eggleton [Tue, 18 Jan 2011 15:51:32 +0000 (15:51 +0000)]
base.bbclass: fix parse error on recipes with '++' in their name

Fixes "multiple repeat" or "nothing to repeat" errors when parsing recipes
with '++' in the file name.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agometa-rt: atom-pc support
Darren Hart [Tue, 28 Dec 2010 17:23:29 +0000 (09:23 -0800)]
meta-rt: atom-pc support

Add support for the atom-pc machine to the meta-rt layer. This has
been boot tested on the Intel n450 development board (Black Sand).

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agomachine/qemu: Allow for users to override the preferred kernel version
Darren Hart [Sat, 18 Dec 2010 00:05:25 +0000 (16:05 -0800)]
machine/qemu: Allow for users to override the preferred kernel version

The linux-yocto-rt kernel has been boot tested on qemux86-64. Unlock
the preferred provider for virtual/kernel so it can be selected and
used.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
14 years agometa-rt/poky-image-*rt: Add initial PREEMPT_RT image recipes
Darren Hart [Mon, 20 Dec 2010 23:05:33 +0000 (15:05 -0800)]
meta-rt/poky-image-*rt: Add initial PREEMPT_RT image recipes

Add poky-image-minimal-rt* image recipes. They are based on the minimal recipe
and add rt-tests for basic evaluation of a board with a PREEMPT_RT kernel.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agometa-rt/rt-tests: add the PREEMPT_RT rt-tests testsuite and recipes-tests directory
Darren Hart [Mon, 20 Dec 2010 23:03:40 +0000 (15:03 -0800)]
meta-rt/rt-tests: add the PREEMPT_RT rt-tests testsuite and recipes-tests directory

The rt-tests test-suite is a collection of tests meant to measure the latency
and determinism of the Linux PREEMPT_RT kernel.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agometa-rt: Initial PREEMPT_RT layer and kernel recipes
Darren Hart [Mon, 20 Dec 2010 23:02:40 +0000 (15:02 -0800)]
meta-rt: Initial PREEMPT_RT layer and kernel recipes

The meta-rt layer provides a preempt_rt kernel recipe
using the linux-yocto-stable git tree. It overrides
the virtual/kernel provider and defines the compatible
machines and per-machine SRCREVs. The initial layer
supports only qemux86-64.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agosanity.bbclass: Disable TERMCMD checking with noop patching
Mark Hatle [Tue, 18 Jan 2011 16:07:32 +0000 (10:07 -0600)]
sanity.bbclass: Disable TERMCMD checking with noop patching

If PATCHRESOLVE is set to "noop", then it isn't supposed to try and
resolve patches at all, and thus does not need TERMCMD. Therefore,
make sure Poky doesn't check for (and possibly fail at finding)
TERMCMD if it isn't needed in the first place.

Signed-off-by: Derek Buitenhuis <dbuitenh@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agolibtool: Adjusted content of various libtool packages.
Lianhao Lu [Tue, 18 Jan 2011 08:10:43 +0000 (16:10 +0800)]
libtool: Adjusted content of various libtool packages.

[BUGID #562] fixing:
1. Adjusted the content of various packages generated by libtool.
2. Added libtool-nativesdk into task-sdk-host.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agotask-poky-tools: move systemtap to machine specific tasks
Saul Wold [Tue, 18 Jan 2011 22:25:45 +0000 (14:25 -0800)]
task-poky-tools: move systemtap to machine specific tasks

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agosystemtap: new package
Tom Zanussi [Wed, 12 Jan 2011 22:42:33 +0000 (16:42 -0600)]
systemtap: new package

Add systemtap, a general-purpose script-directed dynamic tracing and
performance analysis tool for Linux.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
14 years agoqemuimagetest: Use same image during sanity testing instead of copying a new image...
Jiajun Xu [Tue, 18 Jan 2011 16:22:30 +0000 (00:22 +0800)]
qemuimagetest: Use same image during sanity testing instead of copying a new image for each case

To reduce the time on sanity testing, we remove variable SHARE_IMAGE and use
a new variable TEST_SERIALIZE in local.conf. It is by default set to 1. Poky
will copy and boot the to-be tested image for only once. It will not remove
or kill the image and test cases will be serialized executed against the same
image. If it is set to 0, image is always be copied for each cases, which takes
much time. I had a experiment that latest qemuppc sato only takes 7 minutes to
finish 9 sanity test cases, which takes more than 20 minutes before.

I also removed sanity case "boot" from sato/sdk/lsb because the other cases for
these targets already cover the check point of "boot".

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>

14 years agoapr-util: Update to 1.3.10
Zhai Edwin [Wed, 29 Dec 2010 07:11:46 +0000 (15:11 +0800)]
apr-util: Update to 1.3.10

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoapr: Update to 1.4.2
Zhai Edwin [Fri, 17 Dec 2010 02:00:20 +0000 (10:00 +0800)]
apr: Update to 1.4.2

Add buildconf_fix.patch of removing new libtool detection method to avoid config
failure.  Handled build/libtool.m4 & apr_rules.mk after configure to take place
of "top_builddir" by "apr_builddir", as these files would be reused by apr-util.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agogdk-pixbuf: Add 2.22.1 as new recipe
Zhai Edwin [Thu, 25 Nov 2010 06:42:43 +0000 (14:42 +0800)]
gdk-pixbuf: Add 2.22.1 as new recipe

Updating gtk+ to 2.23.2 requires gdk-pixbuf, which is originaly a module in gtk+.
Borrow hardcoded_libtool.patch from original gtk+, and add configure_fix.patch
to fix build failure in cross-compile environment.

As gdk-pixbuf is a stand-alone package now, gdk-pixbuf-csource-native can be
safely removed. So extend gdk-pixbuf with native support, and make related
packages depend on it.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agolinux-yocto: update validate_branches to detected invalid commit IDs
Bruce Ashfield [Mon, 17 Jan 2011 21:34:58 +0000 (16:34 -0500)]
linux-yocto: update validate_branches to detected invalid commit IDs

The previous implementation of invalid commit ID checks would
error early when a bad object was detected. Rather than changing
to set +e for the entire routine, we'll capture the output and
do an explicit check for a bad object and throw a useful error
message when it is detected.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-yocto: streamline new BSP creation
Bruce Ashfield [Fri, 14 Jan 2011 05:33:26 +0000 (00:33 -0500)]
linux-yocto: streamline new BSP creation

By setting BOOTSTRAP to the branch that should be used for a
currently undefined BSP a build can be completed and an
environment for streamlining the BSP created.

With the appropriate machine.conf, and a defconfig any MACHINE
can be built against and inherit the configuration of the
standard yocto kernel.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-yocto: beagleboard enablement
Bruce Ashfield [Tue, 11 Jan 2011 18:30:08 +0000 (13:30 -0500)]
linux-yocto: beagleboard enablement

Enable beagleboard support for 2.6.37. The only non-kernel related
change for the board is to update the serial console designation.

The Beagleboard use omap serial driver, so we replace ttyS2 with ttyO2.
This is described in following link:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg40838.html

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Liming Wang <liming.wang@windriver.com>
14 years agobitbake/utils.py: Teach unlockfile about shared mode lockfiles
Richard Purdie [Wed, 19 Jan 2011 13:30:14 +0000 (13:30 +0000)]
bitbake/utils.py: Teach unlockfile about shared mode lockfiles

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate.bbclass: Ensure clean/setscene sstate functions run under appropriate locking
Richard Purdie [Wed, 19 Jan 2011 11:48:55 +0000 (11:48 +0000)]
sstate.bbclass: Ensure clean/setscene sstate functions run under appropriate locking

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopackage.bbclass: Take a shared lock when reading to improve do_package parallelism
Richard Purdie [Wed, 19 Jan 2011 11:04:15 +0000 (11:04 +0000)]
package.bbclass: Take a shared lock when reading to improve do_package parallelism

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/utils.py: Add option of holding shared lockfiles
Richard Purdie [Wed, 19 Jan 2011 11:01:54 +0000 (11:01 +0000)]
bitbake/utils.py: Add option of holding shared lockfiles

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopsplash_svn.bb: Change poky boot logo to yocto logo
Mei Lei [Sun, 16 Jan 2011 13:34:05 +0000 (21:34 +0800)]
psplash_svn.bb: Change poky boot logo to yocto logo

Change the boot logo to yocto logo

Signed-off-by:Mei Lei <lei.mei@intel.com>

14 years agodistro-tracking: update manual checking
Saul Wold [Tue, 18 Jan 2011 08:04:17 +0000 (00:04 -0800)]
distro-tracking: update manual checking

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopuzzles: SRC_URI Checksum disabled
Saul Wold [Sun, 16 Jan 2011 22:06:24 +0000 (14:06 -0800)]
puzzles: SRC_URI Checksum disabled

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agodocumentation/yocto-project-qs: Updated the Packages section.
Scott Rifenbark [Fri, 14 Jan 2011 19:10:04 +0000 (11:10 -0800)]
documentation/yocto-project-qs:  Updated the Packages section.

Added the packages autoconf and automake to both the Debeian-based
host and the RPM-based host example commands.  During a fresh
development host system test run I found these packages were
necessary to develop Yocto projects using Eclipse IDE.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoWorkaround issue with latest version of pseudo.
Mark Hatle [Fri, 14 Jan 2011 20:37:59 +0000 (14:37 -0600)]
Workaround issue with latest version of pseudo.

The latest version of pseudo occasionally caches on an execvp.  This should
resolve the issue.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agopseudo: Update to the latest upstream version
Mark Hatle [Fri, 14 Jan 2011 00:19:29 +0000 (18:19 -0600)]
pseudo: Update to the latest upstream version

Update pseudo to the latest version to resolve a number of optimization defects.

The problems were present on both 64-bit and 32-bit systems, but generally only
caused issues on 32-bit hosts.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoxserver-xf86-dri-lite: upgrade to 1.9.3
Yu Ke [Sun, 16 Jan 2011 08:06:51 +0000 (16:06 +0800)]
xserver-xf86-dri-lite: upgrade to 1.9.3

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agomesa: add mesa 7.8.2
Yu Ke [Fri, 14 Jan 2011 09:05:33 +0000 (17:05 +0800)]
mesa: add mesa 7.8.2

The latest mesa 7.10 has dependency on GPLv3 library talloc, so it is still necessary to keep one old non-GPLv3 mesa.And the latest non-GPLv3 version is mesa 7.8.2, so this patch add it.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agomesa-glsl: add mesa glsl 7.8.2
Yu Ke [Fri, 14 Jan 2011 15:13:37 +0000 (23:13 +0800)]
mesa-glsl: add mesa glsl 7.8.2

mesa glsl is required by mesa 7.8.2, so add it.

Signed-off-by: Yu Ke <ke.y@intel.com>
14 years agomesa: upgrade to mesa 7.10
Yu Ke [Fri, 14 Jan 2011 08:39:59 +0000 (16:39 +0800)]
mesa: upgrade to mesa 7.10

- add SRC_URI checksum
- remove the DEFAULT_PREFERENCE for atom_pc, since mesa 7.10 has dependency on GPLv3 talloc. the latest non-GPLv3 one is mesa 7.8.2, atom_pc can use that vesion.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agocairo: upgrade to 1.10.2
Yu Ke [Fri, 14 Jan 2011 08:26:38 +0000 (16:26 +0800)]
cairo: upgrade to 1.10.2

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoxf86-video-intel: upgrade to 2.14.0
Yu Ke [Fri, 14 Jan 2011 08:22:13 +0000 (16:22 +0800)]
xf86-video-intel: upgrade to 2.14.0

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoxwininfo: upgrade to 1.1.1
Yu Ke [Fri, 14 Jan 2011 08:07:07 +0000 (16:07 +0800)]
xwininfo: upgrade to 1.1.1

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agolibdrm: upgrade to 2.4.23
Yu Ke [Fri, 14 Jan 2011 07:56:34 +0000 (15:56 +0800)]
libdrm: upgrade to 2.4.23

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoxf86-input-synaptics: upgrade to 1.3.0
Yu Ke [Fri, 14 Jan 2011 06:47:07 +0000 (14:47 +0800)]
xf86-input-synaptics: upgrade to 1.3.0

- update license checksum due to commit "COPYING: add three missing authors listed in synaptics.c". the license type is unchanged.
- Pass correct "sdkdir" value for cross compiling

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoxf86-input-evdev: upgrade to 2.6.0
Yu Ke [Fri, 14 Jan 2011 06:41:22 +0000 (14:41 +0800)]
xf86-input-evdev: upgrade to 2.6.0

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoxkbcomp: upgrade to 1.2.0
Yu Ke [Fri, 14 Jan 2011 04:18:50 +0000 (12:18 +0800)]
xkbcomp: upgrade to 1.2.0

- also pick one patch from upstream to fix the cross compiling error during the do_configure. it can be safely removed in the next upgrade.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoxf86-input-keyboard: upgrade to 1.5.0
Yu Ke [Fri, 14 Jan 2011 04:14:11 +0000 (12:14 +0800)]
xf86-input-keyboard: upgrade to 1.5.0

- update license checksum due to commit "Sun's copyrights now belong to Oracle". the license type is unchanged.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoxdpyinfo: upgrade to 1.2.0
Yu Ke [Fri, 14 Jan 2011 04:00:06 +0000 (12:00 +0800)]
xdpyinfo: upgrade to 1.2.0

- update license checksume due to the commit "COPYING: replace stub with actual copyright notice". it provide more accurate license info. the license type is unchanged.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agomkfontscale: upgrade to 1.0.8
Yu Ke [Fri, 14 Jan 2011 03:42:11 +0000 (11:42 +0800)]
mkfontscale: upgrade to 1.0.8

- update license checksum, due to commit "Sun's copyrights now belong to Oracle". the license type is not changed.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoxprop: upgrade to 1.2.0
Yu Ke [Fri, 14 Jan 2011 03:32:59 +0000 (11:32 +0800)]
xprop: upgrade to 1.2.0

- LICENSE_CHECKSUM changed due to the commit "COPYING: replace stub with copyright notices". this commit add more accurate license info, and the license type is still MIT-X.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agobigreqsproto: upgrade to 1.1.1
Yu Ke [Fri, 14 Jan 2011 03:21:23 +0000 (11:21 +0800)]
bigreqsproto: upgrade to 1.1.1

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoxinit: upgrade to 1.3.0
Yu Ke [Fri, 14 Jan 2011 03:15:09 +0000 (11:15 +0800)]
xinit: upgrade to 1.3.0

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agomkfontdir: upgrade to 1.0.6
Yu Ke [Thu, 13 Jan 2011 07:37:33 +0000 (15:37 +0800)]
mkfontdir: upgrade to 1.0.6

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoxhost: upgrade to 1.0.4
Yu Ke [Thu, 13 Jan 2011 07:29:28 +0000 (15:29 +0800)]
xhost: upgrade to 1.0.4

- LICENSE checksum changes due to that "Sun's copyrights now belong to Oracle". it is corp name change only, the license is still MIT-X.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agotask-sdk-host: add libtool-nativesdk to meta-toolchain
Saul Wold [Sun, 16 Jan 2011 17:08:02 +0000 (09:08 -0800)]
task-sdk-host: add libtool-nativesdk to meta-toolchain

This address [BUGID #652]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agometa-environment.bb: fix comments typos
Otavio Salvador [Tue, 18 Jan 2011 12:44:49 +0000 (10:44 -0200)]
meta-environment.bb: fix comments typos

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake: Introduce stamp-extra-info task flag into stamp filenames
Dongxiao Xu [Tue, 18 Jan 2011 08:18:18 +0000 (16:18 +0800)]
bitbake: Introduce stamp-extra-info task flag into stamp filenames

For certain tasks, we need additional information in build stamp file
other than the task name and file name. stamp-extra-info is introduced as
a task flag which is appended to the stamp file name.

[Code simplifcations/tweaks from Richard]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopoky-init-build-env: unset BBPATH
Otavio Salvador [Tue, 18 Jan 2011 00:12:38 +0000 (22:12 -0200)]
poky-init-build-env: unset BBPATH

When using OpenEmbedded and Yocto I had it previously set to OE and
this made bitbake to get confused. This was difficult to figure out
and then it seems safer and cleaner if the script unset it to avoid
this confusing behaviour.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/build.py: Allow FuncFailed error to have an optional message
Richard Purdie [Mon, 17 Jan 2011 23:54:11 +0000 (23:54 +0000)]
bitbake/build.py: Allow FuncFailed error to have an optional message

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agostaging: relocate *.la paths in destination dirs
Dongxiao Xu [Thu, 13 Jan 2011 13:54:25 +0000 (21:54 +0800)]
staging: relocate *.la paths in destination dirs

Keep the la files in source directories unchanged,
and do relocation in destination directories (sysroot-destdir).

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agolibc-package.bbclass: should not rm scsi/*.h
Dexuan Cui [Sat, 15 Jan 2011 10:50:14 +0000 (18:50 +0800)]
libc-package.bbclass: should not rm scsi/*.h

{e}glibc should install the scsi/*.h files, which are needed by hal.
Currently hal can build because eglibc-initial (which has its own do_install)
installs the files. In future eglibc will have its own sysroot, so hal
won't build.

BTW: in OE side, eglibc's do_install also doesn't remove the files.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolibgcc: use the new recipe (rather than gcc-runtime) to install libgcc_s.so* and...
Dexuan Cui [Sat, 15 Jan 2011 10:47:50 +0000 (18:47 +0800)]
libgcc: use the new recipe (rather than gcc-runtime) to install libgcc_s.so* and crt*.o

Currently gcc-runtime installs the files, but actually gcc-runtime's
do_configure checks if the files are available, so before we build gcc-runtime,
we should have some recipe install the files first! -- currently
gcc-cross-intermediate actually does that(gcc-cross also installs the files,
but it installs into the gcc-build-internal* directory), but
gcc-cross-intermediate will have its own sysroot in future, after that,
gcc-runtime won't build. So let us add this new target recipe and move the
installation of the files from gcc-runtime into it.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolinux-yocto: enable arch ARM config settings for KARCH based boards
Bruce Ashfield [Mon, 17 Jan 2011 18:14:46 +0000 (13:14 -0500)]
linux-yocto: enable arch ARM config settings for KARCH based boards

The switch to KARCH meant that the arch arm settings were not
being applied to all boards. This commit adds the new option
along with the existing one to cover all boards.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-yocto-stable: add atom-pc preempt_rt support
Bruce Ashfield [Fri, 14 Jan 2011 05:41:40 +0000 (00:41 -0500)]
linux-yocto-stable: add atom-pc preempt_rt support

Updating the SRCREV to capture this commit to the 2.6.34 kernel:

    linux-2.6-windriver: atom-pc-preempt_rt meta-data

    The following patch adds support for the preempt_rt kernel type
    for the atom-pc machine. It should be applied to the wrs_meta
    branch.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-yocto: add systemtap config to -stable and -dev kernels
Bruce Ashfield [Fri, 14 Jan 2011 05:29:15 +0000 (00:29 -0500)]
linux-yocto: add systemtap config to -stable and -dev kernels

Enable the parameters required for systemtap for all BSPs based
off the standard kernel type.

CONFIG_KPROBES=y
CONFIG_RELAY=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_FS=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agobitbake/build.py: Rename message field to avoid DeprecationWarning: BaseException...
Richard Purdie [Mon, 17 Jan 2011 15:52:06 +0000 (15:52 +0000)]
bitbake/build.py: Rename message field to avoid DeprecationWarning: BaseException.message warning

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoperl-native: Ensure the wrapper appends to any existing PERL5LIB
Richard Purdie [Mon, 17 Jan 2011 15:15:13 +0000 (15:15 +0000)]
perl-native: Ensure the wrapper appends to any existing PERL5LIB

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolinux-yocto: hard-code NO_LIBPERL/NO_LIBPYTHON
Tom Zanussi [Fri, 14 Jan 2011 22:33:05 +0000 (16:33 -0600)]
linux-yocto: hard-code NO_LIBPERL/NO_LIBPYTHON

ExtUtils::Embed ccopts is getting the host's -I/usr/local/include and
using it to compile perf, which results in a compilation error that
started appearing just recently.

This turns the code that makes use of ExtUtils::Embed off and simply
hard-codes NO_LIBPERL.

It does the same for LIBPYTHON while we're at it, since it probably
suffers from a similar underlying problem and just by chance hasn't
broken anything yet.

This will be re-enabled after I familiarize myself with the perf
recipe and am able to create a proper fix.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
14 years agopuzzles: Update SRC_URI Checksum
Saul Wold [Fri, 14 Jan 2011 16:10:03 +0000 (08:10 -0800)]
puzzles: Update SRC_URI Checksum

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoqemuimagetest: Use the same image in sanity testing to fix the timeout issue on autob...
Jiajun Xu [Thu, 13 Jan 2011 01:46:14 +0000 (09:46 +0800)]
qemuimagetest: Use the same image in sanity testing to fix the timeout issue on autobuilder

Fixes [BUGID #595]

Because of the QEMU booting slowness issue(see bug #646 and #618), autobuilder
may suffer a timeout issue when running sanity test. We introduce variable
SHARE_IMAGE here to fix the issue. It is by default set to 1. Poky will copy
latest built-out image and keep using it in sanity testing. If it is set to 0,
latest built-out image will be copied and tested for each case, which will take
much time.

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>

14 years agoexternal-python-tarball: add LIC_FILES_CHKSUM
Koen Kooi [Fri, 14 Jan 2011 12:10:38 +0000 (13:10 +0100)]
external-python-tarball: add LIC_FILES_CHKSUM

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoimage.bbclass: Use the dedicated BB_WORKERCONTEXT, not bitbake internals to detect...
Richard Purdie [Fri, 14 Jan 2011 11:57:18 +0000 (11:57 +0000)]
image.bbclass: Use the dedicated BB_WORKERCONTEXT, not bitbake internals to detect context

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoglib-2.0: Fix path problems with libtool 2.4
Richard Purdie [Thu, 13 Jan 2011 15:47:59 +0000 (15:47 +0000)]
glib-2.0: Fix path problems with libtool 2.4

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoinsane.bbclass: Make sure QA issues are reported as warnings
Richard Purdie [Thu, 13 Jan 2011 15:47:14 +0000 (15:47 +0000)]
insane.bbclass: Make sure QA issues are reported as warnings

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agodpkg: Add dependency on perl since otherwise the module can be installed to an incorr...
Richard Purdie [Thu, 13 Jan 2011 01:14:59 +0000 (01:14 +0000)]
dpkg: Add dependency on perl since otherwise the module can be installed to an incorrect directory leading to build failures

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agokernel.bbclass: Remove a binary generated by recent kernel versions
Richard Purdie [Wed, 12 Jan 2011 17:30:44 +0000 (17:30 +0000)]
kernel.bbclass: Remove a binary generated by recent kernel versions

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoperl-native: Wrap the perl binary and set the LIB directory correctly removing the...
Richard Purdie [Wed, 12 Jan 2011 17:29:40 +0000 (17:29 +0000)]
perl-native: Wrap the perl binary and set the LIB directory correctly removing the need to hardcode the paths and rebuild it

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake.conf: Whitelist FILESPATH as a variable not to include in taskhashes
Richard Purdie [Wed, 12 Jan 2011 16:04:32 +0000 (16:04 +0000)]
bitbake.conf: Whitelist FILESPATH as a variable not to include in taskhashes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake.conf: Whitelist MACHINE variable in PACKAGE_ARCHS
Richard Purdie [Wed, 12 Jan 2011 16:00:57 +0000 (16:00 +0000)]
bitbake.conf: Whitelist MACHINE variable in PACKAGE_ARCHS

PACKAGE_ARCHS represents all compatible architectures for a given machine.
It makes no sense for this variable to change any task checksums as it doesn't
inject any machine dependency into any known task. Multimachine means machine
specific packages will be detected through other variables.

Before this patch, even native packaging tasks were ending up being marked as
machine specific.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/siggen.py: Fix whitelisted variable handling
Richard Purdie [Wed, 12 Jan 2011 15:58:48 +0000 (15:58 +0000)]
bitbake/siggen.py: Fix whitelisted variable handling

Even when a variable was whitelisted, any dependencies of that variable
could still creep into the task hash due to the way the whitelisting
code worked. This patch changes thing to ensure that when whitelisted,
that whitelisting applies to the variable and any dependencies it has.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agokernel bbclass: add 'perf' to kernel-modules blacklist
Koen Kooi [Wed, 12 Jan 2011 14:42:46 +0000 (15:42 +0100)]
kernel bbclass: add 'perf' to kernel-modules blacklist

This makes 'kernel-modules' installable again when perf isn't enabled in the kernel config

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobuild: remove duplicate import of utils
Bernhard Reutner-Fischer [Mon, 10 Jan 2011 15:32:56 +0000 (16:32 +0100)]
build: remove duplicate import of utils

(Bitbake rev: 86c6434f093ce5e55d1febfb424a8e595ffc2d17)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years ago*: use utils.remove() some more
Bernhard Reutner-Fischer [Mon, 10 Jan 2011 22:05:19 +0000 (23:05 +0100)]
*: use utils.remove() some more

(Bitbake rev: d3489b141cac1197324661680fe38b8a88bc49b4)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agocodeparser: fix spacing in diagnostic messages
Bernhard Reutner-Fischer [Tue, 11 Jan 2011 18:21:55 +0000 (19:21 +0100)]
codeparser: fix spacing in diagnostic messages

(Bitbake rev: 8c5555f5ed6d61db57de80d2820c8cec64a27239)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/knotty.py: Ensure task note messages are only surpressed at default log levels
Richard Purdie [Wed, 12 Jan 2011 13:45:39 +0000 (13:45 +0000)]
bitbake/knotty.py: Ensure task note messages are only surpressed at default log levels

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoAdding check for DL_DIR permissions: sanity.bbclass
Beth Flanagan [Wed, 5 Jan 2011 01:22:45 +0000 (17:22 -0800)]
Adding check for DL_DIR permissions: sanity.bbclass

Check to ensure that DL_DIR is set and that if it exists that it
is user writeable.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
14 years agobitbake/goggle: don't drop events
Joshua Lock [Tue, 11 Jan 2011 14:23:24 +0000 (14:23 +0000)]
bitbake/goggle: don't drop events

We had a logic inversion that meant we where dropping quite a
significant number of events on the floor.... Fixed!

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobitbake/depexp: closing progress dialog kills gui
Joshua Lock [Mon, 10 Jan 2011 14:45:07 +0000 (14:45 +0000)]
bitbake/depexp: closing progress dialog kills gui

It seems safe to assume a user hitting the close button
on the dialog wants to kill the whole UI.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobitbake/goggle: closing the progress dialog kills the UI
Joshua Lock [Mon, 10 Jan 2011 14:37:03 +0000 (14:37 +0000)]
bitbake/goggle: closing the progress dialog kills the UI

It's unlikely that someone wants to close the progress dialog
yet leave the UI (and BitBake process) running, so hook up
the progress dialogs delete-event to exit gtk.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobitbake/uievent: fix queueing of events for xmlrpc before UI has loaded
Joshua Lock [Wed, 5 Jan 2011 19:23:46 +0000 (19:23 +0000)]
bitbake/uievent: fix queueing of events for xmlrpc before UI has loaded

The recent change to Queue up events before the UI is spawned (in
26eda933379801ef1c8b4b09e67d14f498cd3813) broke the xmlrpc server because the
uievent implementation of BBUIEventQueue expects pickled strings for its
queue_event() method.

This is because the RPC exposed event.send() method must accept pickled
strings, but for xmlrpc event.send() is just mapped to queue_event().

Work around this by adding a send_event method which unpickles strings and
hands them off to queue_event() which can then be used for the remapping.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agometa-environment: Remove c++ include dir from CXXFLAGS.
Lianhao Lu [Wed, 12 Jan 2011 02:05:18 +0000 (10:05 +0800)]
meta-environment: Remove c++ include dir from CXXFLAGS.

[BUGID #651]. c++ include dir is no longer needed in the environment
files due to commit f13cb20.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agowpa-supplicant 0.7.3: fix dbus service activation
Koen Kooi [Sat, 8 Jan 2011 10:17:50 +0000 (11:17 +0100)]
wpa-supplicant 0.7.3: fix dbus service activation

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agowpa-supplicant 0.7: fix GNU HASH QA issue
Koen Kooi [Fri, 7 Jan 2011 16:36:04 +0000 (17:36 +0100)]
wpa-supplicant 0.7: fix GNU HASH QA issue

The recipe was unsetting LDFLAGS, resulting in:

NOTE: QA Issue: No GNU_HASH in the elf binary: '/OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/wpa-supplicant-0.7.3-r0/packages-split/wpa-supplicant/usr/sbin/wpa_supplicant'

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agobbvars.py: add a script to look for undocumented variables
Darren Hart [Tue, 11 Jan 2011 23:29:58 +0000 (15:29 -0800)]
bbvars.py: add a script to look for undocumented variables

bbvars.py will compare recipes in meta directories with documentation files
and report on variables that don't appear to be documented. It reports the
number of times a variable is used as well as any doctags present in the
documentation config file.

The output of this is intended to aid in determining where documentation may
be lacking, but it is not perfect, and does generate some false positives. An
experienced eye and careful attention to count and doctag should be applied to
the results.

$ ./bbvars.py -d ../../documentation/poky-ref-manual/poky-ref-manual.html -m ../../meta -t ../../meta/conf/documentation.conf -T  | head -n 10
Found 1413 undocumented bb variables (out of 1578):
VARIABLE                              COUNT DOCTAG
===================================================
BUILD_ARCH                            4     The name of the building architecture. E.g. i686.
BUILD_CC_ARCH                         2     FIXME
BUILD_PREFIX                          4     FIXME
BUILD_SYS                             13    FIXME
BUILD_VENDOR                          2     FIXME
CACHE                                 1     The directory holding the cache of the metadata.
COMPATIBLE_HOST                       19    A regular expression which matches the HOST_SYS names supported by the package/file. Failure to match will cause the file to be skipped by the parser.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoadt-intaller feature implementation, including the bitbake recipe file for creating...
Liping Ke [Tue, 4 Jan 2011 07:21:40 +0000 (23:21 -0800)]
adt-intaller feature implementation, including the bitbake recipe file for creating the intaller tar file under /tmp/deploy/sdk, and the adt-installer script files and config files, set the reference to adt repo entry empty before it's setup

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
14 years agolinux-yocto: add routerstation pro and mpc8315e-rdb support
Bruce Ashfield [Tue, 11 Jan 2011 18:08:29 +0000 (13:08 -0500)]
linux-yocto: add routerstation pro and mpc8315e-rdb support

The routerstation pro and mpc8315e-rdb have been validated
on 2.6.37 so we can switch their preference to linux-yocto
and update the machine compatibility to add them to the support
list.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agotrace-cmd: Bump SRCREV and recipe PV and PR values.
Darren Hart [Tue, 11 Jan 2011 20:38:11 +0000 (12:38 -0800)]
trace-cmd: Bump SRCREV and recipe PV and PR values.

Upgrade to 6c696cec3f264a9399241b6e648f58bc97117d49 which
includes fixes to the Makefile to allow for user override of
CC and AR via the environment as well as python SWIG wrapper
fixes.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
14 years agolibxml-simple-perl: fix build failure with perl 5.12.2
Nitin A Kamble [Wed, 5 Jan 2011 18:14:18 +0000 (10:14 -0800)]
libxml-simple-perl: fix build failure with perl 5.12.2

for hostperl needing to load .so files (for module scalar::util) the host/native
perl library path is placed 1st in the @INC with the -I parameter to perl.
  Otherwise hostperl gives error can not load module scalar::util.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agocpan.bbclass: add a new parameter EXTRA_PERLFLAGS
Nitin A Kamble [Wed, 5 Jan 2011 18:03:27 +0000 (10:03 -0800)]
cpan.bbclass: add a new parameter EXTRA_PERLFLAGS

We use host perl while building target perl modules. When some of the
prebuilt perl modules such as scalar::util are used in the build process
directly or indirectly, perl needs to load the arch specific .so library
file. If perl can not find the .so library files, then perl
tries to use the target pm files which ends up in circular perl module
depedancy causing build time perl invocation to fail.

Adding this new parameter viz EXTRA_PERLFLAGS to cpan.bbclass allows perl
module recipes to specify the location of such host .so files for hostperl,
so that build time invocation of perl does not fail.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agocpan.bbclass: use LIBDIR instead of DATADIR
Nitin A Kamble [Thu, 30 Dec 2010 20:27:54 +0000 (12:27 -0800)]
cpan.bbclass: use LIBDIR instead of DATADIR

perl 5.12.2 does not use /usr/share/perl path, and all that stuff goes
in /usr/lib/perl. This commit fixes cpan class which depends on
/usr/share/perl.

cpan.base/build.bbclass: change /usr/lib/perl5 to /usr/lib/perl

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoperl, perl-native: upgrade from 5.8.8 to 5.12.2
Nitin A Kamble [Wed, 22 Dec 2010 17:26:07 +0000 (09:26 -0800)]
perl, perl-native: upgrade from 5.8.8 to 5.12.2

Deleted these patches as they are part of the upstream code now.
    deleted:    files/perl-5.8.8-gcc-4.2.patch
    deleted:    perl-5.12.2/makedepend-dash.patch
    deleted:    perl-5.12.2/native-no-gdbminc.patch
    deleted:    perl-5.12.2/54_debian_perldoc-r.patch

And rebased these patches to the newer source code
    modified:   files/letgcc-find-errno.patch
    modified:   perl-5.12.2/Makefile.patch
    modified:   perl-5.12.2/asm-pageh-fix.patch
    modified:   perl-5.12.2/native-nopacklist.patch
    modified:   perl-5.12.2/native-perlinc.patch
    modified:   perl-5.12.2/Makefile.SH.patch
    modified:   perl-5.12.2/installperl.patch
    modified:   perl-5.12.2/perl-dynloader.patch
    modified:   perl-5.12.2/09_fix_installperl.patch

get patches from debian perl ver 5.12.2-2
   the fakeroot.diff patch from debian is conflicting with our
   Makefile.SH.patch, hence disabling the fakeroot patch

use newly created config files
   Created with current milestone branch on qemu machines
      modified:   config.sh
      modified:   config.sh-32
      modified:   config.sh-64

get some changes from oe's perl 5.10.1 recipe
   fix the Makefile.SH.patch use miniperl instead of perl
   import a OE 5.10.1 patch: uudmap_cross

fix install issues
   add /usr in the destdir, so that perl gets installed in
   /usr/bin/perl and not in /bin/perl

   link /usr/lib/perl to /usr/lib/perl5 so that operations with
   /usr/lib/perl path in them keep on working.

Fix/Improve perl packaging
   avoid perl-module-module-* kind of packages
   recreate perl-rdepends_5.12.2.inc file with new set of packages
   import from oe perl-rprovide_5.12.2.inc
   combine all unicore perl scripts in one package
   simplify perl-lib
   reduce no of perl recipe packages greatly.

Add zlib to depedancy

fix buildtime host contamination

This also fixes [BUGID #384]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agopuzzles: update SRC_URI Checksum due to file changing upstream
Saul Wold [Fri, 7 Jan 2011 00:03:48 +0000 (16:03 -0800)]
puzzles: update SRC_URI Checksum due to file changing upstream

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agorunqueue.py: Renable check_stamp_fn() for now since we still fork for task execution...
Richard Purdie [Mon, 10 Jan 2011 22:36:23 +0000 (22:36 +0000)]
runqueue.py: Renable check_stamp_fn() for now since we still fork for task execution (as per bitbake-upstream)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/runqueue.py: Simplify hashdata storage since we're not using an external...
Richard Purdie [Mon, 10 Jan 2011 22:32:46 +0000 (22:32 +0000)]
bitbake/runqueue.py: Simplify hashdata storage since we're not using an external script for tasks anymore, in line with bitbake-upstream

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agomsg: no need to hardcode the logging levels
Chris Larson [Mon, 10 Jan 2011 19:30:05 +0000 (12:30 -0700)]
msg: no need to hardcode the logging levels

(Bitbake rev: 8385bfb7da3a3b71f340a787d7f1502ba61c5b81)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>