]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agoconnman-gnome: clean up runtime dependencies
Ross Burton [Wed, 20 Jun 2012 11:27:22 +0000 (12:27 +0100)]
connman-gnome: clean up runtime dependencies

There is no need to recommend Python as it isn't used, and specifying the connman plugins should be done by the image.

Add a dependency on connman itself as otherwise connman-gnome doesn't do much.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman-gnome: fix build depends (Yocto #2556)
Ross Burton [Wed, 20 Jun 2012 11:27:21 +0000 (12:27 +0100)]
connman-gnome: fix build depends (Yocto #2556)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: upgrade to 1.0
Ross Burton [Wed, 20 Jun 2012 11:27:20 +0000 (12:27 +0100)]
connman: upgrade to 1.0

Drop patches that have been merged upstream, or are not relevant any more.

License checksums changed because the (C) years were updated.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: add compat RPROVIDES for older packaging
Ross Burton [Wed, 20 Jun 2012 11:27:19 +0000 (12:27 +0100)]
connman: add compat RPROVIDES for older packaging

wifi, bluetooth and 3g used to be plugins so were packaged separately, but not
anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: rationalise configure options
Ross Burton [Wed, 20 Jun 2012 11:27:18 +0000 (12:27 +0100)]
connman: rationalise configure options

dnsproxy and ntpd don't exist anymore, and the client is almost entirely useless.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogitignore: ignore build*/ entirely
Ross Burton [Wed, 20 Jun 2012 11:47:14 +0000 (12:47 +0100)]
gitignore: ignore build*/ entirely

Previously parts of build*/ were ignored, but unless you committed the top-level
build/ in a branch this didn't achieve anything.  Change that to ignore all
top-level build* directories.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-libc-headers: use kernel-arch to set ARCH
Bruce Ashfield [Wed, 20 Jun 2012 14:54:54 +0000 (10:54 -0400)]
linux-libc-headers: use kernel-arch to set ARCH

linux-libc-headers no longer needs its own ARCH mapping code,
since the mapping done in kernel-arch works and we can
consolidate all arch mapping code in a single place.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Fix a case of sysroot with trailing / and gxx-include-dir leading slash
Khem Raj [Wed, 20 Jun 2012 15:18:39 +0000 (08:18 -0700)]
gcc: Fix a case of sysroot with trailing / and gxx-include-dir leading slash

when using --with-sysroot=/ and --with-gxx-headers=/usr/include/c++
configure eats up one leading / from gxx include dir
fixed thusly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.7: Update to tip of gcc-4_7-branch since 4.7.1 has been out
Khem Raj [Wed, 20 Jun 2012 15:18:37 +0000 (08:18 -0700)]
gcc-4.7: Update to tip of gcc-4_7-branch since 4.7.1 has been out

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: Enable plugins by default
Khem Raj [Wed, 20 Jun 2012 15:18:40 +0000 (08:18 -0700)]
binutils: Enable plugins by default

Plugins work well in 2.22+ so lets enable them
helps with lto

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: Add with-sysroot to target binutils
Khem Raj [Wed, 20 Jun 2012 15:18:38 +0000 (08:18 -0700)]
binutils: Add with-sysroot to target binutils

Also rearrange the recipes to have common bits
in inc files and not include the target bb file
everywhere. This lets us add specific options
to specific recipes particularly target recipe in
this case

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouclibc-git: Upgrade to latest tip of master
Khem Raj [Wed, 20 Jun 2012 15:18:36 +0000 (08:18 -0700)]
uclibc-git: Upgrade to latest tip of master

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorecipes-kernel: remove linux-tools.inc
Bruce Ashfield [Wed, 20 Jun 2012 14:31:41 +0000 (10:31 -0400)]
recipes-kernel: remove linux-tools.inc

perf has been moved to a standalone package, making linux-tools.inc
unecessary. It can now be removed and recipes that included it
updated.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorecipes-kernel: make perf a standalone package
Liang Li [Wed, 20 Jun 2012 14:31:40 +0000 (10:31 -0400)]
recipes-kernel: make perf a standalone package

perf has been coupled to the kernel packages via kernel.bbclass.
While maintaining the build of perf out of the kernel source tree
is desired the package coupling has proved to be awkward in
several situations such as:

  - when a kernel recipe doesn't want to build/provide perf
  - when licensing of dependencies would prohibit perf and hence
    the kernel from being built.

To solve some of these problems, this recipe is the extraction of
the linux-tools.inc provided perf compilation into a standalone
perf recipe that builds out of the kernel source, but is otherwise
independent.

No new functionality is provided above what the linux-tools.inc
variant provided, but the separate recipe provides baseline for
adding new functionality.

Signed-off-by: Liang Li <liang.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel: save $kerndir/tools and $kerndir/lib from pruning
Bruce Ashfield [Wed, 20 Jun 2012 14:31:39 +0000 (10:31 -0400)]
kernel: save $kerndir/tools and $kerndir/lib from pruning

The kernel source tree in the sysroot has all unecessary source
code removed. The existing use case is to support module building
out of the sysroot, but as more toolsa are moved into the kernel
tree itself there are new use cases for the kernel sysroot source.

To avoid putting dependencies on the kernel, and to be able to
individually build and package these tools out of the source tree,
we can save $kerndir/tools and $kernddir/lib from being removed.
This enables tools like perf to be built our of the kernel source
in the sysroot, without significantly increasing the amount of
source in the sysroot.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm.bbclass: fix incremental rpm generation
Robert Yang [Thu, 21 Jun 2012 02:30:00 +0000 (10:30 +0800)]
package_rpm.bbclass: fix incremental rpm generation

Fixes:
* Remove the "echo '# Remove manifest padding....' > remove.manifest,
  The remove.manifest would be used via "rpm -e `remove.manifest`",
  there would be error since there is no pkg called: Remove, manifest or
  padding

* The incremental.manifest can't be null when used by rpm, so check it
  before use.

* The rpm needs:
--root "${target_rootfs}/install"
  when use:
-D "_dbpath ${target_rootfs}/install"
  Otherwise it would use the ${target_rootfs} as the root, and use the
  ${target_rootfs}/var/lib/rpm as the dbpath, this is OK in a fresh
  installation, but there would be errors when increment rpm generation.

[YOCTO #2617]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg-utils: bump SRCREV
Martin Jansa [Thu, 21 Jun 2012 05:53:18 +0000 (07:53 +0200)]
opkg-utils: bump SRCREV

* there are 2 small fixes
  python-2.6 compatibility
  missing C option for opkg-build

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext 0.16.1: Update FILES for post PACKAGE reoder
Saul Wold [Tue, 19 Jun 2012 22:39:59 +0000 (15:39 -0700)]
gettext 0.16.1: Update FILES for post PACKAGE reoder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibpcre: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:30:30 +0000 (05:30 -0700)]
libpcre: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoconf/bitbake.conf: fix reparsing after -p is used
Paul Eggleton [Mon, 18 Jun 2012 17:55:56 +0000 (18:55 +0100)]
conf/bitbake.conf: fix reparsing after -p is used

The bitbake wrapper script is set up such that the -p (--parse-only)
command line option is not executed under pseudo, and it sets the
PSEUDO_BUILD variable to indicate whether or not pseudo is being used.
Since PSEUDO_BUILD is allowed through into the environment via
BB_ENV_EXTRAWHITE it influences the data hash and thus if you run
"bitbake -p" and then run bitbake again to actually build something, the
change to PSEUDO_BUILD causes the cache from the -p execution not to be
used. This is fixed simply by adding PSEUDO_BUILD to
BB_HASHCONFIG_WHITELIST in bitbake.conf so that it doesn't influence the
data hash.

Fixes [YOCTO #2600].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
12 years agoclasses/cml1: ensure -c menuconfig forces a rebuild next time
Paul Eggleton [Mon, 18 Jun 2012 15:50:50 +0000 (16:50 +0100)]
classes/cml1: ensure -c menuconfig forces a rebuild next time

Ensure the following results in the kernel being rebuilt, repackaged and
re-deployed in the final step:

bitbake virtual/kernel
bitbake -c menuconfig virtual/kernel
[ make changes to the kernel configuration and save ]
bitbake virtual/kernel

If there are no changes to the configuration saved, the rebuild will not
be triggered.

Note that this relies on a function recently added to BitBake and
requires full hashing (i.e. BB_SIGNATURE_HANDLER must be set to a
signature handler that inherits from BasicHash) - if this is not the
case or the function is not available in the version of BitBake being
used this change will do nothing.

Fixes [YOCTO #2256].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
12 years agoopenssl: add deprecated and unmaintained find.pl from perl-5.14 to fix perlpath.pl
Martin Jansa [Sat, 16 Jun 2012 06:43:35 +0000 (08:43 +0200)]
openssl: add deprecated and unmaintained find.pl from perl-5.14 to fix perlpath.pl

* openembedded-core/meta/recipes-connectivity/openssl/openssl.inc
*
* is using perlpath.pl:
*
*   do_configure () {
*           cd util
*           perl perlpath.pl ${STAGING_BINDIR_NATIVE}
*   ...
*
* and perlpath.pl is using find.pl:
* openssl-1.0.0i/util/perlpath.pl:
*   #!/usr/local/bin/perl
*   #
*   # modify the '#!/usr/local/bin/perl'
*   # line in all scripts that rely on perl.
*   #
*
*   require "find.pl";
*   ...
*
* which was removed in perl-5.16.0 and marked as deprecated and
* unmaintained in 5.14 and older:
* /tmp/usr/lib/perl5/5.14.2/find.pl:
*   warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl
*   core distribution in the next major release. Please install it from the
*   CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]},
*   line @{[(caller)[2]]}.\n";
*
*   # This library is deprecated and unmaintained. It is included for
*   # compatibility with Perl 4 scripts which may use it, but it will be
*   # removed in a future version of Perl. Please use the File::Find module
*   # instead.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12 years agokernel.bbclass: pass KERNEL_VERSION to depmod calls in postinst
Martin Jansa [Tue, 19 Jun 2012 07:42:10 +0000 (09:42 +0200)]
kernel.bbclass: pass KERNEL_VERSION to depmod calls in postinst

* without this, kernel upgrades where KERNEL_VERSION is changed
  e.g. 3.4.2 -> 3.4.3 generate .dep for running 3.4.2 and after reboot user ends
  up without any module loaded to make it worse after reboot nothing is upgraded
  to trigger another kernel(-module) postinst to generate .dep for now running 3.4.3

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12 years agolibpcre: Clean up FILES_* after PACKAGES reoder
Saul Wold [Tue, 19 Jun 2012 15:41:08 +0000 (08:41 -0700)]
libpcre:  Clean up FILES_* after PACKAGES reoder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibevent: disable openssl by default
Saul Wold [Mon, 18 Jun 2012 23:28:45 +0000 (16:28 -0700)]
libevent: disable openssl by default

This creates a more deterministic build and also reduces the size of this library.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoPR bumps for PACKAGES reorder
Saul Wold [Mon, 18 Jun 2012 19:51:21 +0000 (12:51 -0700)]
PR bumps for PACKAGES reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocurl: Clean up FILES_* after PACKAGES reoder
Saul Wold [Mon, 18 Jun 2012 19:03:18 +0000 (12:03 -0700)]
curl: Clean up FILES_* after PACKAGES reoder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoman-pages: Clean up FILES_* after PACKAGES reoder
Saul Wold [Mon, 18 Jun 2012 18:22:28 +0000 (11:22 -0700)]
man-pages: Clean up FILES_* after PACKAGES reoder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agohdparam: Clean up FILES_* after PACKAGES reoder
Saul Wold [Mon, 18 Jun 2012 18:04:34 +0000 (11:04 -0700)]
hdparam: Clean up FILES_* after PACKAGES reoder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogrub: Clean up FILES_* after PACKAGES reoder
Saul Wold [Mon, 18 Jun 2012 18:01:35 +0000 (11:01 -0700)]
grub: Clean up FILES_* after PACKAGES reoder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibtool: add ${PN} in middle of package list to ensure .m4 get with ${PN}
Saul Wold [Wed, 13 Jun 2012 20:56:29 +0000 (13:56 -0700)]
libtool: add ${PN} in middle of package list to ensure .m4 get with ${PN}

With the new order scheme, ${PN} needs to be in the middle
for the .m4 files to be packaged, otherwise the move the
-dev package which is wrong in this case.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowebkit-gtk: remove /usr/libexec since it's empty
Saul Wold [Thu, 7 Jun 2012 05:14:28 +0000 (22:14 -0700)]
webkit-gtk: remove /usr/libexec since it's empty

This was discovered due to the package reorganization

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agojs: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 07:47:27 +0000 (00:47 -0700)]
js: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolttng-viewer: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 07:47:07 +0000 (00:47 -0700)]
lttng-viewer: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibidn: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 07:46:51 +0000 (00:46 -0700)]
libidn: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogtk-sato-engine: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:27:38 +0000 (18:27 -0700)]
gtk-sato-engine: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agofreetype: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:26:20 +0000 (18:26 -0700)]
freetype: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogthumb: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:25:19 +0000 (18:25 -0700)]
gthumb: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoslang: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:24:54 +0000 (18:24 -0700)]
slang: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agognome-keyring: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:24:35 +0000 (18:24 -0700)]
gnome-keyring: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoprocps: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:23:25 +0000 (18:23 -0700)]
procps: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocups: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:22:53 +0000 (18:22 -0700)]
cups: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogettext: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:22:42 +0000 (18:22 -0700)]
gettext: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoicu: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:22:19 +0000 (18:22 -0700)]
icu: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogroff: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:21:39 +0000 (18:21 -0700)]
groff: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibxml2: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:52:41 +0000 (05:52 -0700)]
libxml2: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibpng: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:47:02 +0000 (05:47 -0700)]
libpng: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodb: Ensure the library version matches package version
Saul Wold [Tue, 12 Jun 2012 23:19:47 +0000 (16:19 -0700)]
db: Ensure the library version matches package version

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agognutls: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:42:11 +0000 (05:42 -0700)]
gnutls: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogpgme: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:33:59 +0000 (05:33 -0700)]
gpgme: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibgcrypt: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:32:53 +0000 (05:32 -0700)]
libgcrypt: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibgpg-error: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:31:51 +0000 (05:31 -0700)]
libgpg-error: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibproxy: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:25:00 +0000 (05:25 -0700)]
libproxy: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibusb-compat: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:19:03 +0000 (05:19 -0700)]
libusb-compat: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopth: clean-up FILES list due to PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:17:43 +0000 (05:17 -0700)]
pth: clean-up FILES list due to PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotaglib: correct location of taglib-config to -dev
Saul Wold [Tue, 5 Jun 2012 12:16:20 +0000 (05:16 -0700)]
taglib: correct location of taglib-config to -dev

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc-package: Update PACKAGES and files based on new ordering
Saul Wold [Tue, 5 Jun 2012 12:05:51 +0000 (05:05 -0700)]
eglibc-package: Update PACKAGES and files based on new ordering

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopmutils: reorder file for correctness
Saul Wold [Tue, 5 Jun 2012 11:56:40 +0000 (04:56 -0700)]
pmutils: reorder file for correctness

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobitbake.conf: add PN-bin and cleanup lib_package.bbclass
Saul Wold [Wed, 6 Jun 2012 08:16:39 +0000 (01:16 -0700)]
bitbake.conf: add PN-bin and cleanup lib_package.bbclass

