]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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.

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

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

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.

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.

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.

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)

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>
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

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

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

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

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.

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.

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

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.

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

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.

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

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

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

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

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

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

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

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

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

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

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

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 agoglib: package bash-completion files in separate package and move ${PN}-codegen to...
Martin Jansa [Mon, 16 Jul 2012 16:07:18 +0000 (18:07 +0200)]
glib: package bash-completion files in separate package and move ${PN}-codegen to .inc

* 2.32.4 has completion files in ${datadir}/bash-completion
  and dbus also packages bash-competion files in separate package

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib: upgrade to 2.32.4
Martin Jansa [Mon, 16 Jul 2012 16:07:17 +0000 (18:07 +0200)]
glib: upgrade to 2.32.4

* it's bugfix release, see http://ftp.gnome.org/pub/gnome/sources/glib/2.32/glib-2.32.4.news
  for list of fixed bugs

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: fix makekeys build
Martin Jansa [Mon, 16 Jul 2012 08:25:49 +0000 (10:25 +0200)]
libx11: fix makekeys build

* on hosts without libx11 installed it fails with
  | makekeys.c:33:27: fatal error: X11/Xresource.h: No such file or directory
  since oe-core rev 52d4ff7b35602faa52360a3e7a800891ef60c739
* upstream added -I$(top_srcdir)/include in 24283d40b1e4314c6647dda49d2a159833341a8b
  to ensure that right Xresource.h version is used, but we're building
  makekeys outside source tree (x11_disable_makekeys.patch), so we need
  to pass -I${S}/include in our makekeys build too
* building makekeys outside source tree isn't probably needed anymore
  and recipes should be updated to reflect that, upstream fixes:
  https://bugs.freedesktop.org/show_bug.cgi?id=22584
  http://cgit.freedesktop.org/xorg/lib/libX11/commit/src/util/Makefile.am?id=b2487d07f7b355f230a56e32c763acd08862735c
  http://cgit.freedesktop.org/xorg/lib/libX11/commit/src/util/Makefile.am?id=24283d40b1e4314c6647dda49d2a159833341a8b

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: Include sys/resource.h for rusage definition
Khem Raj [Wed, 4 Jul 2012 06:40:39 +0000 (23:40 -0700)]
busybox: Include sys/resource.h for rusage definition

Seen with eglibc 2.16

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogdb: Replace struct siginfo with proper siginfo_t
Khem Raj [Tue, 3 Jul 2012 17:13:43 +0000 (10:13 -0700)]
gdb: Replace struct siginfo with proper siginfo_t

Fixes errors like

/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gdb-7.4.1-r0.0/gdb-7.4.1/gdb/linux-nat.h:79:18:
error: field 'siginfo' has incomplete type

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomirrors: Add debian archive snapshot mirrors to search list
Khem Raj [Wed, 4 Jul 2012 23:54:15 +0000 (16:54 -0700)]
mirrors: Add debian archive snapshot mirrors to search list

I ran across this problem when apt 0.7.14 was not fetchable
from regular debian mirrors and existing snapshot mirror
did not have it either since we did not use proper syntax
so it was not hitting that.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolsof: define linux C library type when using eglibc
Ting Liu [Fri, 13 Jul 2012 05:14:25 +0000 (00:14 -0500)]
lsof: define linux C library type when using eglibc

lsof tries to compile a temp c source file and execute the binary to
determine linux C library type (file Configure, line 2689-2717).
It is inpracticable for cross-compilation and may have build issue on
some distros since it depends on host settings.

Fix below error when building for 64bit target on 64bit host:
[...]
| dsock.c:481:44: error: 'TCP_LISTEN' undeclared (first use in this function)
| dsock.c:482:45: error: 'TCP_CLOSING' undeclared (first use in this function)
[...]
| make: *** [dsock.o] Error 1

The actual issue exists in do_configure:
[...]
Testing C library type with cc ... done
Cannot determine C library type; assuming it is not glibc.

Which is in turn caused by missing 'gnu/stubs-32.h" when compiling
the temp c source file on host:
[...]
fatal error: gnu/stubs-32.h: No such file or directory compilation terminated.

