scm/bb/tizen-distro.git
12 years agoMultilib build fixes
Bogdan Marinescu [Thu, 19 Jul 2012 12:00:13 +0000 (15:00 +0300)]
Multilib build fixes

1. STAGING_KERNEL_DIR was getting an invalid MLPREFIX. Fix this by forcing the expansion in multilib.conf.
2. Added multilib rule for 'perf'.

(From OE-Core rev: 71907775f601f0a48b995cc3277b61645d2e5068)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeggdbus: remove, nothing uses it
Ross Burton [Thu, 19 Jul 2012 12:05:09 +0000 (13:05 +0100)]
eggdbus: remove, nothing uses it

(From OE-Core rev: 7eae2aecaddf5e285fbe9ad95d972f83b42ed176)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopolkit: remove dbus-glib and eggdbus dependencies, polkit uses gio for DBus
Ross Burton [Thu, 19 Jul 2012 12:05:08 +0000 (13:05 +0100)]
polkit: remove dbus-glib and eggdbus dependencies, polkit uses gio for DBus

(From OE-Core rev: 466e108fcefe0d8d3aab2d7a4cee328d85eb1128)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgnome-keyring: remove eggdbus dependency, it has an in-tree copy
Ross Burton [Thu, 19 Jul 2012 12:05:07 +0000 (13:05 +0100)]
libgnome-keyring: remove eggdbus dependency, it has an in-tree copy