Since we now have PN as the end of the package list, we can almost get rid of
lib_package, each recipe can just add PACKAGES =+ PN-bin instead of the inherit

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolib_package: remove the -dev list
Saul Wold [Tue, 5 Jun 2012 12:03:30 +0000 (05:03 -0700)]
lib_package: remove the -dev list

Since we have re-order the full PACKAGES list, we do not need to reset
the -dev list, we still need this since the -bin package needs to be inserted.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobinconfig: add *-config files to the -dev package
Saul Wold [Tue, 5 Jun 2012 11:54:09 +0000 (04:54 -0700)]
binconfig: add *-config files to the -dev package

This is part of the the package reorder, by having binconfig add -config
will the files first due to the order being greedy.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobitbake.conf: reorder PACKAGES list
Saul Wold [Tue, 5 Jun 2012 11:52:21 +0000 (04:52 -0700)]
bitbake.conf: reorder PACKAGES list

This change re-orders the PACKAGES list to move PN to the end of the list
this will ensure that base package gets the final bits since the packaging
is greedy. We can then have -dev and other package get bits first.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocurl: Use gnutls for target and openssl for native
Saul Wold [Fri, 15 Jun 2012 22:05:41 +0000 (15:05 -0700)]
curl: Use gnutls for target and openssl for native