file gnu/stubs-32.h is provided by 32bit glibc.

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobase.bbclass: add GNUmakefile to the list of possible makefile names
Ross Burton [Fri, 13 Jul 2012 11:01:27 +0000 (12:01 +0100)]
base.bbclass: add GNUmakefile to the list of possible makefile names

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocrosssdk/nativesdk: Ensure EXTRA_OECONF_FPU is unset
Richard Purdie [Thu, 12 Jul 2012 15:25:47 +0000 (16:25 +0100)]
crosssdk/nativesdk: Ensure EXTRA_OECONF_FPU is unset

If EXTRA_OECONF_FPU is left set, certain ARM variables related to hard-float
can get pulled in and trigger rebuilds of the crosssdk code. The best solution
is to simply force the variable to a known correct value for the SDK targets
currently supported in the same way as TARGET_FPU.

There is some slight rearrangement of the gcc code to ensure the variable is
always used to call the fpu function.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopython: Fix python-nativesdk variable contamination issue
Richard Purdie [Thu, 12 Jul 2012 15:19:23 +0000 (16:19 +0100)]
python: Fix python-nativesdk variable contamination issue

Without this, python-nativesdk-crypt can depend on openssl which is incorrect.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosstate.bbclass: Move crosssdk before cross to ensure correct variables are set
Richard Purdie [Thu, 12 Jul 2012 15:18:23 +0000 (16:18 +0100)]
sstate.bbclass: Move crosssdk before cross to ensure correct variables are set

There was a bug showing up where the crosssdk recipes were being installed as machine
specific in the sstate-control directory. This turned out to be due to the architecture
fields used by sstate being set incorrectly. The problem is that the crosssdk inherits
the cross class. It therefore needs to be listed in this if statement block before
the cross check, not after.

This should resolve some package architecture issue of crosssdk sstate files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogmp: upgrade to 5.0.5
Bogdan Marinescu [Thu, 12 Jul 2012 09:13:57 +0000 (12:13 +0300)]
gmp: upgrade to 5.0.5

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosysvinit-inittab_2.88dsf.bb: Allow multiple serial port consoles to be defined
Matthew McClintock [Wed, 11 Jul 2012 23:15:27 +0000 (18:15 -0500)]
sysvinit-inittab_2.88dsf.bb: Allow multiple serial port consoles to be defined

Set SERIAL_CONSOLES if you want to define multiple serial consoles, also if
you need to check for the presence of the serial consoles you can also define
SERIAL_CONSOLES_CHECK to determine if these are present when you boot. This
will prevent error message that pop up when the serial port is not present.

SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"

The above lines in machine.conf or elsewhere will have the effect of having
two serial consoles and removing any that are not present at boot

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorunqemu: Fix running qemu when build without gl
Khem Raj [Tue, 10 Jul 2012 17:07:49 +0000 (10:07 -0700)]
runqemu: Fix running qemu when build without gl

When gl is disabled in PACKAGECONFIG then we dont need
to check for supporting libs to be present before running
qemu.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoimage_types.bbclass: Default XZ_COMPRESSION_LEVEL to -e -6
Andrei Gherzan [Thu, 12 Jul 2012 18:05:56 +0000 (21:05 +0300)]
image_types.bbclass: Default XZ_COMPRESSION_LEVEL to -e -6

Having XZ_COMPRESSION_LEVEL on -e -9 and -T 0 will make xz eat more
than 6Gb memory. Reduce this to -6 to make xz to use about 471Mb
on the tested machine.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoimage_types.bbclass: Add XZ variable to set number of threads to be used while compre...
Andrei Gherzan [Thu, 12 Jul 2012 14:45:40 +0000 (17:45 +0300)]
image_types.bbclass: Add XZ variable to set number of threads to be used while compressing

Default this variable to 0. This will make xz use as many threads as there are CPU
cores on the system.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoimage_types.bbclass: Fix COMPRESS_CMD for xz to redirect compressed data to file
Andrei Gherzan [Thu, 12 Jul 2012 14:31:54 +0000 (17:31 +0300)]
image_types.bbclass: Fix COMPRESS_CMD for xz to redirect compressed data to file

Having -c modifier makes xz to output the compressed data to stdout. In this
way the needed data will be in the do_rootfs log.
Redirect data to ${IMAGE_NAME}.rootfs.${type}.xz .

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocpan.bbclass: Fix CCFLAGS.
Xin Ouyang [Thu, 21 Jun 2012 07:13:54 +0000 (15:13 +0800)]
cpan.bbclass: Fix CCFLAGS.

We should not just replace CCFLAGS with CFLAGS while compiling, because
this may cause run-time errors with perl's DynaLoader.pm.

