scm/bb/tizen-distro.git
12 years agobitbake: lib/bb/siggen.py: log when tainting the signature of a task
Paul Eggleton [Thu, 21 Jun 2012 17:28:47 +0000 (18:28 +0100)]
bitbake: lib/bb/siggen.py: log when tainting the signature of a task

Log a note when applying a taint to a task signature (e.g. when using
the -f or -C command line options) so that the user knows this has been
done.

(Bitbake rev: 0fd960fdea83874eedb541cbc2920257e0f3fb81)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake: tweak help text for -C slightly
Paul Eggleton [Thu, 21 Jun 2012 17:28:46 +0000 (18:28 +0100)]
bitbake: bitbake: tweak help text for -C slightly

What is specified is a command (or "cmd" as in the help text for -f)
rather than a task - i.e. you specify compile, not do_compile, so change
the sentence to reflect that and reorder it slightly so it makes sense.

(Bitbake rev: 9ab269410ef5cd4753fe11ec74759f421685bb7b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf/abi_version.conf: Update to use BasicHash signature generator
Richard Purdie [Fri, 22 Jun 2012 14:04:27 +0000 (15:04 +0100)]
bitbake.conf/abi_version.conf: Update to use BasicHash signature generator

This switches to use the hash based signature generatior and update
layout_abi to match stamp file layout changes.

Angstrom and Poky did this a while ago. This brings the OE-Core defaults
into line with what is the best common practise at this point. Its been
discussed on the mailing lists and by the TSC at length, this just completes
the transition.

(From OE-Core rev: 4199efed48005a62267fa3374c33b13627d85f44)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolayer.conf/bblayers.conf.sample: Fix empty BBPATH entry warnings
Richard Purdie [Fri, 22 Jun 2012 13:33:12 +0000 (14:33 +0100)]
layer.conf/bblayers.conf.sample: Fix empty BBPATH entry warnings

(From OE-Core rev: 3d379929d119ee59b233116c5392441c625355f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoguile: fix compilation on MIPS/PPC
Bogdan Marinescu [Thu, 21 Jun 2012 11:39:53 +0000 (14:39 +0300)]
guile: fix compilation on MIPS/PPC

This commit fixes the guile compilation segfault on MIPS/PPC.
Tested by compiling guile with MACHINE=qemumips.

[Yocto #2478]

(From OE-Core rev: e2cc4a44d510e0d473d15f207c1c886db6a5ccf7)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosato-icon-theme: inherit the GNOME icon theme (Yocto #2594)
Ross Burton [Thu, 21 Jun 2012 10:57:56 +0000 (11:57 +0100)]
sato-icon-theme: inherit the GNOME icon theme (Yocto #2594)

Many apps want to use the full GNOME icon theme and install it, but if our theme
doesn't inherit it the the icons are not available.

(From OE-Core rev: bece29110ead367fe501641ec83251e5f87f2430)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2/git.py: Optimize clone fall back when it is local
Jason Wessel [Thu, 14 Jun 2012 21:44:02 +0000 (16:44 -0500)]
bitbake: fetch2/git.py: Optimize clone fall back when it is local

A file:// url should use "clone -l" to greatly speed
up the clone in the case of a kernel when it is local.

(Bitbake rev: 2bab2cc3ffe67ee2a308074a6e4c2c7be5636d2f)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: ui/depexp.py: use the new progressbar in Hob
Kang Kai [Tue, 19 Jun 2012 09:39:18 +0000 (17:39 +0800)]
bitbake: ui/depexp.py: use the new progressbar in Hob

[Yocto 2149]

Use the new progressbar in Hob, so that we can reduce the maintenance
burden of the multiple GUIs.

(Bitbake rev: 6c0da26adbdcaa0c56737bacddb61678a9095e32)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Update replace_uri to handle uri types explicitly
Richard Purdie [Wed, 20 Jun 2012 16:37:22 +0000 (16:37 +0000)]
bitbake: fetch2: Update replace_uri to handle uri types explicitly

For mirror mapping, we never use regexps for the type component of
the url. Doing so causes various slightly bizarre behaviour such as
https:// urls being translated to files:// urls which we have no handler
for. This patch forces the type matches to be direct, not regexp based
and gives the expected bahvriour.

(From Poky rev: 695d8aca0999d2d61970b990e83c3132ba6f12cb)

(Bitbake rev: 604df1b25cf114e083f52917df2df64e01279c25)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: test/fetch: Add a couple of extra test cases
Richard Purdie [Wed, 20 Jun 2012 15:10:20 +0000 (15:10 +0000)]
bitbake: test/fetch: Add a couple of extra test cases

(From Poky rev: 01d8220ef8580ca980a14c05d500765ca2d37e2c)

(Bitbake rev: 0d0a12fa0e4dabf01c1c24370aff54d26690a6dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: test/fetch: Add in unit tests for uri_replace() and git premirrors
Richard Purdie [Wed, 20 Jun 2012 13:02:08 +0000 (13:02 +0000)]
bitbake: test/fetch: Add in unit tests for uri_replace() and git premirrors

(From Poky rev: 4be81b5cadb7813d37152411c23764501f5869d3)

(Bitbake rev: f91b4c2e3a2b3029d653a18de7ae2b0ecd7e2536)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: uri_replace() only consider ud.localpath where its a file
Richard Purdie [Wed, 20 Jun 2012 12:59:31 +0000 (12:59 +0000)]
bitbake: fetch2: uri_replace() only consider ud.localpath where its a file

Using ud.localpath as a basename when it points at a directory causes
problems. The supports_checksum() method gives a good indication of whether
ud.localpath can be used in the way we need.

(From Poky rev: 933ec8a44634e33f92f6f76de3a34094c3d63aa6)

(Bitbake rev: dcd79ae20ab2c72c3312b2251c2b6dc4cabe988e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: uri_replace() improve mirrortarball handling
Richard Purdie [Wed, 20 Jun 2012 12:58:04 +0000 (12:58 +0000)]
bitbake: fetch2: uri_replace() improve mirrortarball handling

We only consider mirror tarballs when the source and target urls are of
differing types. We also should clear all url paramters when handling
mirror tarballs.

(From Poky rev: da140b8b0b3dda5429f9eee68829ef5247cdfe12)

(Bitbake rev: 7619dcad29a6c2405b15a8fbadfa11e81b399ae1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: uri_replace() remove what amounts to a null operation and add some...
Richard Purdie [Wed, 20 Jun 2012 12:57:15 +0000 (12:57 +0000)]
bitbake: fetch2: uri_replace() remove what amounts to a null operation and add some comments

(From Poky rev: 6d67200d052ba72258f5a0a178542ef99500a9cc)

(Bitbake rev: e67af4d12f390ce6083965509ca9ea85a76dc351)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Add parameter handling to uri_replace()
Richard Purdie [Wed, 20 Jun 2012 12:55:11 +0000 (12:55 +0000)]
bitbake: fetch2: Add parameter handling to uri_replace()

This means that parameters in the source expression are used as part of the
match. Parameters in the destination are used explicitly in the final
url.

(From Poky rev: c465cb0c5c927dd41d96ad6d6fa1566349574bb7)

(Bitbake rev: 3c468ac3ed6d045561afce19b85ae9dd18d87cea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Remove basestring test and simplify uri_replace
Richard Purdie [Wed, 20 Jun 2012 12:54:46 +0000 (12:54 +0000)]
bitbake: fetch2: Remove basestring test and simplify uri_replace

(From Poky rev: d5657883d34bfef6beec594ac8d799f617b6b3ad)

(Bitbake rev: 84ffc261f376429b3a6b5d7bf2f6217cd10ca12a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Simplify some looping constructs in uri_replace()
Richard Purdie [Wed, 20 Jun 2012 12:52:53 +0000 (12:52 +0000)]
bitbake: fetch2: Simplify some looping constructs in uri_replace()

(From Poky rev: c6bd25150a842a530f958d7233b15ae50d42c6c8)

(Bitbake rev: 075296f3e5e5e3662290a888a6ba11229a36b95a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Improve mirror looping to consider more cases
Richard Purdie [Wed, 20 Jun 2012 12:49:39 +0000 (12:49 +0000)]
bitbake: fetch2: Improve mirror looping to consider more cases

Currently we only consider one pass through the mirror list. This doesn't
catch cases where for example you might want to setup a mirror of a mirror
and allow multiple redirection. There is no reason we can't support this
and the patch loops through the list recursively now.

As a safeguard, it will stop if any duplicate urls are found, hence
avoiding circular dependency looping.

(From Poky rev: 0ec0a4412865e54495c07beea1ced8355da58073)

(Bitbake rev: e585730e931e6abdb15ba8a3849c5fd22845b891)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Explicitly check for mirror tarballs in mirror handling code
Richard Purdie [Wed, 20 Jun 2012 12:47:42 +0000 (12:47 +0000)]
bitbake: fetch2: Explicitly check for mirror tarballs in mirror handling code

With support for things like git:// -> git:// urls, we need to be
more explicity about the mirrortarball check since we need to fall
through to the following code in other cases.

(From Poky rev: 28e858cd6f7509468ef3e527a86820b9e06044db)

(Bitbake rev: a2459f5ca2f517964287f9a7c666a6856434e631)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Split try_mirrors into two parts
Richard Purdie [Wed, 20 Jun 2012 12:46:32 +0000 (12:46 +0000)]
bitbake: fetch2: Split try_mirrors into two parts

There are no functionality changes in this change

(From Poky rev: d222ebb7c75d74fde4fd04ea6feb27e10a862bae)

(Bitbake rev: db62e109cc36380ff8b8918628c9dea14ac9afbc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Ensure when downloading we are consistently in the same directory
Richard Purdie [Wed, 20 Jun 2012 12:40:02 +0000 (12:40 +0000)]
bitbake: fetch2: Ensure when downloading we are consistently in the same directory

This assists with build reproducuility. It also avoids errors if cwd
happens not to exist when we call into the fetcher. That situation
would be unusual but I hit it with the unit tests.

(From Poky rev: 86517af9e066c2da1d580fa66b7c7f0340f3403e)

(Bitbake rev: b886c6c15a58643e06ca5ad7a3ff1f7766e4f48c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Only cache data if fn is set, its pointless caching it against a...
Richard Purdie [Wed, 20 Jun 2012 12:38:53 +0000 (12:38 +0000)]
bitbake: fetch2: Only cache data if fn is set, its pointless caching it against a None value

(From Poky rev: c2df30bf6d1f8c263a38c45866936c1bf496ece5)

(Bitbake rev: f4b59cc6e1c3ddc168a1678ce39ff402ea1ff4cc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: Fix error handling in uri_replace()
Richard Purdie [Wed, 20 Jun 2012 12:37:36 +0000 (12:37 +0000)]
bitbake: fetch2: Fix error handling in uri_replace()

(From Poky rev: 1bfba28a583cb167f60e05ecdf34d0786dc1eec5)

(Bitbake rev: aa7467a764ddcbc7d65af99e88cf093b6ec6d24e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2/__init__: Make it clearer when uri_replace doesn't return a match
Richard Purdie [Thu, 14 Jun 2012 13:40:28 +0000 (13:40 +0000)]
bitbake: fetch2/__init__: Make it clearer when uri_replace doesn't return a match

(From Poky rev: dc9976331c5cbb0983adb54f6deb97b9203bacbc)

(Bitbake rev: eb96609864dec95a516e6e687dd6a2f31d523acf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake: add -C option to invalidate a task and rebuild the target
Paul Eggleton [Mon, 18 Jun 2012 15:45:36 +0000 (16:45 +0100)]
bitbake: bitbake: add -C option to invalidate a task and rebuild the target

This new command line option forces the specified task and all dependent
tasks up to the default task to re-run. This means that the following
single step:

bitbake -C compile somerecipe

is equivalent to the following two steps (with the recent change to -f):

bitbake -c compile -f somerecipe
bitbake somerecipe

Note that to work this option needs full hashing enabled (i.e.
BB_SIGNATURE_HANDLER must be set to a signature handler that inherits
from BasicHash). If this is not the case, -C effectively does nothing.

Based on a previous implementation of this option by Jason Wessel
<jason.wessel@windriver.com>.

Implements [YOCTO #2615].

(Bitbake rev: 2530e0faada5775897cfd1b93aba6925826dca73)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake: ensure -f causes dependent tasks to be re-run
Paul Eggleton [Mon, 18 Jun 2012 15:45:35 +0000 (16:45 +0100)]
bitbake: bitbake: ensure -f causes dependent tasks to be re-run

If -f is specified, force dependent tasks to be re-run next time. This
works by changing the force behaviour so that instead of deleting the
task's stamp, we write a "taint" file into the stamps directory, which
will alter the taskhash randomly and thus trigger the task to re-run
next time we evaluate whether or not that should be done as well as
influencing the taskhashes of any dependent tasks so that they are
similarly re-triggered. As a bonus because we write this file as
<stamp file name>.taskname.taint, the existing code which deletes the
stamp files in OE's do_clean will already handle removing it.

This means you can now do the following:

bitbake somepackage
[ change the source code in the package's WORKDIR ]
bitbake -c compile -f somepackage
bitbake somepackage

and the result will be that all of the tasks that depend on do_compile
(do_install, do_package, etc.) will be re-run in the last step.

Note that to operate in the manner described above you need full hashing
enabled (i.e. BB_SIGNATURE_HANDLER must be set to a signature handler
that inherits from BasicHash). If this is not the case, -f will just
delete the stamp for the specified task as it did before.

This fix is required for [YOCTO #2615] and [YOCTO #2256].

(Bitbake rev: f7b55a94226f9acd985f87946e26d01bd86a35bb)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoevolution-data-server: updated to ver. 2.30_3
Valentin Popa [Wed, 20 Jun 2012 07:50:41 +0000 (10:50 +0300)]
evolution-data-server: updated to ver. 2.30_3

Tested using Tasks & Contacts

(From OE-Core rev: d5afa3dad51c7ab153c159d1dedfdad7a225f8fd)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxinetd: Add default options.
Xin Ouyang [Wed, 20 Jun 2012 07:17:17 +0000 (15:17 +0800)]
xinetd: Add default options.

Currently, xinetd cannot start if no service enabled.

 # /etc/init.d/xinetd start
 # ps aux | grep xinetd
 # cat /var/log/syslog
 xinetd[862]: 862 {init_services} no services. Exiting...

So add -stayalive option by default, as most distos do.

(From OE-Core rev: 53b6da085bfa78885f68b5d7db40d8c4e3f2f5bb)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoSimplify "SRC_URI_append +=" to "SRC_URI_append ="
Robert P. J. Day [Wed, 20 Jun 2012 08:51:32 +0000 (04:51 -0400)]
Simplify "SRC_URI_append +=" to "SRC_URI_append ="

(From OE-Core rev: 17084891c0aa9114805f022ea185108e834e4fcd)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman-gnome: upgrade to 0.7, which works with connman 1.0
Ross Burton [Wed, 20 Jun 2012 11:27:23 +0000 (12:27 +0100)]
connman-gnome: upgrade to 0.7, which works with connman 1.0

(From OE-Core rev: 8206c326fc8c797f734adbb181bf4e793e98b020)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: f399346a1806385458536a8401a48fbeeaf64d24)

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)

(From OE-Core rev: 78e0663dd420782836a137ced931190972ed2c23)

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.

(From OE-Core rev: d7e7d38a2beded17937e330adf4edb89807bfdd4)

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.

(From OE-Core rev: be2ce372863ef56a33ad4e4d4ddeec22873a6b8b)

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.

(From OE-Core rev: ed328572c7c286ecc2b27bb89eb8d795eda9bb8c)

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.

(From OE-Core rev: 6e3353872d377dfe2689832b3f04f18c2366bc8c)

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.

(From OE-Core rev: 7d73cfb2ae24ad2b694244c56dd4648ba7e2df11)

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

(From OE-Core rev: 51064de5fb92c53c99b21487c0ebcafeaf3cc3ad)

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

(From OE-Core rev: 7986e424995a4119b45a09767dc5100a5cdb5161)

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

(From OE-Core rev: 81ecc9d468c36b36c4b2ccc4ab5f366611a8fa46)

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

(From OE-Core rev: f4ed063e32f064e996a4c29760fa4ac49f1ed73c)

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

(From OE-Core rev: 3c516e1032c86156dc09ffa509977fe197470090)

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.

(From OE-Core rev: b485f3e0e55ad62079ed0913970ff0620f4808ea)

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.

(From OE-Core rev: ab883d0c1a05bd99e97e5d71bc7bed05cb1ae8c8)

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.

(From OE-Core rev: e6cadd9074b18798f2df7c3f89dc35a98c29b6e5)

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]

(From OE-Core rev: 7d702c637b84c028c9763246b3ac355d10083ea3)

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

(From OE-Core rev: f7caea892cf66236bae854dcbaffec9d4a2d09a2)

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

(From OE-Core rev: 840153f86cf7a6b5f4a8a5164fa97c789678c71f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 88588d190c8f2a9bc30d06f593089ff20fcc4348)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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].

(From OE-Core rev: 1e50225df2d6b5f10c5648703282235a11b1efb3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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].

(From OE-Core rev: 9bf6b60e1599cf5dd87089d42584583cdfd6807a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: c09bf5d177a7ecd2045ef7e13fff4528137a9775)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 4bd5c17f55bc96ce6bbaccf6559aa4ea123ff4cb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 7f08d3b6c95ed7ebc1d46852a18a785921d1cc23)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 6c36fde6ce2e775ec3041f9cf2fcf02e20516b15)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 19cb0aa7fbbbfc6b34280134dfdf9a4c77b6c430)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 760ee565b9c29f65e4c019c080274d5144f8c0ff)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: c8c64741586fec2b930c5663fde2e73e2bcc7ede)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: a833ae1941a2f5d1c2bcd1df90e2e9e1056d8375)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 41dddc175c0b4887629268bc32b7ac18095b15b5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 57ad9075ea7521e8fa20d62aac31afb2e2130348)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: be98b49552e2256b5278e795cdf69245b9559da6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: e8817a200212027bb77782c7459af0504707a575)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 2692ff51924f003012f635a5e96eea96bf98a724)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 1abf29813d77aa1c54c17cd7b1ac23f5f74def9f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 1d6f365ecfcc8512c4e41ded9d6fd38a1ff5c824)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 26675da6fc60438272ee70d6d40152311cac2041)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 60144b62c1f238c066b425c4bfaaf4d5ad56207b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 064265fde8b0be4915908f7356dce8575068d0bd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 1071a77a698d0f16d9bb05f562af4bb991f1abae)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: f68b38ce45b3af54096c58e282598b49f8cfcaba)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 83f5bd8d2ae2f83060851d76ab87d01da7c4278b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 91d84900c4ff4c1b9456e6766deda956982f1775)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 2b7d50f4257c4ec206d12342dcd0331db931fb36)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 12d33832a56fc47db47acec1ac497ce015ef6b80)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 45e349ab7a6f2e2bf9a4f2144a236f150f6efa22)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 3fddd5314b51946f9b02760ca7d847bb3107fefa)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: da10929059a4aba232d904d7a0d0a54715126c83)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 959c20c99ac980764a99ed4db575e44917600736)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 0ee1923dc731447bf9988c70fa517367db2a4a2d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: e99f9cc28458ae59630d32197bd119d4556c81cd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 2aeae1897359b07c5b9bde2d541ee63d72f5eaca)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 5347bb5fba2f84ed3c1f825b7bc94ca826029482)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: ad91a65434abc259045a0f517f934e720b2b3cdd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: bd676271537acdaf9b3ea607b3337c3059aad788)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 81c9ce2fdd74b7c0c664dec0b9f730fee97a086c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 13544fbc6217fee1731a6da1e2cf94901a500842)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 5d0a8f02dd560320fd36ca90d0ae020a033ba184)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 7acdd6177fda4643d2f04f45eb7490e45a3d491e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: cb43d97988475646074c53a264f563bf0cb2907a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: df651f5c30acb7cccbc0a0abf4b91a07f1a72e1f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 66c36bcb7d9368718453265e58bd5e3c854c786a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 87610064a435f8b8b5694e4d6627e53b25d8f713)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: Allow perl to cross build and native build in a directory named "t"
Jason Wessel [Mon, 4 Jun 2012 18:47:44 +0000 (13:47 -0500)]
perl: Allow perl to cross build and native build in a directory named "t"

If any directory in leading up to your tmp directory has the name "t"
perl will fail to build with a very cryptic error shown below:

pod/buildtoc: no pods at pod/buildtoc line 305.
make[1]: *** [pod/perltoc.pod] Error 255

This is a result of the perl file checking making an assumption
that it is only looking at files and directories with in the perl
source directory.  This assumption fails with the way bitbake
sets up perl to properly cross compile.

(From OE-Core rev: f8a054aca9962ebfd4c74fc1d34cd684de6b3568)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: c9c74b1316aa671e7106962c9dae5b6046cd9946)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: c44a459dbbcbdddf5488cbc3df03f568f44cff83)

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]

(From OE-Core rev: 264425b0a54806c08c218bd8b500c20b8c3152f4)

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.

(From OE-Core rev: 2f1460b7bf96616a7d54753a9dbc63ed6d322d74)

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

(From OE-Core rev: 398928ea445f76ed37d1cc77cef6ae2ca85b7a0d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 1ea9b31f304e54ce4b7c2d38582d1775a46cd8c6)

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