Since gnutls is available on the target use it, but we do not build gnutls for
the native side as it adds too many dependecies, so use openssl.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodebian.bbclass: invoke target objdump
James Limbouris [Mon, 18 Jun 2012 02:33:33 +0000 (10:33 +0800)]
debian.bbclass: invoke target objdump

Using the host objdump can lead to errors like:

objdump: library.so.1.0.0: File format is ambiguous
objdump: Matching formats: elf32-littlearm elf32-littlearm-symbian elf32-littlearm-vxworks

with certain configurations of binutils.

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotzdata, matchbox-session, mini-x-session: replace RCONFLICTS with RCONFLICTS_
Martin Jansa [Sat, 16 Jun 2012 18:08:19 +0000 (20:08 +0200)]
tzdata, matchbox-session, mini-x-session: replace RCONFLICTS with RCONFLICTS_

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorecipes: replace CONFLICTS with RCONFLICTS_${PN}
Martin Jansa [Sat, 16 Jun 2012 18:08:18 +0000 (20:08 +0200)]
recipes: replace CONFLICTS with RCONFLICTS_${PN}

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4-embedded: fix QT_ARCH usage in QT_CONFIG_FLAGS
Anders Darander [Sun, 17 Jun 2012 11:31:46 +0000 (13:31 +0200)]
qt4-embedded: fix QT_ARCH usage in QT_CONFIG_FLAGS