Tested on qemux86 with new libnet-libidn-perl bb recipe:

root@qemux86:~# perl -e "use Net::LibIDN"
Not a CODE reference at /usr/lib/perl/5.14.2//DynaLoader.pm line 213.
END failed--call queue aborted at /usr/lib/perl/vendor_perl/5.14.2//Net/LibIDN.pm line 213.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopuzzles: convert to use SVN
Saul Wold [Thu, 12 Jul 2012 15:17:13 +0000 (08:17 -0700)]
puzzles: convert to use SVN

Recently the tarball has been changing due the fact it gets rebuilt
nightly and timestamps are getting updated and changed internal to
the tarball.  Moving back to SVN to try and address this.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoUpdate proto -> protocol for recipes
Saul Wold [Thu, 12 Jul 2012 16:08:24 +0000 (09:08 -0700)]
Update proto -> protocol for recipes

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxz: update to 5.1.2alpha
Koen Kooi [Wed, 11 Jul 2012 14:10:54 +0000 (16:10 +0200)]
xz: update to 5.1.2alpha

This contains bugfixes from the 5.0.3 and 5.0.4 releases

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotask-core-sdk.bb: add libgomp and libgomp-dev by RECOMMENDS
Zhenhua Luo [Wed, 11 Jul 2012 14:14:03 +0000 (22:14 +0800)]
task-core-sdk.bb: add libgomp and libgomp-dev by RECOMMENDS

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopython-dbus: upgrade to 1.1.0
Bogdan Marinescu [Wed, 11 Jul 2012 15:33:23 +0000 (18:33 +0300)]
python-dbus: upgrade to 1.1.0

Tested by compiling core-image-basic

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/rootfs_deb: use more reliable check for package existence
Paul Eggleton [Mon, 9 Jul 2012 12:38:39 +0000 (13:38 +0100)]
classes/rootfs_deb: use more reliable check for package existence

It turns out "apt-cache showpkg" does return some information when a
package does not exist but another package recommends it, which can
occur for empty *-dev packages; so use "apt-cache policy" with a
different line count instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-libc-headers: updated to 3.4.3
Bogdan Marinescu [Wed, 11 Jul 2012 13:02:19 +0000 (16:02 +0300)]
linux-libc-headers: updated to 3.4.3

Tested by building core-image-sato-sdk.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage.bbclass: Allow overriding of debugedit starting path
Peter Seebach [Wed, 11 Jul 2012 20:31:55 +0000 (15:31 -0500)]
package.bbclass: Allow overriding of debugedit starting path

In the usual case, the computed path used for debugedit to fix
up path references for the target filesystem is correct. However,
prebuilt binary components, such as prebuilt toolchains, can
have debug paths that do not reflect paths within the local
build directory. Providing an override lets us continue to use
the standard debugedit logic in package.bbclass.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorunqemu/mips: adjust runqemu script to support mipsel machine
Dennis Lan [Wed, 11 Jul 2012 07:05:02 +0000 (07:05 +0000)]
runqemu/mips: adjust runqemu script to support mipsel machine

Signed-off-by: Dennis Lan <dennis.yxun@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoslang: change char type to signed char in macros
Roy.Li [Tue, 10 Jul 2012 09:27:00 +0000 (17:27 +0800)]
slang: change char type to signed char in macros

Fix [YOCTO 2726]

C language has 3 distinct char types:
         char
         unsigned char
         signed char
A char has the same range of values as signed char on X86,
but same as unsigned char on ARM which made Slang's typecast()
and array_sort() unable to work for char value on ARM, since
Slang is assuming "char" as "signed char".

Now we change "char" as "signed char" explicitly in
util/mkslarith2.sl, and use it to regenerate src/slarith2.inc

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogconf: Disable gtk support
Richard Purdie [Tue, 10 Jul 2012 13:31:33 +0000 (14:31 +0100)]
gconf: Disable gtk support

There are only a couple of helper utilities within gconf that need gtk+ as a
dependency and those are unused and pretty useless. We might as well drop
the dependency on gtk and allow more parallel builds by reducing dependency
bottlenecks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorpm_5.4.9.bb: fix builds on systems with older libc
Matthew McClintock [Tue, 10 Jul 2012 17:14:20 +0000 (12:14 -0500)]
rpm_5.4.9.bb: fix builds on systems with older libc