(From OE-Core rev: dfeb4ad44e7a7b62b9d054c73e0bacdf37b97c4b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostaging.bbclass: Also don't bother staging locale files, its pointless
Richard Purdie [Thu, 19 Jul 2012 13:18:03 +0000 (13:18 +0000)]
staging.bbclass: Also don't bother staging locale files, its pointless

(From OE-Core rev: 782ce542a8250133cf1b1bc32927c17cd09cfca3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoavahi-ui: Remove the locale files and rely on the main avahi package for these
Richard Purdie [Thu, 19 Jul 2012 13:16:27 +0000 (13:16 +0000)]
avahi-ui: Remove the locale files and rely on the main avahi package for these

Both avahi and avahi-ui were installing locale files. This is pointless duplication
and they are identical between the two packages. This changes things so they're only
handled by the main package.

(From OE-Core rev: a4f31439a6a5c7e1766eff6a6e54ab87f3370c29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc-package.inc: Remove duplicate locale install
Richard Purdie [Thu, 19 Jul 2012 13:14:20 +0000 (13:14 +0000)]
eglibc-package.inc: Remove duplicate locale install

Both eglibc-locale and eglibc were installing locale files into the sysroot.
Whilst this is in general harmless, its a waste of diskspace/time so this
moves the responsibility to the eglibc-locale package.

No PR bump this this is really a cleanup and doesn't affect build output,
the sstate size reduction will happen next time it is rebuilt.

(From OE-Core rev: e9bf694b635baab9238088fbeb5d2d67e9190ccd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostaging.bbclass: Ensure the task starts from a clean directory
Richard Purdie [Thu, 19 Jul 2012 13:11:54 +0000 (13:11 +0000)]
staging.bbclass: Ensure the task starts from a clean directory

I found that some files were not getting removed from the sysroot, despite them
clearly being removed by the recipe. I found SYSROOT_DESTDIR is only ever copied
into, not cleaned. This patch ensures its empty when the task starts so that
stale files are removed and not persisted.

(From OE-Core rev: 8a313f6d32ae0bdac0393887712b09f1b685aaa5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostaging.bbclass: Don't stage doc/manpage/info files
Richard Purdie [Thu, 19 Jul 2012 13:09:59 +0000 (13:09 +0000)]
staging.bbclass: Don't stage doc/manpage/info files

There is no point in having doc, manpage or info files in the staging directory. They
just bloat the sstate package size and waste time as they're copied around.

We never used to stage these but it crept in when we started staging $datadir. This
patch corrects that so they're removed and stop making it into the sysroot.

(From OE-Core rev: ec4fea852bde2294ad7a7a703ccf11eb9a109c31)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg-utils: UPdate to version with python 2.6 fix
Richard Purdie [Thu, 19 Jul 2012 15:57:00 +0000 (16:57 +0100)]
opkg-utils: UPdate to version with python 2.6 fix

(From OE-Core rev: 3448537043ca96794f3b1b4ce3a6eb775c98124c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory.bbclass: Fix python whitespace
Richard Purdie [Thu, 19 Jul 2012 11:32:20 +0000 (11:32 +0000)]
buildhistory.bbclass: Fix python whitespace

(From OE-Core rev: 51d402fa0ec9e4adf10c3dac2a69a385ee720fa1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_ipk.bbclass: Fix python whitespace
Richard Purdie [Thu, 19 Jul 2012 11:23:23 +0000 (11:23 +0000)]
package_ipk.bbclass: Fix python whitespace

(From OE-Core rev: 8a6c2278377edd63af54a469f0fb2b23f90e056b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRemove a number of unneeded import os/bb calls
Richard Purdie [Wed, 18 Jul 2012 13:08:48 +0000 (13:08 +0000)]
Remove a number of unneeded import os/bb calls

The bb and os modules are always imported so having these extra import calls
are a waste of space/execution time. They also set a bad example for people
copy and pasting code so clean them up.

(From OE-Core rev: 7d674820958be3a7051ea619effe1a6061d9cbe2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotoolchain-scripts: Remove extra - from ar/nm command names
Richard Purdie [Thu, 19 Jul 2012 10:42:07 +0000 (11:42 +0100)]
toolchain-scripts: Remove extra - from ar/nm command names

TARGET_PREFIX already has the dash included.

(From OE-Core rev: ca30b6587841f5e9a42aaedb8e0b89ff5a4a6a37)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRemove the - between ${TARGET_PREFIX} and ar/nm for the env script, as this will...
Martin Ertsaas [Thu, 19 Jul 2012 10:00:51 +0000 (12:00 +0200)]
Remove the - between ${TARGET_PREFIX} and ar/nm for the env script, as this will make autotools look for arm-none-linux-gnueabi--ar instead of arm-none-linux-gnueabi-ar.

(From OE-Core rev: 6434fc102e73ed81d2092e4c4ba5f9fb806545c8)

Signed-off-by: Martin Ertsaas <mertsas@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Update version to 1.15.3
Richard Purdie [Thu, 19 Jul 2012 08:54:13 +0000 (09:54 +0100)]
bitbake: Update version to 1.15.3

(Bitbake rev: befbb5c9428eaf98b2ff9c4b36b0b3f2dce7fe07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake: Warn upon finding tab indentation in python functions
Richard Purdie [Wed, 18 Jul 2012 11:35:11 +0000 (11:35 +0000)]
bitbake: bitbake: Warn upon finding tab indentation in python functions

Mixed spacing in python functions can cause subtle issues and
generally confuses users. We've standardised on 4 space indentation,
adding this warning helps ensure consistency and avoid bugs. It
also makes _prepend and _append operations on python functions slightly
less risky.

(Bitbake rev: c51cfaf48d3b12a19b01e824b6ba4230376bcad4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.conf: Increase bitbake minimum version to 1.15.3
Richard Purdie [Thu, 19 Jul 2012 09:23:51 +0000 (10:23 +0100)]
sanity.conf: Increase bitbake minimum version to 1.15.3

(From OE-Core rev: c8937438a7b5d2aec4ae0318f5680f3a43979259)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoConvert tab indentation in python functions into four-space
Richard Purdie [Wed, 11 Jul 2012 17:33:43 +0000 (17:33 +0000)]
Convert tab indentation in python functions into four-space

(From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoboot-directdisk: Fix kernel location after STAGING_KERNEL_DIR change
Richard Purdie [Wed, 18 Jul 2012 21:48:58 +0000 (22:48 +0100)]
boot-directdisk: Fix kernel location after STAGING_KERNEL_DIR change

This catches up with the STAGING_KERNEL_DIR location change
and uses the correct variable to future proof this issue.

[YOCTO #2783]

(From OE-Core rev: 28715eff6dff3415b1d7b0be8cbb465c417e307f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcl: fix tcl INCLUDE_SPEC and LIB_SPEC
Yao Zhao [Wed, 18 Jul 2012 16:42:35 +0000 (12:42 -0400)]
tcl: fix tcl INCLUDE_SPEC and LIB_SPEC

TCL_INCLUDE_SPEC -I/usr/include will cause problems cross configure/compile
TCL_LIB_SPEC -L${libdir} will cause problems too when link.

(From OE-Core rev: d454f8055b21c4d01dd1e2faf1625e2a1e5c25f2)

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonasm: nasm has a build dependency on groff-native
Amy Fong [Wed, 18 Jul 2012 17:39:22 +0000 (13:39 -0400)]
nasm: nasm has a build dependency on groff-native

nasm has a build dependency on groff-native

In one incident, there was a case where nasm-native compile phase failed
with the following:

      +troff: can't find `DESC' file
      +troff: fatal error: sorry, I can't continue

During this, groff-native was in the sysroot install phase.
To remedy this, adding groff-native in nasm's dependency list.

(From OE-Core rev: cd108a55ea58501e91923f348edca9ba736933c7)

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: remove 904-flatten-switch-stmt-00.patch
Bernhard Reutner-Fischer [Wed, 18 Jul 2012 18:19:08 +0000 (20:19 +0200)]
gcc: remove 904-flatten-switch-stmt-00.patch

Remove brute-force flattening and bump PR.
Refer to -ftree-switch-conversion emit_case_bit_tests(),
-ftree-if-to-switch-conversion et al in 4.8

(From OE-Core rev: 2eb0e56217137ece3d86a70676a3f3c8db525459)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Define USRBINPATH globally instead of individually
Richard Purdie [Wed, 18 Jul 2012 17:38:05 +0000 (17:38 +0000)]
bitbake.conf: Define USRBINPATH globally instead of individually

Many recipes are now having to define PERLPATH and PYTHONPATH variables.
Creating USRBINPATH in bitbake.conf means we can remove all these lines
from the many recipes now needing this and simplify the code changes
needed in each case, reducing the chance of errors being introduced.

Also fixup glib python binary location issue and fix function indentation.

(From OE-Core rev: cf63d9068c3a8c635dfc240d30dfff278be9b0e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu-nativesdk: fix the build failure that linux/kvm.h not found
Yao Zhao [Wed, 18 Jul 2012 00:44:46 +0000 (20:44 -0400)]
qemu-nativesdk: fix the build failure that linux/kvm.h not found

qemu.inc: on older kernel build hosts that have < 2.6.20 which
doesn't support kvm yet, build will fail. Add a check in do_configure
to make sure whether linux/kvm.h exists for nativesdk build.

(From OE-Core rev: 7d49af3a811472a2a47453bef0813b89c6331ae7)

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity: display the parsed PATH when complaining about CWD elements
Ross Burton [Wed, 18 Jul 2012 13:42:30 +0000 (14:42 +0100)]
sanity: display the parsed PATH when complaining about CWD elements

Many people don't understand the nuances of PATH, so help them by clarifying
the warning and displaying the parsed PATH element-by-element.

(From OE-Core rev: 47e6ab41f0f84e6bed7d337ebf96c954ec6909e8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: package ld.gold symlink
Martin Jansa [Wed, 18 Jul 2012 11:04:32 +0000 (13:04 +0200)]
binutils: package ld.gold symlink

* fixes:
  NOTE: package binutils-2.22-r11: task do_package: Started
  WARNING: QA Issue: binutils: Files/directories were installed but not shipped
    /usr/bin/ld.gold
  NOTE: package binutils-2.22-r11: task do_package: Succeeded

(From OE-Core rev: b01b958007b2c09e68a839415440972e08275702)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowatchdog: fix ping mode failure
Roy.Li [Wed, 18 Jul 2012 01:41:43 +0000 (09:41 +0800)]
watchdog: fix ping mode failure

[YOCTO #2755]

When watchdog works on ping mode, the system will be rebooted since
watchdog can not receive the expected ECOREPLY on a setting interval.

Ping mode uses a raw socket to send a ECO packet, then uses select()
to wait and recvfrom() to receive the ECOREPLY packet, if select()
shows the data is ready, and the data is not the expected ECOREPLY,
and waiting time is not overdue, it will continue use select() and
recvfrom().

Problem is that the raw socket can receive any icmp packets, if we do
not set filters, and there are many icmp packets on socket, this
program will not find its interested ECOREPLY packet in a special
interval, which makes the ping mode fail.

Other program is that watchdog sometime can not reach the call of
recvfrom to try to receive packets since tv_sec of struct timeval
of select parameter is 0.

The timeout of select() is the result of ping interval minusing the
time of calling gettimeofday spending, when ping interval is 1 second,
and the call of gettimeofday() spends several useconds, the tv_sec of
struct timeval of select parameter must be 0, at that condition, we
should think it is valid of tv_sec of struct timeval of select parameter
be 0

(From OE-Core rev: 90f3a90413aa1e08c3206b838dcaee0c1c640dc7)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Add git-native to ASSUME_PROVIDED
Richard Purdie [Tue, 10 Jul 2012 13:26:18 +0000 (13:26 +0000)]
bitbake.conf: Add git-native to ASSUME_PROVIDED

Originally, git was something new, not installed everywhere and had commandline
stability problems. This has changed and git it no longer makes sense to
continually build this when the system installed version is likely sufficient.

This speeds up build since recipes no longer have to wait for git-native to build
if they're fetched from a git:// SRC_URI.

Also add git to the sanity checks and drop the no unneeded svn reference.

(From OE-Core rev: 79e24186481770181565a18d177584d0d72399fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Fix build for e500 cores
Khem Raj [Wed, 18 Jul 2012 06:39:40 +0000 (23:39 -0700)]
eglibc: Fix build for e500 cores

e500 support needed to be updared to match eglibc 2.16

(From OE-Core rev: ae9748c614dc8e56cde3de2401c922607ed97620)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoslang: add header to patch
Roy.Li [Wed, 18 Jul 2012 02:15:56 +0000 (10:15 +0800)]
slang: add header to patch

Add description, Signed-off-by and Upstream-Status to
change-char-type-to-signed-char-in-macros.patch

(From OE-Core rev: 25745cf72056efc2250e8fdd99d6f30384472694)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofix my typos in patch headers
Nitin A Kamble [Tue, 17 Jul 2012 04:52:49 +0000 (21:52 -0700)]
fix my typos in patch headers

(From OE-Core rev: 2a686494119ced9c1eca45b229aa8746dc8a143f)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopuzzles, mkelfimage: Add protocol=http
Saul Wold [Wed, 18 Jul 2012 04:38:49 +0000 (21:38 -0700)]
puzzles, mkelfimage: Add protocol=http

This would fail in some firewall situations otherwise

(From OE-Core rev: 4c1a768238fe9a36b7ed714c9c40951b7357410a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: remove spurious install_prepend hack
Ross Burton [Tue, 17 Jul 2012 18:44:20 +0000 (19:44 +0100)]
webkit-gtk: remove spurious install_prepend hack

This "fix" causes an (ignored) error now, so at some point it was fixed.

(From OE-Core rev: 03690060fe13e083723a572ec0438a1381e418db)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: remove no-parallel bodge
Ross Burton [Tue, 17 Jul 2012 18:44:19 +0000 (19:44 +0100)]
webkit-gtk: remove no-parallel bodge

This workaround was originally for GNU Make 3.82 which upstream was blaming
for a parallel build failure.  Since then I've changed numerous variables
and now parallel builds are working with 3.82 (and succeed in 20 minutes
instead of 2 hours).

Revert the change until we've more data about what causes the breakage, then
we can bring it back with more finesse.

(From OE-Core rev: 90ca88a6f9dd5e2bc055739f84cb224f9a82455a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/bitbake: Check the git-native version and build it if necessary
Richard Purdie [Tue, 17 Jul 2012 11:59:28 +0000 (12:59 +0100)]
scripts/bitbake: Check the git-native version and build it if necessary

We require git version 1.7.5 or later for the git remote --mirror=xxx syntax.
If we have an older version of git, this patch ensure we build git-replacement-native.
We add an alternative PROVIDES in the same way as tar-native to allow this script
to trigger the build whilst still allowing git-native in ASSUME_PROVIDED.

(From OE-Core rev: 269f3b3cfacaf229d5e45177ee01b16561370ee3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorecipes: svn SRC_URI s/proto=/protocol=/g
Martin Jansa [Tue, 17 Jul 2012 09:52:22 +0000 (11:52 +0200)]
recipes: svn SRC_URI s/proto=/protocol=/g

(From OE-Core rev: 11711d5d040e6456ac43f8800b535fe5946144cf)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoterminal.py: Fix Xfce on ubuntu/debian; some cleanup
Jeffrey C Honig [Tue, 17 Jul 2012 04:03:59 +0000 (00:03 -0400)]
terminal.py: Fix Xfce on ubuntu/debian; some cleanup

    * Xfce class was setting and passing wrong variable for ubuntu/debian.
    * Xfce class was using -e instead of -x for passing command.  The former creates
      a shell escape nightmare
    * Clean up local and instance/class variables with same name but different usage.
    * Remove side-effect and directly return formatted command for clarity.

(From OE-Core rev: b2ee5c5e34cdc3d65ca7b5da3486360a74d6c500)

Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa-ide-support: Add native qemu support for meta-ide-support
Jessica Zhang [Mon, 16 Jul 2012 22:29:07 +0000 (15:29 -0700)]
meta-ide-support: Add native qemu support for meta-ide-support

[YOCTO #2761]

This patch fixed the issue that after "bitbake meta-ide-support" and try to start qemu and it will fail.  This is due to the meta-ide-support lacking dependency for qemu native and ended up using qemu under /usr/bin.  Fix the issue by adding dependency for qemu native in meta-ide-support and also add the path info in the environment-setup script.

(From OE-Core rev: 3ea597249c18d73417abe7d7a9d32bba00499914)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotune-ppc476.inc: Support ppc476
Peter Seebach [Mon, 16 Jul 2012 16:58:39 +0000 (11:58 -0500)]
tune-ppc476.inc: Support ppc476

A couple of boards use chips which perform noticably better
when optimized for the 476. Add a trivial tune file to let
them run better.

(From OE-Core rev: 9ac6da9d0e0b9f7678752ff7b9c91e39c140b4e7)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoweb-webkit: don't link using g++, it's not needed anymore
Ross Burton [Tue, 26 Jun 2012 16:26:50 +0000 (17:26 +0100)]
web-webkit: don't link using g++, it's not needed anymore

(From OE-Core rev: cd9a97c063a6c58b022d95ca9de8bcce784f1d3a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoweb-webkit: push make whitespace fix upstream
Ross Burton [Tue, 26 Jun 2012 11:43:15 +0000 (12:43 +0100)]
web-webkit: push make whitespace fix upstream

(From OE-Core rev: 9073ec0610a9e28c4b2bc90ace7a6b1c0cc99f75)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoweb-webkit: remove unused dependencies (taken from the gecko-based recipe)
Ross Burton [Tue, 26 Jun 2012 11:42:05 +0000 (12:42 +0100)]
web-webkit: remove unused dependencies (taken from the gecko-based recipe)

(From OE-Core rev: cc156badafe1e42653b9eb080c0dffd47d2a6130)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopsplash: use default OE vga logo (from kernel bootlogo)
Andrea Adami [Mon, 9 Jul 2012 22:10:36 +0000 (00:10 +0200)]
psplash: use default OE vga logo (from kernel bootlogo)

* this resolution allows to use one single logo

(From OE-Core rev: a6471990e9d9cd71ca797dddf0db1e52eaa9a935)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-core-tools-testapps.bb: kexec-tools does not work on e5500-64b parts
Matthew McClintock [Fri, 13 Jan 2012 16:50:51 +0000 (10:50 -0600)]
task-core-tools-testapps.bb: kexec-tools does not work on e5500-64b parts

This prevents kexec from building for this part since it does not work

(From OE-Core rev: c7beda1b779ce189c614fcce13e9ccf2c1b4ca6c)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-package-runtime.inc: Fix QA warning
Matthew McClintock [Fri, 13 Jul 2012 18:35:50 +0000 (13:35 -0500)]
gcc-package-runtime.inc: Fix QA warning

> ERROR: QA Issue: gcc-runtime: Files/directories were installed but not shipped
>   /usr/lib/libgomp.so.1.0.0
>   /usr/lib/libgomp.so.1

(From OE-Core rev: fee3def2ca49e3349758d9cd9a9cf5645f03cf18)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2/svn.py: Use protocol parameter to get the protocol
Martin Jansa [Tue, 17 Jul 2012 22:38:19 +0000 (00:38 +0200)]
bitbake: fetch2/svn.py: Use protocol parameter to get the protocol

* it was send in v1 of proto -> protocol changes but then wasn't in V2
  http://patchwork.openembedded.org/patch/31617/
  where warning about proto= was moved to shared __init__

(Bitbake rev: b2017f493ab730d804ae44ec5a168d464626d046)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotoolchain-scripts: Sync the SDK/ADT values to the build system
Mark Hatle [Tue, 10 Jul 2012 20:54:38 +0000 (15:54 -0500)]
toolchain-scripts: Sync the SDK/ADT values to the build system

The build system passes specific TUNE (fundamental) flag values to various
tools instead of using a shell wrapper or similar.  It is important that the
build system and ADT/SDK match the behaviors exactly, or we are likely to
have differences in the way build-system and external components are built
leading to configuration, compilation and/or run-time problems.

(From OE-Core rev: 2bd0aaf98c5d586638d82f5f22c1c24122a889a3)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: fix build with automake 1.12
Ross Burton [Wed, 11 Jul 2012 15:39:43 +0000 (16:39 +0100)]
connman: fix build with automake 1.12

(From OE-Core rev: 292469a70282ed83a8c73b3a5c57d7327ebde793)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev: don't mount with -o sync
Jesse Zhang [Wed, 4 Jul 2012 02:03:13 +0000 (10:03 +0800)]
udev: don't mount with -o sync

mount.sh mounts all partitions with -o sync, which is bad for system
performance.

(From OE-Core rev: d49cf73754150b50a911d326aaa666f5da78855c)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouseradd.bbclass: Fix for multilib builds
Richard Purdie [Mon, 16 Jul 2012 14:52:19 +0000 (14:52 +0000)]
useradd.bbclass: Fix for multilib builds

The class adds a setscene dependency on base-passwd as well as adds this to DEPENDS.
The DEPENDS version will be auso-converted to include MLPREFIX whilst the setscene
dependency will not. This result in errors about non-existent tasks.

This patch ensures MLPREFIX is added when it is needed and fixes various
build failures. Whether we should have two base-passwd recipes in a multilib
system is a question which would need to be addressed by future changes.

(From OE-Core rev: 22dff7f36e985f9f7275b47e874147bc7bdc9473)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob2: add elf to hcc supported image types
Kang Kai [Tue, 17 Jul 2012 06:58:52 +0000 (14:58 +0800)]
bitbake: hob2: add elf to hcc supported image types

[Yocto #2709]

OE Core Commit c9b01af84b64edba056f959c349895e0698324e6 add elf image
type. This will cause hob build image failed.
Add elf to hcc supoorted image types to fix this issue.

(Bitbake rev: a93a58b7cea2ddb9596cb4d718c0801db5d1a295)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: siggen.py: Insure .siginfo files writes into shared sstate cache are atomic
Jeffrey C Honig [Tue, 17 Jul 2012 00:48:57 +0000 (20:48 -0400)]
bitbake: siggen.py: Insure .siginfo files writes into shared sstate cache are atomic

   Use tempfile.mkstemp to create a temporary file in the sstate dir and move it
   into place after closing.  The previous code would fail in the chmod() if two
   users were running jobs that touched the same signature file.

(Bitbake rev: ff11e9ac5eba2d957917664a7b91b1277d8ad548)

Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: runqueue.py: Improve error output to be more useful when non-existent tasks...
Richard Purdie [Mon, 16 Jul 2012 14:57:22 +0000 (15:57 +0100)]
bitbake: runqueue.py: Improve error output to be more useful when non-existent tasks are found

(Bitbake rev: 9be584272a63f48d8dc7c9f05b017d11250aa247)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-cross-initial.inc: Use BFD ld as default always
Khem Raj [Thu, 5 Jul 2012 21:29:55 +0000 (14:29 -0700)]
gcc-cross-initial.inc: Use BFD ld as default always

When using gold as default linker in final toolchain
gcc-cross-initial still needs to use BFD ld since it
will link eglibc-initial

(From OE-Core rev: f643f886b16f586426c744afde080a99d71a9d58)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: remove svn recipe
Ross Burton [Fri, 13 Jul 2012 14:20:39 +0000 (15:20 +0100)]
webkit-gtk: remove svn recipe

(From OE-Core rev: ecb18e2b6a8fc16b323f93c62ed5ff5b080c5dd0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: add 1.8.1 recipe from tarball
Ross Burton [Fri, 22 Jun 2012 10:14:13 +0000 (11:14 +0100)]
webkit-gtk: add 1.8.1 recipe from tarball

License checksums changed as new years were added.

(From OE-Core rev: e6c5f1edcccfc78259caac853361c14ebe6d2677)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognutls: Fix build with automake 1.12.1
Nitin A Kamble [Mon, 9 Jul 2012 10:30:10 +0000 (03:30 -0700)]
gnutls: Fix build with automake 1.12.1

Added new patches:
   avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch
   gnutls_fix_for_automake_1.12.1.patch

more details in patch headers.

(From OE-Core rev: a7a07aff69d4bb44410721eecf33a60ac2166328)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolame: fix build with automake 1.12.x
Nitin A Kamble [Fri, 13 Jul 2012 06:37:20 +0000 (23:37 -0700)]
lame: fix build with automake 1.12.x

automake 1.12.x has deprecated automatic de-ANSI-fication support.
Fix sources to work with automake 1.12.x

Added a new patch:
   lame-3.99.5_fix_for_automake-1.12.x.patch

(From OE-Core rev: 84a433e383e7b2e96932739c31b25956ad8dfc54)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosed-4.1.2: fix build with automake 1.12.x
Nitin A Kamble [Fri, 13 Jul 2012 05:20:25 +0000 (22:20 -0700)]
sed-4.1.2: fix build with automake 1.12.x

automake has depricated use of @mkdir_p@, Fix the
issue by using @MKDIR_P@ instead.

added a new patch:
   sed-4.1.2_fix_for_automake-1.12.patch

(From OE-Core rev: b5e9b6db49770261e8394e676eec603125b51a44)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogawk-3.1.5: fix build with automake 1.12.x
Nitin A Kamble [Fri, 13 Jul 2012 05:03:27 +0000 (22:03 -0700)]
gawk-3.1.5: fix build with automake 1.12.x

Add the gawk-3.1.5_fix_for_automake-1.12.patch in SRC_URI.

(From OE-Core rev: 2d0c20a39be017e93303c7e7f9c11f32f737372d)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotar: fix build with automake 1.12.x
Nitin A Kamble [Thu, 3 May 2012 17:26:35 +0000 (10:26 -0700)]
tar: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

Avoid this error:
| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/tar-1.26-r1/image/usr/sbin/': No such file or directory
NOTE: package tar-1.26-r1: task do_install: Failed

no PR bump as no change in the output.

(From OE-Core rev: c3c103abb533cc9aae178d41b1bd216165f3bc9a)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogpgme: fix build with automake 1.12.x
Nitin A Kamble [Tue, 10 Jul 2012 15:51:23 +0000 (08:51 -0700)]
gpgme: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

Avoids this build issue:
| rmdir: failed to remove `/srv/home/nitin/builds2/build0/tmp/work/i586-poky-linux/gpgme-1.3.2-r0/image/usr/libexec': No such file or directory
| ERROR: Function failed: do_install

(From OE-Core rev: 4fc32e828113df50da154fcaf3eb3d56b9e72f09)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebgit-gtk: fix build with automake 1.12.1
Nitin A Kamble [Tue, 10 Jul 2012 10:42:33 +0000 (03:42 -0700)]
webgit-gtk: fix build with automake 1.12.1

Added a new patch:
  webgit-gtk_fix_build_with_automake_1.12.patch

More comments in the patch header.

(From OE-Core rev: f3ea68cdd2559d84d5b2cd95323d186fff14c7b7)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibidn: fix build with automake 1.12
Nitin A Kamble [Tue, 10 Jul 2012 09:44:30 +0000 (02:44 -0700)]
libidn: fix build with automake 1.12

Added a new patch
    avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch

More details in the patch headers.

(From OE-Core rev: c654e26007b4b014bc614fde15b7a8d9cf52d849)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotelepathy-python: fix build with automake 1.12
Nitin A Kamble [Tue, 10 Jul 2012 09:29:38 +0000 (02:29 -0700)]
telepathy-python: fix build with automake 1.12

Added a new patch:
telepathy-python_fix_for_automake_1.12.patch

More comments in the patch header.

(From OE-Core rev: aa3032aef2af5a91c1af77b9323fe762b055cd93)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibunistring: fix build with automake 1.12
Nitin A Kamble [Tue, 10 Jul 2012 09:17:44 +0000 (02:17 -0700)]
libunistring: fix build with automake 1.12

Added a new patch:
   libunistring/libunistring_fix_for_automake_1.12.patch

More comments in the patch header.

(From OE-Core rev: 015e3eca85c779cd78080f81c9d056be223465d1)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopango: fix dependencies to avoid build issue
Nitin A Kamble [Thu, 3 May 2012 18:43:49 +0000 (11:43 -0700)]
pango: fix dependencies to avoid build issue

this commit avoids this build issue:

| /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.1/ld: cannot find -lelf
| collect2: error: ld returned 1 exit status
...
| make: *** [all] Error 2
| ERROR: oe_runmake failed
NOTE: package pango-1.28.4-r7: task do_compile: Failed

(From OE-Core rev: dafefa7bd4de518adb63ec19390b77a56cb65d8e)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibfm: fix build with automake 1.12.x
Nitin A Kamble [Thu, 3 May 2012 20:30:20 +0000 (13:30 -0700)]
libfm: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

Avoids this build issue:
| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/libfm-0.1.17-r4/image/usr/lib/gio/modules/': No such file or directory
NOTE: package libfm-0.1.17-r4: task do_install: Failed

(From OE-Core rev: 456b48aaf746f07492fda5a047453d35b3ae7fb7)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-video-vmware: fix build with automake 1.12.x
Nitin A Kamble [Thu, 3 May 2012 18:12:34 +0000 (11:12 -0700)]
xf86-video-vmware: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

Fixes this build issue:

| rmdir: failed to remove
`/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/xf86-video-vmware-2_12.0.1-r17.1/image/usr/bin':
No such file or directory
NOTE: package xf86-video-vmware-2_12.0.1-r17.1: task do_install: Failed

No PR bump as no change in the output.

(From OE-Core rev: ae6cad80ea65b4e2ecbc15b94f66d874ee2400c7)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotelepathy-glib: fix build with automake 1.12.x
Nitin A Kamble [Thu, 3 May 2012 17:39:02 +0000 (10:39 -0700)]
telepathy-glib: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

avoid this issue:
| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/telepathy-glib-0.18.1-r0/image/usr/bin': No such file or directory
NOTE: package telepathy-glib-0.18.1-r0: task do_install: Failed

no PR bump as no change in the output

(From OE-Core rev: bd8e8550c8d7ab7daea8d63d6850c22639e7fb85)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgcrypt: fix build with automake 1.12.x
Nitin A Kamble [Thu, 3 May 2012 17:29:32 +0000 (10:29 -0700)]
libgcrypt: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x
avoid this issue:

| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/libgcrypt-1.5.0-r0/image/usr/sbin': No such file or directory
NOTE: package libgcrypt-1.5.0-r0: task do_install: Failed

no PR bump as no change in the output

(From OE-Core rev: c17511dee02428bb457d1ae08356ef2f8a7f9888)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoevolution-data-server: fix build with automake 1.12.x
Nitin A Kamble [Mon, 9 Jul 2012 12:00:44 +0000 (05:00 -0700)]
evolution-data-server: fix build with automake 1.12.x

Added 2 patches:
   avoid_automake_errors.patch
   fix_for_automake-1.12.x.patch

More information in the patch headers.

(From OE-Core rev: 64c2aa566f022525c7ef0acd7a80359446675990)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibrsvg: fix build with automake 1.12.x
Nitin A Kamble [Mon, 9 Jul 2012 13:27:26 +0000 (06:27 -0700)]
librsvg: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

(From OE-Core rev: 2041d00e05ca9260e29b14fb3b640b7594de0102)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodates: fix build with automake 1.12.x
Nitin A Kamble [Mon, 9 Jul 2012 13:21:17 +0000 (06:21 -0700)]
dates: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

(From OE-Core rev: 0d333c61c6ce74666ce87593dc2797ca45a97766)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoavahi: fix build with automake 1.12.1
Nitin A Kamble [Mon, 9 Jul 2012 13:03:02 +0000 (06:03 -0700)]
avahi: fix build with automake 1.12.1

added a new patch : fix_for_automake_1.12.x.patch

More information in the patch header.

(From OE-Core rev: d2662016e5f767c1c2a2d264c10634db600ddc02)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopcmanfm: fix build with automake 1.12.x
Nitin A Kamble [Mon, 9 Jul 2012 11:25:00 +0000 (04:25 -0700)]
pcmanfm: fix build with automake 1.12.x

Added a patch:
  pcmanfm_fix_for_automake_1.12.patch

More information in the patch header.

(From OE-Core rev: fee7861dcaef40ab86888a12fc2550d03463f98a)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognutls: Fix build with automake 1.12.1
Nitin A Kamble [Mon, 9 Jul 2012 10:30:10 +0000 (03:30 -0700)]
gnutls: Fix build with automake 1.12.1

Added new patches:
   avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch
   gnutls_fix_for_automake_1.12.1.patch

more details in patch headers.

(From OE-Core rev: 547ab3e32770e318b6d21334e4ecf17af2eef3ca)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agojpeg: fix configure with automake 1.12.1
Nitin A Kamble [Fri, 6 Jul 2012 04:57:44 +0000 (21:57 -0700)]
jpeg: fix configure with automake 1.12.1

Bring back earlier jpeg fix. upstream has removed the fix from earlier release.

The support for automatic de-ANSI-fication has been deprecated in
automake 1.11.2, and will be removed altogether in automake 1.12

This avoids this error:
| configure.ac:24: automatic de-ANSI-fication support is deprecated
| autoreconf: automake failed with exit status: 1
| ERROR: autoreconf execution failed.
NOTE: package jpeg-native-8c-r2: task do_configure: Failed

(From OE-Core rev: 893ce9db79a5c4cca8a6b6ed6a9cec81777aba2f)

(From OE-Core rev: 626676ba039bc5d9427665a52cbe40a202a542c8)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautomake: upgrade from 1.11.3 to 1.12.1
Nitin A Kamble [Thu, 5 Jul 2012 12:18:53 +0000 (05:18 -0700)]
automake: upgrade from 1.11.3 to 1.12.1

(From OE-Core rev: c6b70eff7614ea774c0d8e39520f76bdce0ed977)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Add recipes for 2.16 release
Khem Raj [Wed, 4 Jul 2012 06:58:29 +0000 (23:58 -0700)]
eglibc: Add recipes for 2.16 release

Drop the patches that were either applied
or fixed differenly in 2.16

Add patches to fix ppc spe patches to match
eglibc 2.16

Fix CPPFLAGS to contain correct includepaths
so autoconf cache is generated correctly

(From OE-Core rev: 705fe4dab44e623350fc32efece87a977d53bfc4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomkelfimage: Fix cross build
Khem Raj [Sat, 14 Jul 2012 21:14:07 +0000 (14:14 -0700)]
mkelfimage: Fix cross build

This patch fixes building this tool in cross environment
It uses tools such as CC, HOST_CC, I386_CC etc.
and as long as you are building native it does not
matter since they all are same namely 'gcc' but
in cross compiling that wont work. So we make the
makefiles and configure scripts aware of that fact

Upstream hosts this program in a svn repo. So change
the SRC_URI to official svn repo. With git we were
checking out a lot more that just mkelfimage which
is not required.

There were unpackaged empty directories too so
we make sure they are removed as well.

Fixes Yocto bug# 2765

(From OE-Core rev: 0d828f19f7ef2d852bbe6da4510efea76a39b982)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: Dont package kxgettext.o
Khem Raj [Sat, 14 Jul 2012 18:21:46 +0000 (11:21 -0700)]
kernel.bbclass: Dont package kxgettext.o

kxgettext.o is generated when building ppc kernels
so we end up with packaging errors like

> ERROR: QA Issue: Architecture did not match (20 to 62) on
> /work/virtex5-poky-linux/linux-xilinx-2.6.38-r00/packages-split/kernel-dev/usr/src/kernel/scripts/kconfig/kxgettext.o

(From OE-Core rev: 77278bd23617834c7f90b3b24a9945ec081dbb38)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoguile: Fix missing depends and broken arm build
Khem Raj [Thu, 12 Jul 2012 20:30:29 +0000 (13:30 -0700)]
guile: Fix missing depends and broken arm build

This patch adds a fix where arm endianness is detected correctly
secondly it adds a missing dependency on libatomics-ops
which was found when build in clean tmpdir and populating
it from a valid sstate.

(From OE-Core rev: b537b035c9b9c9a1174dcafc0252c2b779b17902)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Switch to git SRC_URI
Khem Raj [Sat, 7 Jul 2012 00:46:29 +0000 (17:46 -0700)]
gcc: Switch to git SRC_URI

svn has been giving troubles with svn 1.7 upgrade
Remove duplicate definition of S and B variables
from gcc-4.7.inc

Use 4.7.1.0 for PV to maintain the upgrade path
Its an interim solution once we upgrade to 4.7.2
we will drop it.

(From OE-Core rev: 3f3b74b3fd6ba813dd69804706edcea145876e09)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oe/sstatesig.py: Exclude git-native from sstate checksum
Khem Raj [Mon, 9 Jul 2012 19:31:38 +0000 (12:31 -0700)]
lib/oe/sstatesig.py: Exclude git-native from sstate checksum

gcc exposed this issue where cross gcc recipes were not having
same task checksums as libgcc or gcc-runtime the target recipes
which use same shared workdir and it was triggering the unpack
fetch and patch tasks to reexecute and hence the trouble

Now that we have more than 1 package to consider lets combine
the check

Thanks RP for help and this is on the line of patch
793ce6cd9aa632e0f13789c8293770a86085d28d

(From OE-Core rev: 72cc3df204c4b838cc0358a7ac989adfdd5c1760)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: Explicitly add --disable-gl-accel when gl is not enabled
Khem Raj [Fri, 6 Jul 2012 17:54:52 +0000 (10:54 -0700)]
qemu: Explicitly add --disable-gl-accel when gl is not enabled

Default seems to be to enable GL accelaration so when
gl is not specified in PACKAGECONFIG then add the
--disable-gl-accel to really disable it.

(From OE-Core rev: 039a2f63712cbe87eb68a8c8c0cc365b74651f5a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Refresh support for fsl E5500/E6500
Khem Raj [Sat, 7 Jul 2012 03:49:24 +0000 (20:49 -0700)]
gcc: Refresh support for fsl E5500/E6500

These patches are backport from gcc mainline
they fix issues where eglibc was not compilable
for e5500+ due to missing vector intrinsics
It obsoletes the existing e5500 patch

(From OE-Core rev: b440aeeceb8c2e9f412d98793fb1dd55ff9d73f5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: Backport the e5500/e6500 patches from mainline
Khem Raj [Sat, 7 Jul 2012 03:45:57 +0000 (20:45 -0700)]
binutils: Backport the e5500/e6500 patches from mainline

This updates the E5500 and E6500 support patches
as they have been applied upstream binutils.

(From OE-Core rev: 202420871785cbdbbf57adbe26eb0f649e57512b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Convert do_headerfix into a definitive patch
Khem Raj [Sun, 8 Jul 2012 18:34:52 +0000 (11:34 -0700)]
gcc: Convert do_headerfix into a definitive patch

do_headerfix task is essentially editing configuration
headers in sources which can well be maintained as a
patch which is easier to spot errors (if any) than
dynamically edited source tree

(From OE-Core rev: ddd344e9acef88d614473581266569ce14716ccc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostrace: Fix build on eglibc 2.16
Khem Raj [Wed, 11 Jul 2012 18:13:37 +0000 (11:13 -0700)]
strace: Fix build on eglibc 2.16

This patch fixes two build issues seen with strace
one in general with eglibc 2.16 and another with x32 abi

(From OE-Core rev: 2ed0011adc1642e0fbb6bfe1d7ae6b70ce7dfedb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpam: Fix build with eglibc 2.16
Khem Raj [Wed, 4 Jul 2012 20:12:38 +0000 (13:12 -0700)]
libpam: Fix build with eglibc 2.16

pam_unix_acct.c: In function '_unix_run_verify_binary':
pam_unix_acct.c:97:19: error: storage size of 'rlim' isn't known
pam_unix_acct.c:106:19: error: 'RLIMIT_NOFILE' undeclared (first use in
this function)
pam_unix_acct.c:106:19: note: each undeclared identifier is reported
only once for each function it appears in

(From OE-Core rev: e59a0bac95ce025a6b826be28ccc9e42ca4b5a29)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agovalgrind: Fix build with eglibc 2.16
Khem Raj [Wed, 4 Jul 2012 20:12:00 +0000 (13:12 -0700)]
valgrind: Fix build with eglibc 2.16

(From OE-Core rev: 5a59bf0778608b7c5e1073bf38d36b98d831db0d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoboost: Upgrade recipe to 1.50.0
Khem Raj [Wed, 4 Jul 2012 06:55:18 +0000 (23:55 -0700)]
boost: Upgrade recipe to 1.50.0

1.49.0 is not buildable with eglibc 2.16 since
it exposes a define TIME_UTC which is also used
in boost until 1.50.0 when it was renamed to
TIME_UTC_ so instead of porting needed patches
we upgrade boost to latest release

(From OE-Core rev: 20c00be5556db5e6680bcdb7d4ec6d4516f4c410)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
Khem Raj [Wed, 4 Jul 2012 19:30:07 +0000 (12:30 -0700)]
grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc

eglibc 2.16 does not export gets anymore

(From OE-Core rev: 497d8d82b8e7e04a457a7fdd689c657903218c0d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobison: Fix for gets being removed from eglibc 2.16
Khem Raj [Wed, 4 Jul 2012 16:15:25 +0000 (09:15 -0700)]
bison: Fix for gets being removed from eglibc 2.16

(From OE-Core rev: ba9e4ee09f39c427c0d1ba2d0d4c4f59029e4bea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
Khem Raj [Wed, 4 Jul 2012 06:53:16 +0000 (23:53 -0700)]
gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16

These recipes use gnulib which needs this change to use gets
when its defined and not otherwise. Until that change goes into
gnulib and then all these package upgrade gnulib in their sourcebase
we patch them

(From OE-Core rev: 3148460575b65cb681065e5850b8afb96056d712)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev: Fix build with eglibc 2.16
Khem Raj [Wed, 4 Jul 2012 06:51:10 +0000 (23:51 -0700)]
udev: Fix build with eglibc 2.16

Include sys/resource.h to get definition of
PRIO_PROCESS

(From OE-Core rev: 6b74c8edac0a4a468741ab7cc4ecef74314d2043)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodiffutils: Fix build with eglibc 2.16
Khem Raj [Wed, 4 Jul 2012 06:44:43 +0000 (23:44 -0700)]
diffutils: Fix build with eglibc 2.16

eglibc 2.16 has removed gets so we account for that

(From OE-Core rev: bd47833dea9e1b39ca19b02f06ba9194c6d52be8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocoreutils: Fix build with eglibc 2.16
Khem Raj [Wed, 4 Jul 2012 06:43:06 +0000 (23:43 -0700)]
coreutils: Fix build with eglibc 2.16

eglibc 2.16 has removed gets so we account for that

(From OE-Core rev: 84183aee7e6f81919ec44f3043c7d9feea01f202)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>