After the change to shell style functions (from python style), the
ability to use oe_filter_out on QT_CONFIG_FLAGS got broken.

This patch solves that by referring to QT_ARCH in a more correct way.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomdadm: Don't depend on ansidecl.h header
Saul Wold [Mon, 18 Jun 2012 00:13:07 +0000 (17:13 -0700)]
mdadm: Don't depend on ansidecl.h header

We don't DEPEND on binutils for ansidecl.h so ensure we should never use the header.
This makes builds determinstic and means something like:

bitbake binutils
bitbake mdadm -c compile
bitbake binutils -c clean
bitbake libxml2

doen't fail to build.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodirectfb: fix Upstream-status -> Upstream-Status
Saul Wold [Fri, 15 Jun 2012 21:44:14 +0000 (14:44 -0700)]
directfb: fix Upstream-status -> Upstream-Status

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocleanup-workdir: update help text
Kang Kai [Fri, 15 Jun 2012 03:22:57 +0000 (11:22 +0800)]
cleanup-workdir: update help text

Update the help text to tell user that the files and dirs under WORKDIR
which are not created by Yocto will be deleted.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
12 years agocleanup-workdir: only deal dirs related to current arch
Kang Kai [Fri, 15 Jun 2012 03:06:54 +0000 (11:06 +0800)]
cleanup-workdir: only deal dirs related to current arch