| dbconvert.o: In function `rpmdb_convert':
| /local/jenkins/jobs/yocto-upstream/workspace/label/master/machine/p4080ds/poky/master/tmp/work/x86_64-linux/rpm-native-5.4.9-r45/rpm-5.4.9/tools/dbconvert.c:126: warning: the use of `tempnam' is dangerous, better use `mkstemp'
| dbconvert.o: In function `main':
| dbconvert.c:(.text+0x923): undefined reference to `htobe32'
| dbconvert.c:(.text+0xaa4): undefined reference to `htole32'
| dbconvert.c:(.text+0xac9): undefined reference to `htole32'

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomkelfimage: Upstream fixed packaging issue so upgrade to e1e6a91
Raymond Danks [Tue, 10 Jul 2012 14:35:23 +0000 (08:35 -0600)]
mkelfimage: Upstream fixed packaging issue so upgrade to e1e6a91

Address QA issue: Files/directories were installed but not shipped.
New revision contains patch to mkelfimage removing
/usr/share/mkelfImage/elf32-i386 directory from Makefile install target.

http://review.coreboot.org/#/c/1195/

Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage install failure on systems without /sbin/ldconfig
Amy Fong [Mon, 9 Jul 2012 18:50:17 +0000 (14:50 -0400)]
package install failure on systems without /sbin/ldconfig

Package install failures due to issues in post install rules.

package_do_shlibs only looks for libraries in a directory "lib", this should be
modified to the variable baselib.

ldconfig_postinst_fragment failure observed on systems without /sbin/ldconfig
        [ -x /sbin/ldconfig ] && /sbin/ldconfig
results in the post install rule returning a failure. Modify to
        if [ -x /sbin/ldconfig ]; then /sbin/ldconfig; fi

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoconf/machine: replace TUNE_CONFLICTS with TUNECONFLICTS
Martin Jansa [Sat, 7 Jul 2012 08:31:54 +0000 (10:31 +0200)]
conf/machine: replace TUNE_CONFLICTS with TUNECONFLICTS

* it wasn't consistent with other machine configs
* reported 2 months ago..
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-May/022154.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoperf: add perl, python to DEPENDS
Tom Zanussi [Thu, 12 Jul 2012 07:17:11 +0000 (07:17 +0000)]
perf: add perl, python to DEPENDS

perf has perl and python compile-time dependendencies, add them.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.0: perf scripting support
Bruce Ashfield [Wed, 11 Jul 2012 14:44:20 +0000 (10:44 -0400)]
linux-yocto/3.0: perf scripting support

Updating the 3.0 SRCREVs to pickup the recent perf scripting fixes.

  cef17a1 perf: add sgidefs.h to for mips builds
  3258da3 perf: change --root to --prefix for python install
  1f9c25b perf: add 'libperl not found' warning
  f2b1bf1 perf: use pkg-config instead of python-config
  568e05f perf tools: Add support to install perf python extension
  7e47f81 Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON"

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman-gnome: remove unused patches, they were all merged upstream
Ross Burton [Wed, 11 Jul 2012 13:05:08 +0000 (14:05 +0100)]
connman-gnome: remove unused patches, they were all merged upstream

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgomp: add libgomp (openmp) library, and build for powerpc targets by default
Matthew McClintock [Tue, 10 Jul 2012 16:12:29 +0000 (16:12 +0000)]
libgomp: add libgomp (openmp) library, and build for powerpc targets by default

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: gcc-cross-canadian: use correct location for libraries for powerpc64
Matthew McClintock [Tue, 10 Jul 2012 04:29:22 +0000 (04:29 +0000)]
gcc: gcc-cross-canadian: use correct location for libraries for powerpc64

This fixes the issue where gcc invokes the linker with an incorrect -L
library location and gives up because it can't find libraries. It was
looking in a /lib folder instead of /lib64

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-configure-common.inc: use --with-long-double-128 on powerpc to comply with ABI
Matthew McClintock [Tue, 28 Feb 2012 23:54:52 +0000 (23:54 +0000)]
gcc-configure-common.inc: use --with-long-double-128 on powerpc to comply with ABI

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenjade-native_1.3.2.bb: fix typo and change the deps exclusion to correct var
Matthew McClintock [Tue, 10 Jul 2012 19:45:35 +0000 (14:45 -0500)]
openjade-native_1.3.2.bb: fix typo and change the deps exclusion to correct var

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodtc.inc: fix for libdir == /usr/lib64
Matthew McClintock [Wed, 11 Jul 2012 02:29:40 +0000 (21:29 -0500)]
dtc.inc: fix for libdir == /usr/lib64