Some users may build for different archs under same workdir, so they
don't want to clean the dirs not related to current arch.

Run command 'bitbake -e' with selected packages to get the dirs related
to current arch then clean them.

Update the way to get the WORKDIR by parsing the IMAGE_ROOTFS by the
way.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
12 years agocleanup-workdir: replace commands with subprocess
Kang Kai [Fri, 15 Jun 2012 02:56:11 +0000 (10:56 +0800)]
cleanup-workdir: replace commands with subprocess

Use modules subprocess to run command instead of module commands.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
12 years agocleanup-workdir: update the way to check obsolete dirs
Kang Kai [Fri, 15 Jun 2012 02:20:18 +0000 (10:20 +0800)]
cleanup-workdir: update the way to check obsolete dirs

Update the way to check obsolete directories.

According to package and its version construct a list of all packages'
current build directory. If any directory under $WORKDIR/*/ is not in
the list will be removed.

At same time, all the files(vs. directory) under $WORKDIR and
$WORKDIR/*/ will be removed because they are not created by poky.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
12 years agometa-skeleton: add linux-yocto-custom reference recipe
Bruce Ashfield [Mon, 11 Jun 2012 20:21:12 +0000 (16:21 -0400)]
meta-skeleton: add linux-yocto-custom reference recipe