On 64bit systems dtc will still install libaries in /usr/lib
unless we havet this override

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agovalgrind: fix default.supp missing issue
Zhenhua Luo [Wed, 11 Jul 2012 07:42:17 +0000 (15:42 +0800)]
valgrind: fix default.supp missing issue

    When run valgrind, following error appears:
    ==2254== FATAL: can't open suppressions file "/usr/lib/valgrind/default.supp"

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodirectfb: disable imlib2 explicitly
Dennis Lan [Wed, 11 Jul 2012 07:49:54 +0000 (07:49 +0000)]
directfb: disable imlib2 explicitly

When HOST machine installed imlib2, compiling directfb in OE will
direct this library, and try to use it. This is wrong, since there is
no imlib in OE, so we should disable it explicitly here.

Error as following:
| idirectfbimageprovider_imlib2.c:64:20: fatal error: Imlib2.h: No such
file or directory

Config.log as following (which is wrong):
configure:19602: checking for imlib2-config
configure:19620: found /usr/bin/imlib2-config
configure:19633: result: /usr/bin/imlib2-config

Signed-off-by: Dennis Lan <dennis.yxun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosubversion: do_install failed (parallel issue)
Robert Yang [Tue, 10 Jul 2012 09:35:50 +0000 (17:35 +0800)]
subversion: do_install failed (parallel issue)

install-neon-lib needs libsvn_delta-1.la which will be regenerated
during libsvn_delta-1.la's installation, if libsvn_delta-1.la is
in regenerating and at the same time install-neon-lib links it, the
error willl happen.

The error message is:
/bin/ld: cannot find -lsvn_delta-1
collect2: error: ld returned 1 exit status

This is a parallel issue, so it doesn't happen often.

Note:
The autoreconf doesn't generate build-outputs.mk, it would be generated
by autogen.sh (use build.conf as the input), but autogen.sh isn't
suitable for cross compiling, so both modified build-outputs.mk and
build.conf.

[YOCTO #2727]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognupg: ensure deterministic build by disabling libcurl
Saul Wold [Mon, 9 Jul 2012 22:04:34 +0000 (15:04 -0700)]
gnupg: ensure deterministic build by disabling libcurl

gnupg has it's own fake curl, since we use gnupg with zypper, there does not
seem to be a strong reason to add curl to the depends list.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperf: add perf-tui feature
Tom Zanussi [Mon, 9 Jul 2012 17:07:11 +0000 (12:07 -0500)]
perf: add perf-tui feature

Add a new feature named 'perf-tui'.  Adding this into the
PERF_FEATURES variable in perf.inc will enable the perf TUI (Text-base
UI) user interface on a target, which adds libnewt and turns on the
perf text UI options in perf, if perf is included in an image.

If 'perf-tui' isn't named as a feature (the default), the perf TUI
will be disabled and unavailable.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperf: add perf-scripting feature
Tom Zanussi [Mon, 9 Jul 2012 17:07:10 +0000 (12:07 -0500)]
perf: add perf-scripting feature

Add a new feature named 'perf-scripting'.  Adding this into the
PERF_FEATURES variable in perf.inc will enable perf scripting on a
target, which will turn on all the language bindings currently
available in perf (Perl and Python), if perf is included in an image.

If 'perf-scripting' isn't named as a feature (the default), all perf
language bindings will be disabled and unavailable.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperf: add perf.inc
Tom Zanussi [Mon, 9 Jul 2012 17:07:09 +0000 (12:07 -0500)]
perf: add perf.inc

Add a perf.inc to contain utility functions and definitions and to
avoid cluttering up the main recipe.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: perf, unionfs and yaffs2 fixes
Bruce Ashfield [Tue, 10 Jul 2012 17:11:04 +0000 (13:11 -0400)]
linux-yocto/3.4: perf, unionfs and yaffs2 fixes

Updating the 3.4 SRCREVs to pickup the following changes:

  6297e4c perf: add sgidefs.h to for mips builds
  69b7817 yaffs: add leading underscore to mtd_info function names
  160f1ac yaffs: change type for mode to umode_t
  2d875e8 Unionfs: use mode_t

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.2: perf: fix mips build
Bruce Ashfield [Tue, 10 Jul 2012 17:11:03 +0000 (13:11 -0400)]
linux-yocto/3.2: perf: fix mips build

Updating SRCREVs for the following fix:

Author: Tom Zanussi <tom.zanussi@intel.com>
Date:   Tue Jul 10 09:38:40 2012 -0500

    perf: add sgidefs.h to for mips builds

    Allow Python.h to find the definitions it needs on mips i.e. get rid
    of the error: "_ABIN32" is not defined.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: fix installation of dev / dbg packages
Paul Eggleton [Tue, 10 Jul 2012 16:22:50 +0000 (17:22 +0100)]
opkg: fix installation of dev / dbg packages

OE-Core revision ffe93e2a099e4cadb1829dc12a58a6d7bef9a5a7 moved opkg's
configuration file into /etc/opkg, and opkg always reads all files under
this directory even if -f is specified (as it is during do_rootfs in
order to specify our own generated config file), and this means that
after opkg-collateral is installed into the rootfs, this version of the
config is used, resulting in opkg ignoring the list of packages it has
already downloaded (since it now sees list_dir as /var/lib/opkg instead
of the default /var/lib/opkg/lists) and thus it fails to install any of
the "attemptonly" packages (including *-dev, *-dbg, etc.).

If we change the -f option to ignore configuration files in /etc/opkg
then we no longer have this problem.

Fixes [YOCTO #2595].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoccache: Ensure CCACHE_DIR is cleaned by do_clean task
Richard Purdie [Mon, 9 Jul 2012 11:40:29 +0000 (11:40 +0000)]
ccache: Ensure CCACHE_DIR is cleaned by do_clean task

This ensures a rebuild does really build from scratch when ccache is in use.

[YOCTO #2696]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxml2: Fix libzypp ansidecl related build failures
Richard Purdie [Tue, 10 Jul 2012 12:04:31 +0000 (12:04 +0000)]
libxml2: Fix libzypp ansidecl related build failures

cmake looks at all include statements, even if they're not used. To make
builds deterministic and avoid needing to add binutils as a dependency
for libzypp, completely remove the include from the header file, even if
it is never used.

This avoids issues where you'd build binutils, then libzypp, then remove
binutils (and hence ansidecl.h) and then recompile libzypp which would
still have the dependency and hence fail.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Drop the remainder for the FETCH/CHECK/RESUMECOMMAND variables
Richard Purdie [Mon, 9 Jul 2012 16:48:13 +0000 (16:48 +0000)]
bitbake.conf: Drop the remainder for the FETCH/CHECK/RESUMECOMMAND variables

This completes the removal of these older variables and their replacement
with FETCHCMD. This change requires the latest bitbake to operate optimally.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Add passive-ftp option to the default FETCHCMD_wget
Richard Purdie [Mon, 9 Jul 2012 16:47:01 +0000 (16:47 +0000)]
bitbake.conf: Add passive-ftp option to the default FETCHCMD_wget

This brings it into sync with the wget FETCHCOMMAND and RESUMECOMMAND
variables.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Drop the old svn FETCH/UPDATE/RESUMECOMMAND variables
Richard Purdie [Mon, 9 Jul 2012 16:45:49 +0000 (16:45 +0000)]
bitbake.conf: Drop the old svn FETCH/UPDATE/RESUMECOMMAND variables

The svn fetcher converted to use FETCHCMD a long time ago. This drops
several variables which are effectively useless.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocore-image-*.bb: Remove usage of EXTRA_IMAGE_FEATURES from some .bb files
Robert P. J. Day [Mon, 9 Jul 2012 17:12:54 +0000 (13:12 -0400)]
core-image-*.bb: Remove usage of EXTRA_IMAGE_FEATURES from some .bb files

Replace the usage of EXTRA_IMAGE_FEATURES in a small number of .bb
files with IMAGE_FEATURES, and leave the use of EXTRA_IMAGE_FEATURES
for developers in their local.conf files, to avoid the possibility of
undesirable side effects.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocore-image-*: remove copyright notices
Paul Eggleton [Mon, 9 Jul 2012 17:03:09 +0000 (18:03 +0100)]
core-image-*: remove copyright notices

These image recipes are meant to be examples that people can copy and
modify completely for their own purposes, and most of them are so
trivial they don't really need copyright notices anyway, so trim them
off.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocore-image-minimal-dev: base on core-image-minimal
Paul Eggleton [Mon, 9 Jul 2012 17:03:08 +0000 (18:03 +0100)]
core-image-minimal-dev: base on core-image-minimal

When core-image-minimal has been updated in the past, we have on several
occasions missed applying those updates to this recipe, so let's just
base it directly on core-image-minimal and completely avoid that problem
in future.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgsmd - remove
Paul Eggleton [Mon, 9 Jul 2012 17:03:07 +0000 (18:03 +0100)]
libgsmd - remove

This project has been unmaintained for some time, and even the OpenMoko
project is not using it any more (in favour of FSO). Since we have ofono
in OE-Core which replaces and surpasses its functionality, we can remove
libgsmd.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.2: perf scripting updates
Bruce Ashfield [Mon, 9 Jul 2012 17:31:15 +0000 (13:31 -0400)]
linux-yocto/3.2: perf scripting updates

Updating the 3.2 SRCREVs to reflect the perf scripting fixes by TomZ

standard/default/base:
  0ec416e perf: change --root to --prefix for python install
  18ad076 perf: add 'libperl not found' warning
  e0f641d perf: use pkg-config instead of python-config
  3195098 Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON"

meta:
  07ee09b features/ftrace: enable FTRACE_SYSCALLS

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: perf scripting & unionfs fixes
Bruce Ashfield [Mon, 9 Jul 2012 14:59:06 +0000 (10:59 -0400)]
linux-yocto/3.4: perf scripting & unionfs fixes

Updating the SRCREVs to pickup the following changes:

standard/base:
 95c79fb Unionfs: update ->show_options prototype
 49f1599 perf: change --root to --prefix for python install
 8ff1ab6 perf: add 'libperl not found' warning
 b4bc865 perf: use pkg-config instead of python-config
 a2257bf Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON"

meta:
 a8cf770 features/ftrace: enable FTRACE_SYSCALLS

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopsplash - Update to latest psplash version. LIC_CHKSUM Tweak
Franklin S Cooper Jr [Mon, 9 Jul 2012 15:27:44 +0000 (10:27 -0500)]
psplash - Update to latest psplash version. LIC_CHKSUM Tweak

* Update psplash to the latest version.
* Change the license checksum to use the lines in the psplash.h that contains
  license information instead of doing a checksum on the entire file.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: add non-santized kernel provides
Bruce Ashfield [Fri, 6 Jul 2012 15:52:41 +0000 (11:52 -0400)]
kernel.bbclass: add non-santized kernel provides

If the kernel version string uses characters or symbols that
need to be santized for the package name, we can end up with a
mismatch between module requirements and what the kernel
provides.

The kernel version is pulled from utsrelease.h, which contains
the exact string that was passed to the kernel build, not
one that is santized, this can result in:

 echo "CONFIG_LOCALVERSION="\"MYVER+snapshot_standard\" >> ${B}/.config

 <build>

 % rpm -qp kernel-module-uvesafb-3.4-r0.qemux86.rpm --requires
update-modules
kernel-3.4.3-MYVER+snapshot_standard
 % rpm -qp kernel-3.4.3-myver+snapshot-standard-3.4-r0.qemux86.rpm --provides
kernel-3.4.3-myver+snapshot-standard = 3.4-r0

At rootfs assembly time, we'll have a dependency issue with the kernel
providing the santizied string and the modules requiring the utsrelease.h
string.

To not break existing use cases, we can add a second provides to the
kernel packaging with the unsantized version string, and allowing the
kernel module packaging to be unchanged.

   RPROVIDES_kernel-base += "kernel-${KERNEL_VERSION}"

 % rpm -qp kernel-3.4.3-myver+snapshot-standard-3.4-r0.qemux86.rpm --provides
kernel-3.4.3-MYVER+snapshot_standard
kernel-3.4.3-myver+snapshot-standard = 3.4-r0

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
12 years agoconnman: ship the empty plugins directory in the connman package
Ross Burton [Fri, 6 Jul 2012 11:05:42 +0000 (12:05 +0100)]
connman: ship the empty plugins directory in the connman package

Otherwise we get a QA warning that /usr/lib/connman/packages isn't shipped.

12 years agoconnman: remove some obviously wrong (circa early-GNOME 2?) directories from FILES
Ross Burton [Fri, 6 Jul 2012 11:04:50 +0000 (12:04 +0100)]
connman: remove some obviously wrong (circa early-GNOME 2?) directories from FILES

12 years agoncurses: fix packaging issue in multilib build
Saul Wold [Fri, 6 Jul 2012 21:59:28 +0000 (14:59 -0700)]
ncurses: fix packaging issue in multilib build

ERROR: QA Issue: lib32-ncurses: Files/directories were installed but not shipped
  /usr/bin/clear.ncurses
  /usr/bin/reset.ncurses

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobluez4: fix packaging issue after update
Saul Wold [Fri, 6 Jul 2012 21:57:49 +0000 (14:57 -0700)]
bluez4: fix packaging issue after update

WARNING: QA Issue: bluez4: Files/directories were installed but not shipped
  /usr/share/dbus-1
  /usr/share/dbus-1/system-services
  /usr/share/dbus-1/system-services/org.bluez.service

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackagedata.py: Fix get_subpkgedata_fn for multilib
Matthew McClintock [Fri, 6 Jul 2012 20:08:00 +0000 (15:08 -0500)]
packagedata.py: Fix get_subpkgedata_fn for multilib

This happens when tryng to add libgcc-dev to as a multilib package
(e.g. IMAGE_INSTALL_append = " lib32-libgcc-dev")

| Processing task-core-boot...
| Processing fman-ucode...
| Processing dosfstools...
| Processing lib32-libgcc-dev...
| Unable to find package lib32-libgcc-dev (libgcc-dev)!
NOTE: package fsl-image-full-1.0-r1.1.3.6: task do_rootfs: Failed

RPM (or bitbake?) is looking in the tmp/pkgdata, however some of these file
paths are mungned for the multilib scenario:

$ find tmp/pkgdata/ | grep libgcc-dev$
tmp/pkgdata/ppce5500-fsl-linux/runtime/lib32-libgcc-dev
tmp/pkgdata/ppc64e5500-fsl-linux/runtime/libgcc-dev

This patch fixes where we look for these files so they can be found and
properly installed for the multilib root file system

Signed-off-by: Matthew McClintock <msm@freescale.com>
12 years agoqemu-0.15.1: add patch to fix compilatation problems on powerpc
Matthew McClintock [Fri, 6 Jul 2012 18:15:24 +0000 (13:15 -0500)]
qemu-0.15.1: add patch to fix compilatation problems on powerpc

ERROR: Function failed: do_compile (see /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/temp/log.do_compile.28447 for further information)
ERROR: Logfile of failure stored in: /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/temp/log.do_compile.28447
Log data follows:
| DEBUG: SITE files ['endian-big', 'bit-64', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc64-linux', 'common']
| ERROR: Function failed: do_compile (see /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/temp/log.do_compile.28447 for further information)
| NOTE: make -j 24
|   LINK  ppc-linux-user/qemu-ppc
| /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/sysroots/x86_64-linux/usr/libexec/ppc64e5500-fsl-linux/gcc/powerpc64-fsl-linux/4.6.4/ld:/opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/qemu-0.15.1/ppc64.ld:84: syntax error
| collect2: ld returned 1 exit status
| make[1]: *** [qemu-ppc] Error 1
| make: *** [subdir-ppc-linux-user] Error 2
| make: *** Waiting for unfinished jobs....
| ERROR: oe_runmake failed

Signed-off-by: Matthew McClintock <msm@freescale.com>
12 years agolibxml-parser-perl_2.41.bb: fix MakeMaker issues with using wrong CC/LD/etc
Matthew McClintock [Thu, 5 Jul 2012 19:18:35 +0000 (14:18 -0500)]
libxml-parser-perl_2.41.bb: fix MakeMaker issues with using wrong CC/LD/etc

MakeMaker has a bug where it does not propagate CC/LD/etc information
down to subproject it generates Makefiles for... this recipe has has an
Expat subproject which has issues building if we are using sstate-cache
and it will reference the old sysroots and be unable to build properly.
There is an upstream MakeMaker bug for this issue but we can work around
it by fixing up the Makefiles for now

See:
https://rt.cpan.org/Public/Bug/Display.html?id=28632

Signed-off-by: Matthew McClintock <msm@freescale.com>
12 years agoutils.bbclass: add helper function to add all multilib variants of a specific package
Richard Purdie [Thu, 5 Jul 2012 19:23:11 +0000 (14:23 -0500)]
utils.bbclass: add helper function to add all multilib variants of a specific package

This is useful for the scenario where we want to add 'gcc' to
the root file system for all multilib variants

Signed-off-by: Matthew McClintock <msm@freescale.com>