Adding a skeleton/refrence recipe for using a subset of the yocto
kernel tools against kernel git repositories.

Sample/reference configuration fragments, features and a patch are
provided and documented in the recipe.

From the recipe itself:

   Provides an example/minimal kernel recipe that uses the linux-yocto
   and oe-core kernel classes to apply a subset of yocto kernel
   management to git managed kernel repositories.

 Notes:

   kconfig(s): the kernel must be configured with a defconfig, or via
               configuration fragment(s). Either of these can be added
               via bbappend.
   patches: patches can be merged into to the source git tree itself, added
            using standard bbappend syntax or controlled via .scc feature
            descriptions (also via bbappends)

   example configuration addition:
            SRC_URI += "file://smp.cfg"
   example patch addition (for kernel v3.4 only):
            SRC_URI += "file://0001-linux-version-tweak.patch
   example feature addition (for kernel v3.4 only):
            SRC_URI += "file://feature.scc"

 Warning:

   Building the sample kernel tree (kernel.org) without providing any
   configuration will result in build or boot errors. This is not a bug
   it is a required element for creating a valid kernel.

[YOCTO #2397]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
12 years agolibzypp: Fix build with uclibc
Khem Raj [Mon, 4 Jun 2012 22:09:10 +0000 (15:09 -0700)]
libzypp: Fix build with uclibc

cstdio is included indrectly with eglibc based systems
but not with uclibc based systems and use of functions
like ::eof are then reported as warnings. Therefore
we include cstdio explicitly.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agobusybox: Fix syslog configuration file
Mark Hatle [Thu, 14 Jun 2012 19:50:59 +0000 (14:50 -0500)]
busybox: Fix syslog configuration file

When update alternatives was modified, the syslog configuration file
alternative was incorrectly defined to be "busybox".  Fix this by
enabling the proper target file.

[YOCTO #2557]

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
12 years agocore-image-gtk-directfb, qt4e-demo-image: Remove module-init-tools from IMAGE_INSTALL...
Laurentiu Palcu [Thu, 14 Jun 2012 13:01:05 +0000 (16:01 +0300)]
core-image-gtk-directfb, qt4e-demo-image: Remove module-init-tools from IMAGE_INSTALL list

As module-init-tools package does not exist anymore there's no reason to
have it in the IMAGE_INSTALL package list. If RPM package manager is
used, build will fail with:

Unable to find package module-init-tools (module-init-tools)!

[Yocto #2580]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agogcc-cross: argument list too long when do_install
Robert Yang [Thu, 14 Jun 2012 02:21:07 +0000 (10:21 +0800)]
gcc-cross: argument list too long when do_install

There would be an "Argument list too long" error when the length of
tmpdir is longer than 190, this is caused by:

headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u`

The PLUGIN_HEADERS is too long before sort, so the "echo" can't handle
it, use the $(sort list) of GNU make which can handle the too long list
would fix the problem, the header would be short enough after sorted.
The "tr ' ' '\012'" was used for translating the space to "\n", the
$(sort list) doesn't need this.

This doesn't impact the output, so it doesn't need the PR bump.

[YOCTO #2591]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12 years agolsbinitscripts: Add the header for functions.patch
Xiaofeng Yan [Fri, 15 Jun 2012 09:30:42 +0000 (17:30 +0800)]
lsbinitscripts: Add the header for functions.patch

Add upstream-status and signed-off-by to functions.patch

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib.conf: Add the support of multilib for lsbinitscripts
Xiaofeng Yan [Fri, 15 Jun 2012 09:30:40 +0000 (17:30 +0800)]
multilib.conf: Add the support of multilib for lsbinitscripts

Add the multilib support for this package to multilib.conf because error will
appear when building an lib32-core-image-lsb without this patch.

[YOCTO #2571]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopuzzles: upgrade to r9561
Laurentiu Palcu [Fri, 15 Jun 2012 12:54:49 +0000 (15:54 +0300)]
puzzles: upgrade to r9561

Minor change in LICENCE file:

-This software is copyright (c) 2004-2010 Simon Tatham.
+This software is copyright (c) 2004-2012 Simon Tatham.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibzypp: Define OECMAKE_CXX_LINK_FLAGS when compiling for uclibc
Khem Raj [Thu, 7 Jun 2012 01:32:33 +0000 (18:32 -0700)]
libzypp: Define OECMAKE_CXX_LINK_FLAGS when compiling for uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agozypper: Fix build on uclibc
Khem Raj [Thu, 7 Jun 2012 01:28:02 +0000 (18:28 -0700)]
zypper: Fix build on uclibc

uclibc does not have rpmatch() so we define
it if zypper is being compiled for uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agorpm: pass lrt and lpthread to link step explicitly for uclibc
Khem Raj [Thu, 7 Jun 2012 01:20:43 +0000 (18:20 -0700)]
rpm: pass lrt and lpthread to link step explicitly for uclibc

These need to appear in DT_NEEDED for librpmio.so
for uclibc somehow it does not get added to link
cmdline so we do it explicitly.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agolibzypp: Fix build with uclibc
Khem Raj [Mon, 4 Jun 2012 22:09:10 +0000 (15:09 -0700)]
libzypp: Fix build with uclibc

cstdio is included indrectly with eglibc based systems
but not with uclibc based systems and use of functions
like ::eof are then reported as warnings. Therefore
we include cstdio explicitly.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agosat-solver: Fix build on uclibc
Khem Raj [Mon, 4 Jun 2012 22:06:52 +0000 (15:06 -0700)]
sat-solver: Fix build on uclibc

futimes is not available on uclibc so use utimes
qsort is also not as expected by sat-solver therefore
for uclibc we resort to using internal version of
qsort

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agorpm: Use link time check for libssp
Khem Raj [Mon, 4 Jun 2012 22:02:13 +0000 (15:02 -0700)]
rpm: Use link time check for libssp

-fstack-protector needs libssp to link with
so when checking for this option support we
need to find if libssp is staged in root file
system

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agorpm: Fix compilation on uclibc
Khem Raj [Thu, 31 May 2012 22:51:52 +0000 (15:51 -0700)]
rpm: Fix compilation on uclibc

rpmatch is not there in uclibc therefore add logic to configure
to detect it.

x* wrappers need to be defined for uclibc as well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agosite/x86_64-linux-uclibc: Cache definitions of guint32/guint64
Khem Raj [Mon, 11 Jun 2012 23:44:19 +0000 (16:44 -0700)]
site/x86_64-linux-uclibc: Cache definitions of guint32/guint64

Without this glib 2.32.x wont build.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agouclibc_0.9.33.bb: Upgrade to latest git
Khem Raj [Thu, 14 Jun 2012 21:55:59 +0000 (14:55 -0700)]
uclibc_0.9.33.bb: Upgrade to latest git

This is needed otherwise glib-2.0 wont run
correctly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agodirectfb: added missing Upstream-status
Laurentiu Palcu [Fri, 15 Jun 2012 12:54:48 +0000 (15:54 +0300)]
directfb: added missing Upstream-status

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopango: added upstream-status status.
Lianhao Lu [Fri, 15 Jun 2012 01:53:35 +0000 (09:53 +0800)]
pango: added upstream-status status.

Added missing upstream status.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistrodata: cleanup after moving distro_tracking_fields
Saul Wold [Thu, 14 Jun 2012 21:54:34 +0000 (14:54 -0700)]
distrodata: cleanup after moving distro_tracking_fields

Remove some of the older fields that are not in the new list as we
are able to better automagically generate this directly from the
recipe files the extra files will go away.

To use this, one will have to include the appropirate files, such
as maintainers.inc, upstream_status.inc

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostrace: update to 4.7
Bogdan Marinescu [Tue, 12 Jun 2012 07:59:08 +0000 (10:59 +0300)]
strace: update to 4.7

Removed the x32 specific patches, since they seem to be fully
integrated into 4.7. Also removed the sigmask patch, since the
new version doesn't seem to use sigmask anymore.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
12 years agobeecrypt: add patch for build issue on Fedora 17
Saul Wold [Wed, 13 Jun 2012 05:18:29 +0000 (22:18 -0700)]
beecrypt: add patch for build issue on Fedora 17

../../x86_64-linux-libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include  -isystem/intel/poky/builds/f17/tmp/sysroots/x86_64-linux/usr/include  -isystem/intel/poky/builds/f17/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -Wa,--noexecstack -c -o Properties.lo Properties.cxx
x86_64-linux-libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -isystem/intel/poky/builds/f17/tmp/sysroots/x86_64-linux/usr/include -isystem/intel/poky/builds/f17/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -Wa,--noexecstack -c Properties.cxx  -fPIC -DPIC -o .libs/Properties.o
In file included from ../../include/beecrypt/c++/util/Hashtable.h:42:0,
                 from ../../include/beecrypt/c++/util/Properties.h:36,
                 from Properties.cxx:25:
../../include/beecrypt/c++/util/AbstractSet.h: In instantiation of 'bool beecrypt::util::AbstractSet<E>::equals(const beecrypt::lang::Object*) const [with E = beecrypt::util::Map<beecrypt::lang::Object, beecrypt::lang::Object>::Entry]':
Properties.cxx:228:1:   required from here
../../include/beecrypt/c++/util/AbstractSet.h:59:27: error: 'containsAll' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: declarations in dependent base 'beecrypt::util::AbstractCollection<beecrypt::util::Map<beecrypt::lang::Object, beecrypt::lang::Object>::Entry>' are not found by unqualified lookup
../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: use 'this->containsAll' instead
../../include/beecrypt/c++/util/AbstractSet.h: In instantiation of 'bool beecrypt::util::AbstractSet<E>::equals(const beecrypt::lang::Object*) const [with E = beecrypt::lang::Object]':
Properties.cxx:228:1:   required from here
../../include/beecrypt/c++/util/AbstractSet.h:59:27: error: 'containsAll' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: declarations in dependent base 'beecrypt::util::AbstractCollection<beecrypt::lang::Object>' are not found by unqualified lookup
../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: use 'this->containsAll' instead

[YOCTO #2593]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogcc-target: ensure target packages have the correct virtual package names
Saul Wold [Thu, 14 Jun 2012 14:55:02 +0000 (07:55 -0700)]
gcc-target: ensure target packages have the correct virtual package names

Resolves this error during do_rootfs:
|  * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-core-standalone-sdk-target:
|  * eglibc (>= 2.15) *
|  * opkg_install_cmd: Cannot install package task-core-standalone-sdk-target.
NOTE: package core-image-sato-sdk-1.0-r0: task do_rootfs: Failed

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc: added ac_cv_path_ to CACHED_CONFIGUREVARS
Saul Wold [Wed, 13 Jun 2012 23:39:49 +0000 (16:39 -0700)]
eglibc: added ac_cv_path_ to CACHED_CONFIGUREVARS

On Fedora 17, bash has moved to /usr/bin/bash and the configure process finds it
on the host machine there, this ensures that it is set correctly for the target.

[YOCTO #2363]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoquilt: added ac_cv_path_BASH to CACHED_CONFIGUREVARS
Saul Wold [Wed, 13 Jun 2012 23:39:24 +0000 (16:39 -0700)]
quilt: added ac_cv_path_BASH to CACHED_CONFIGUREVARS

On Fedora 17, bash has moved to /usr/bin/bash and the configure process finds it
on the host machine there, this ensures that it is set correctly for the target.

[YOCTO #2363]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocurl: enable ssl support
Saul Wold [Thu, 7 Jun 2012 12:00:00 +0000 (05:00 -0700)]
curl: enable ssl support

This patch enables ssl support for curl to allow git to clone from
https / ssl sites. We do not want to enable gnutls for native or
nativesdk, as it adds additional dependency and increase build time

[YOCTO #2532]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobusybox: Add check for wifi/bluetooth to enable rfkill
Saul Wold [Wed, 6 Jun 2012 07:27:14 +0000 (00:27 -0700)]
busybox: Add check for wifi/bluetooth to enable rfkill

rfkill is a usefull tool when you have a device with bluetooth and wifi enabled

[YOCTO #2494]

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