Commit Graph

9079 Commits

Author SHA1 Message Date
Khem Raj d73500fdd9 gdk-pixbuf_2.22.1.bb: inherit gettext class instead of adding gettext to DEPENDS directly
(From OE-Core rev: 9081339cf588d29e31599ba05d1aad1c8c81af30)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:49 +01:00
Khem Raj f9625d239b xz_5.0.0.bb: inherit gettext class instead of adding gettext to DEPENDS directly
(From OE-Core rev: 1d274a5897a3b887f6bb0de778f8be0528b47ddd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:48 +01:00
Khem Raj a48b13c985 libzypp_git.bb: inherit gettext class instead of adding gettext to DEPENDS directly
(From OE-Core rev: 6e2cf3c73c710ff591b934adc4f6facbdd109aa9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:48 +01:00
Khem Raj f8fa83c2db libuser_0.57.1.bb: inherit gettext class instead of adding gettext to DEPENDS directly
(From OE-Core rev: b24e2d43af95df7cc77849de2f25c5dc110e1b7b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:47 +01:00
Khem Raj 6bcb66d2ed chkconfig_1.3.49.bb: inherit gettext class instead of adding gettext to DEPENDS directly
(From OE-Core rev: 55bd7994f6fa6c39ee0bf3401cf8c8afbe4f63b9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:46 +01:00
Khem Raj 0a1b99bbe6 sed: inherit gettext class instead of adding gettext to DEPENDS directly
(From OE-Core rev: 30dd83d1bcff3f3ccf7f0bc4aed792b6ecb01f2f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:46 +01:00
Khem Raj be9d2aeec5 xorg-proto: inherit gettext class instead of adding gettext to DEPENDS directly
(From OE-Core rev: 31945c914ca45e404d5c72210c9be16161cc1228)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:45 +01:00
Khem Raj 1413f2b008 gcc-runtime_4.5.1.bb: Do not filter out -feliminate-dwarf2-dups
This is already taken care by bitbake.conf

(From OE-Core rev: 59d0aed3615ce08203139137d70d38ea8b9fe9d9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:44 +01:00
Khem Raj 59565d73a2 flex.inc: inherit gettext class instead of adding gettext to DEPENDS directly
(From OE-Core rev: 1eaf016303b281508a6a04a9db04f02847772141)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:43 +01:00
Khem Raj 067d8ace22 e2fsprogs.inc: inherit gettext class instead of adding gettext to DEPENDS directly
(From OE-Core rev: 4a1fdbd13588dc8349ef537144febc4791d8ced8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:43 +01:00
Khem Raj 438ec9cfbe liboil_0.3.17.bb: Enable x86_64 unaligned memory access
Patch imported from OE

(From OE-Core rev: 097a8a50ff0628a2b991757c8862fbd260772ed8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:42 +01:00
Khem Raj 45e0eabb3a libpam_1.1.3.bb: Fix compilation on uclibc when innetgr is absent
(From OE-Core rev: a0d441ec7c43fe1b4490c1c9b03a0cf5811109fd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:41 +01:00
Khem Raj 6de1c9ad3f diffstat_1.54.bb: inherit gettext class instead of adding gettext to DEPENDS directly
(From OE-Core rev: 28f48fc25b83c53d2251ae4c278b36ce50072393)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:40 +01:00
Khem Raj aa0772c6e7 bison: Make compilable on uclibc
Import patch from OE to fix compilation on uclibc

Let inherit gettext take care of gettext dependencies

(From OE-Core rev: 417c41f3083df120cf745c274b487218828dd147)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:40 +01:00
Khem Raj 69f1a6d2d5 binutils: Use arm*-*-linux-uclibceabi instead of arm*-*-linux-uclibcgnueabi
(From OE-Core rev: 29f6d0f1f28fef1ee6097d327c08828f032c0b9e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:39 +01:00
Khem Raj 08a6cdcf48 gettext_0.17.bb: Use linux-uclibceabi instead of linux-uclibcgnueabi
(From OE-Core rev: 293e2c37525d440ae93cefec877b532c6a888802)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:38 +01:00
Khem Raj e4ccab92da coreutils_6.9.bb: Remove gettext from DEPENDS
inheriting gettext should take care of this

(From OE-Core rev: f8d4d3d573b12e25803cbce7f713811c81601bc5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:38 +01:00
Khem Raj 6cbb55921a console-tools_0.3.2.bb: inherit gettext
There is a dependency on libintl in configure

(From OE-Core rev: 227166e0991a3404d164e6bf9b9d7d3bc356c343)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:37 +01:00
Khem Raj cbffd7fe53 telepathy-glib_0.13.6.bb: inherit gettext class instead of adding gettext to DEPENDS directly
(From OE-Core rev: ca49fff1afe51f2f92cbc4b4fa4fda910675587a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:36 +01:00
Khem Raj e17288918b galago: inherit gettext class instead of adding gettext to DEPENDS directly
(From OE-Core rev: daed175690fe0f3878f6cfaa2b1fd3c9e49168e0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:36 +01:00
Khem Raj b31f9f2816 avahi.inc: Conditionalize RECOMMENDS by using overrides
libnss-mdns is not supportable on uclibc since nss is not available on
uclibc

we add gettext-dev to RRECOMMENDS only of eglibc/glibc

(From OE-Core rev: 0fabdb5c8f550f811341640fd79727dbfa283b98)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:35 +01:00
Khem Raj 3909b764b7 recipes: Use -uclibceabi instead of -uclibcgnueabi
(From OE-Core rev: 3aa429406184d27bdb8a771c4c12bde1dcccb95b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:09:33 +01:00
Khem Raj 023637d19c site: Add mips-linux-uclibc site file and add to x86_64-linux-uclibc
mips-uclibc needs the mips-linux-uclibc site file
x86_64-linux-uclibc is enahnced for missing cached variables

(From OE-Core rev: 32eb83c842f2519b47450dcf1d23e5eee3007e75)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:08:11 +01:00
Khem Raj 511abe9167 classes: Use linux-uclibceabi instead of linux-uclibgnuceabi for os portion of triplet
(From OE-Core rev: 7aa1671941222e6dcd94fd943ede9e75f6c9f5ed)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:08:10 +01:00
Khem Raj c88832587d sanity.bbclass: Use SSTATE_MANIFESTS instead of hard coding sstate-control
This helps when SSTATE_MANIFESTS is overridden by external layers

(From OE-Core rev: 246cbbb076ea91eccbc373bd277684f69a8ab4dc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:08:09 +01:00
Richard Purdie 9f20f5e29f qemu-nativesdk: Refresh glflags patch
(From OE-Core rev: 8ca53dd2b8ebf4a6cc4fe509bb89d8e5af3d5c87)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 14:08:08 +01:00
Richard Purdie 9b046f6e8e qemu: Add dropped glflags.patch
(From OE-Core rev: cc1628c8b9ad72c45831d30fe2b44b6e086f5693)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-31 22:02:52 +01:00
Khem Raj a9441d4382 qemu.inc: Add sh4,sh4eb,mips64,mips64el targets
In order to leavarage more emulations in oe-core
these targets needs to be built as well

Introduce new variable QEMU_TARGETS which
can be set by user to decide what all machine support
should be build into qemu-native

This one works adding same to qemu.inc does not
parse presumably a bitbake problem.

(From OE-Core rev: 62ced6b84bf650ce4cf101491614613ec8fc17af)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-31 22:02:51 +01:00
Mark Hatle 37f3ef2cfd Workaround for Global C++ Constructor problem on ARM
[YOCTO #938]

Workaround for a problem with the order of the global C++ constructors on ARM.
The workaround is simply to avoid defining the ID numbers outside of the
usage of the ID's.

This also has the effect of fixing a problem on MIPS, where "_mips" is a
defined symbol and unavailable on the system for a variable name.

(From OE-Core rev: b308149b4b7d2066390aa4eaa7364af3334f70f5)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-31 22:02:47 +01:00
Mark Hatle 41efbe13cb Fix integration of zypper and sat-solver
Adjust the integration of zypper and sat-solver to ensure that all of the
defined architectures for a given machine are defined identically to Poky.

(From OE-Core rev: b2996efc015bc5ae0b8246924083e76fb5129cea)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-31 22:02:46 +01:00
Mark Hatle 133f7e8cdd Fix sat-solver & RPM5 integration issue
From Michael Schroeder, fix the configuration of how RPM5 handles obsoletes
within the sat-solver.

(From OE-Core rev: 7178a540b35a4a5e4a5e0546eb0c2207d2033cdf)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-31 22:02:45 +01:00
Bruce Ashfield 2ac89c2447 linux-yocto: update base to 2.6.37.6
The kernel.org stable 2.6.37.6 was released, so we make it
the base of our SRCREVs.

(From OE-Core rev: b9405ec0591aea3e1f7f3c779860d8e45589b0df)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-31 22:02:43 +01:00
Bruce Ashfield cddd8821e1 linux-yocto/qemux86-64: enable profiling and latency
The configuration chunks for profiling and latency top have
been enabled in tree now, so we can drop optional feature
additions in the recipe itself.

build tests show identical configurations.

(From OE-Core rev: 0f69382ac1eea1dea05581c29cf66e3214f0bd74)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-31 22:02:42 +01:00
Richard Purdie 0b420dae4b qemu-config: Enable for qemumips/qemuppc
(From OE-Core rev: 7dbb204266a480435f78837aa1bded30fed96378)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-31 22:02:41 +01:00
Richard Purdie db290011f6 gthumb: Add missing DEPENDS on gst-plugins-base as otherwise gstreamer isn't enabled
(From OE-Core rev: 75e2ced78f5164882f933787f9247e30da203613)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-31 22:02:40 +01:00
Joshua Lock 6f4fbfe272 clutter-box2d: add version 0.10.0 for use with clutter 1.6
Don't specificy dependant clutter version in inc file, this enables the inc
file to be re-used accross Clutter versions.

(From OE-Core rev: 8d26abb57e901f58b5c8782c110c52a437accb51)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-29 14:10:09 +01:00
Joshua Lock 71e8cc53ac clutter-gtk: remove duplicate gtk+ DEPENDS entry
the inc file already specifies the gtk+ dependancy

(From OE-Core rev: 9768214eef2d6d8ad37a535877cae1eb0f044c2b)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-29 14:10:08 +01:00
Joshua Lock 077f96a6ed clutter-gst: add 1.3.6 for use with clutter 1.6
The inc file should be usable across clutter versions, plus this is already
set in the clutter-box2d-1.4_git.bb recipe

(From OE-Core rev: 8fcd08b7ec1dbf1087e8f2c79830cec8238398bf)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-29 14:10:08 +01:00
Joshua Lock c35a59bd19 clutter: add 1.6.8
(From OE-Core rev: 9d324412eb7b7c0ee4ceadb6491e4c6296dde07e)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-29 14:10:06 +01:00
Richard Purdie 68baef9065 package_rpm: Ensure we take the sstate shared lockfile in the place we write files
The point we need to take the lock is when the rpm files are written into the
deploy rpm directory. Since sstate makes the actual installation of the files,
that is the point we need to take the lock. This also stops the deploy/rpm
directory being accessed for a lock before it exists.

[YOCTO #797]
[YOCTO #925]

(From OE-Core rev: 833a1e970f087dfcb32967cee3e24540f041cde0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-29 14:01:52 +01:00
Richard Purdie 2f0c06a452 sstate: Add support for taking shared lockfiles
(From OE-Core rev: c411a10e06f479ff364c07766f7c77907b7b4a16)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-29 14:01:51 +01:00
Richard Purdie e7f52f8f4c image.bbclass: Remove uneeded do_populate_sysroot requirement for images
(From OE-Core rev: 68d19cc52869d7732fac0d185be811bc38334970)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-29 14:01:50 +01:00
Richard Purdie 89fee17fae image.bbclass: Add dependencies on native versions of update-alternatives and updated-rc.d explicitly
(From OE-Core rev: c7ab6c5697b5ab18848576ffd0b5cc8e5f89de01)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-29 14:01:50 +01:00
Richard Purdie b5e03a1a17 base/kernel/image.bbclass: Clean up do_deploy ordering to ensure it just happens before a build completes
(From OE-Core rev: a3b80688465ba5ba7e6d514f9a40ee224a9d3a28)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-29 14:01:49 +01:00
Richard Purdie 4d041557e7 bitbake.conf: Disable -feliminate-dwarf2-dups flag until it works with prelink and other issues are resolved
(From OE-Core rev: 43dd780ace029c231f70424a510c934f436e513c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-29 14:01:48 +01:00
Bruce Ashfield 9281315002 linux-yocto/meta: fix SRCREV
The SRCREV that was pushed to meta isn't even a commit Id
on the meta branch. As a result, the recovery code for bad
SRCREV can't trigger and fix things up due to conflicting
files between the branches.

Updating to the right SRCEV fixes the problem.

(From OE-Core rev: 594d43d91c7a604325a6100a48f76682c9218ff4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-29 00:34:11 +01:00
Richard Purdie e41671ea1d Revert "bitbake/gcc: Enable a shared common source tree"
This reverts commit 12b163dbd8 as it
was an unintended change for master
2011-03-29 00:34:11 +01:00
Richard Purdie 5748758948 qemu: Fix file rename from version upgrade
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-28 15:42:43 +01:00
Richard Purdie 12b163dbd8 bitbake/gcc: Enable a shared common source tree
This patch is a quick proof of concept to show how source code could
be shared between recipes which use ${B} to have a separate build
directory compared to source directory ${S}.

Issues:

a) gcc uses sed and creates config files against ${S} which means
the directory should not be shared. Need to change the way that works.

b) Could be extended to cover eglibc except there is a patch applied
against nativesdk versions which again makes the source incompatible.

c) Need to clean up the layout in work-shared and make a directory level deeper
to ensure patch separation.

d) clean task does not remove stamps

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-28 15:09:50 +01:00
Khem Raj 7c62b36a34 qemu: Upgrade 0.13.0 -> 0.14.0
* ppc-hack patch is dropped.

* Other patches which were direct backports
  or has been merged upstream in 0.14.0 are
  also dropped

(From OE-Core rev: 97fbdfdbfb15de325fd148bcecc9187d0f778db5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-25 16:38:12 +00:00
Koen Kooi fcb1b5a4d7 gnutls: add BBCLASSEXTEND = native
This is needed for the native recipes in meta-efl

(From OE-Core rev: 073f162529e5b84f12d348ae49edccc377ec5f7e)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-25 16:34:26 +00:00
Bruce Ashfield 74e58bb1e8 linux-yocto: update to 2.6.37.5
The 2.6.37.5 -stable update is available, so it now becomes
the new base for linux-yocto.

All qemu targets have been built and booted.

Changelog is available via:

   git log --pretty=oneline --abbrev-commit v2.6.37.3..v2.6.37.5

(From OE-Core rev: bbbc60f24969f9ec596ab344fbb557d5e21c2abf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-25 16:34:25 +00:00
Richard Purdie fd42d1ca77 image_types.bbclass: Drop IMAGE_EXTRA_OPTION in favour of the more standard EXTRA_IMAGECMD
(From OE-Core rev: 3c534247e08700eb18b27886d80e874006ee0cb8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-25 16:34:24 +00:00
Richard Purdie ed41be01dc bitbake.conf/image.bbclass: Move image type information into image_types.bbclass
Image generation code in .conf files is hard to read as it needs to be
single line. By moving this to a separate class, multiline functions
can be used instead improving readability. It also declutters
bitbake.conf.

There is no real functional change with this patch but it highlights
the need for improvements in places such as the IMAGE_EXTRA_OPTION
ext* specific variable which makes no sense.

(From OE-Core rev: a5c403f0fc71f38c0669691da7f637303ea09a27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-25 16:34:23 +00:00
Richard Purdie f8539239bc base-files: Remove sysctl.conf file. This is now provided by the procpc recipe.
The base-files version is horribly outdated too.

[YOCTO #924]

(From OE-Core rev: f61df1f1e4a191ed3dd3d71aa78a479c615b14d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-24 13:05:13 +00:00
Richard Purdie adac5a690f image.bbclass: Move ROOTFS_SIZE into runimagecmd() function
Image type specific size overrides for IMAGE_ROOTFS were being ignored.
Moving the size calculation to after the overide expansion point addresses
this problem.

[YOCTO #928]

(From OE-Core rev: 2f676dadebebc461c1e01e0b6da3cb2258829048)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-24 12:34:05 +00:00
Richard Purdie b94de9a24a image.bbclass: Improve readability of the image generation code
The quoting in get_imagecmds() is hard to read. We can simplify the constuction
a little to make this easier to parse and reduce complexity slightly.

(From OE-Core rev: da5d038f955bf47155a0f217dba2f96e263bcad8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-24 12:34:04 +00:00
Martin Jansa 25a6e5f98c sstate: use only unique set of SSTATETASK
* otherwise strange error like this:
  ERROR: Logfile of failure stored in: /OE/shr-core/tmp/work/armv7a-oe-linux-gnueabi/libtool-cross-2.4-r1/temp/log.do_package_write_ipk.25551
  Log data follows:
  | ERROR: Package already staged (/OE/shr-core/tmp/sstate-control/manifest-nokia900-libtool-cross.deploy-ipk)?!
  | ERROR: Function 'sstate_task_postfunc' failed
  NOTE: package libtool-cross-2.4-r1: task do_package_write_ipk: Failed
  ERROR: Task 11 (/OE/shr-core/openembedded-core/meta/recipes-devtools/libtool/libtool-cross_2.4.bb, do_package_write_ipk) failed with exit code '1'

  is shown in this case with package_ipk twice in INHERIT

* Thanks to Richard for fix

(From OE-Core rev: f2fe5e840b8aa0558b5462ef2c7517b2f14ec2ea)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-24 12:33:38 +00:00
Koen Kooi c106bb61f5 kernel.bbclass: blacklist 'kernel-misc' from kernel-modules
When 'kernel-misc' is empty do_rootfs will fail when including 'kernel-modules'

The proper fix would be to have a whitelist for the 'kernel-modules' meta-pkg

(From OE-Core rev: bb72bd56101698b7fe166dd02fdca07d06a6eb8b)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Tested-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-24 12:33:37 +00:00
Khem Raj b6b9f7ae63 gcc-runtime_4.5.1.bb: Fix ICE in gcc-runtime with -feliminate-dwarf2-dups
GCC 4.5 ends up in an ICE when compiling libstdc++ pre compiled header
so we eliminate -feliminate-dwarf2-dups for gcc-runtime

(From OE-Core rev: e0eeb10144db74c0671acd684059e8a6f82a572f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-24 12:33:36 +00:00
Khem Raj 54d46cb693 machine/include/tune-atom.inc: Remove FULL_OPTIMIZATION_pn-gtk+
* Since bitbake.conf has got rid of -fomit-frame-pointer this
  is no longer required

(From OE-Core rev: ba89ba8e02185c7adb92240f119a57e7b21adfa7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-24 12:33:35 +00:00
Khem Raj 5ea06dc295 bitbake.conf: Prune global OPTIMIZATION flags
-fexpensive-optimizations is enabled by default at -O2

-fomit-frame-pointer is enabled at -O2 selectively by gcc depending upon
  architecture if debug info is not hurt

-frename-registers - This might have some performance advantage on top
 of O2 on architectures which have more registers and registers are left
 after scheduling but it affects debuggability quite a bit so as a i
 tradeoff we do not use it.

-feliminate-dwarf2-dups - We use this option to reduce the size of debug
 information by removing duplicates this is only valid for dwarf2+ and we
 use dwarf2 by default

-pipe uses buffers instead of temporary files internally it can speed
 up compilation it has has issues with other assemblers but not
 with GNU assembler and we use gas.

Separate out debug information related flags into a separate variable
DEBUG_FLAGS so distros can use/notuse them as they like

(From OE-Core rev: 9cb7113790d716a4c5cf7d511535ba87fdecd1ac)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-24 12:33:35 +00:00
Tom Rini a93b0e770b coreutils: Switch to disabling gmp support
Coreutils can optionally build with libgmp support and for our uses
it's fine to just not build it rather than add the dependency.

(From OE-Core rev: e58ca6504ccfd4fd7efbf288eaadae6720c84c79)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-24 12:33:34 +00:00
Tom Rini 36f899f7b0 checksums.ini: Delete
(From OE-Core rev: 02de9ba8bf211292d0cc10fee5bc0c15636d8d7a)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:44:06 +00:00
Tom Rini 158de41702 Various: Switch to SOURCEFORGE_MIRROR
(From OE-Core rev: c774ecb92062f543857a6843ab8e03c490cf50a4)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:44:05 +00:00
Tom Rini d56080ff06 Various: Update KERNELORG_MIRROR for consistency
In mirrors.bbclass we point into /pub but we don't in bitbake.conf.
All uses of KERNELORG_MIRROR look into /pub anyhow, so lets make
use of that.

(From OE-Core rev: 67a0c8f48b5ef2ae5fc712c9204e4e99818c8134)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:44:04 +00:00
Tom Rini 4f85b60306 Various: Switch to KERNELORG_MIRROR
(From OE-Core rev: a0eeed089a5c185ef721b11828d4a27f0c03791c)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:44:03 +00:00
Tom Rini bc7967f041 Various: Switch to using GNU_MIRROR
(From OE-Core rev: bd9e899d1b07813c78f2dc2e5c46a67937839065)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:44:02 +00:00
Tom Rini 92e8ef0c10 Various: Switch to GNOME_MIRROR
(From OE-Core rev: 0499bacc30274f2300fb956362bda8a53fdc625e)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:44:01 +00:00
Tom Rini 081adf9575 net-tools: Switch to using DEBIAN_MIRROR
(From OE-Core rev: ce7483796bb92a99149b9eff7e08ebc8c2805808)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:44:00 +00:00
Khem Raj 0af5e13667 perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha
Ubuntu has moved eglibc to /usr/lib/${arch}-linux-gnu and
/lib/${arch}-linux-gnu so we need that to be added to glibpth in
Configure.

Currently we set LD=ld in environment for recipes inheriting native
class. This overrides the LD settings in the Makefiles of perl and
it tries to link by calling ld which does not work since its using
-l<x> on commandline and ubuntu linker seems not to look into
the new location for these libraries. Its better to use gcc for linking
here anyway

[With tweak from Tom Rini to use CCLD, not LD]
(From OE-Core rev: 8ba700a4c593fd52bd01b6272b4c8285a71964f7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:59 +00:00
Khem Raj 7eab4aee68 lib/oe/patch.py: Cosmetic change to avoid bitbake warning
bb.mkdirhier should be bb.utils.mkdirhier

(From OE-Core rev: cd28d5f5ad7855d0d6a15bec5317c942e2462065)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:56 +00:00
Chris Larson 354d85dd35 oe.utils: add inherits (sync from OE)
(From OE-Core rev: 0bdb38820489a69448e36c75863e2e2d47cdb20f)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:55 +00:00
Chris Larson c9d1e20ab7 oe.path: sync up with current OE
(From OE-Core rev: 1958b303f98b8db5bab00344823bbb8e086b8dba)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:54 +00:00
Chris Larson 21a3b6de9d oe.patch: add missing imports
(From OE-Core rev: cefbf3a14fcf87e18f7a63a1f55904d9d612ed3e)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:54 +00:00
Chris Larson fb02ca3a16 oe.utils: add bb, bb.data imports
While the metadata can and should rely on bb always being available, this
needn't necessarily be the case for imported python modules.

(From OE-Core rev: a521835701c07f5786acd663fb4fb394e93eba91)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:53 +00:00
Chris Larson bfd7283a6b native: empty PACKAGES_DYNAMIC the way we do PACKAGES
Without this, as a specific example, one has both gtk+-native and gtk+ runtime
providing gdk-pixbuf-loader-*, and you can get bitbake preference conflicts as
a result if you have preferences specified for both gtk+ and gtk+-native for
other things.

(From OE-Core rev: 41d77ac37f606e54293826ba1e94a4254bddbfa6)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:49 +00:00
Martin Jansa 2661565843 bitbake.conf: replace unused/broken E_CVS/E_URI with E_MIRROR/E_SVN used in OE
(From OE-Core rev: 66e6837b536859bcf940380cfcdf50670790d889)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:48 +00:00
Richard Purdie a295a0442e bitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHS
There is a problem with the current PACKAGE_EXTRA_ARCHS implementation
since its impossible to control which extra architectures sort higher
than TARGET_ARCH and which sort lower. In the x86 case for example,
TARGET_ARCH might be "i586", i486 should be lower than this and i686 should
be higher. There are also complications where its easy to inject duplicate
entries into the variable.

I tried various versions of this patch and concluded that it was simplest
just to force the tune files to include TARGET_ARCH in the list in the
right place if they're planning to customise it themselves. Other approaches
with appends and prepends just complicated the code for no good reason.

The TARGET_ARCH definitions should also move to the tune files but I'll
leave this for a separate patch.

(From OE-Core rev: d492ebf8b1801da99c679f465be98ce54fd3061a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:47 +00:00
Darren Hart 3b49416fc7 kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules
The existing infrastructure uses an external build tree which references the
kernel source in the work dir. If run with rm work, building external modules
will fail.

This patch places a configured source tree in sysroots. Striking a balance
between minimal size and minimal maintenance is difficult. A fully configured
tree is about 500MB after a clean. This version leans on the side of caution and
removes only the obviously unecessary parts of the source tree to conserve
space, resulting in about 170MB. The arch directories would be some additional
pruning we could do. Given examples from the devel package from distributions, I
suspect this size could be reduced to 75MB or so, but at the cost of a much more
complex recipe which is likely to require a great deal more maintenance to keep
current with kernel releases.

Care is also taken to clean the hostprogs in scripts, and the modules are
responsible for building them as needed. Although it is unclear to me if this is
really necessary, especially considering that modules put these bits back as
soon as they compile. If we are not generating an sstate package, I suspect we
can ignore these.

Please try this with your modules and let me know how it does. I tried to take
non linux-yocto kernel recipes into account, but I have only tested with
linux-yocto and the hello-mod recipe so far.

(From OE-Core rev: a9d41062e24a6b99661b3a5256f369b557433607)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:46 +00:00
Kang Kai ab44c22a38 msmtp: add link sendmail for lsb command check
LSB command check will test the exist of sendmail, so make sendmail
link to msmtp using update-alternatives class in order to pass the test.

Related to [YOCTO #520]

(From OE-Core rev: 97b71119d716eab86b8afcbac204f38a00b88cf3)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:45 +00:00
Koen Kooi 38a5f61233 qemu: enabling the alsa driver needs alsa in DEPENDS, add it
This fixes:

| + /OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/qemu-native-0.13.0-r1/qemu-0.13.0/configure --prefix=/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr --target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm --audio-drv-list=oss,alsa --audio-card-list=ac97,es1370
|
| Error: alsa check failed
| Make sure to have the alsa libs and headers installed.

(From OE-Core rev: 6d186d7144c781ee1985654e808f39ce2f6b1be7)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:44 +00:00
Koen Kooi 34c644e344 alsa-lib: extend to -native for qemu-native
Qemu-needed is needed for the qemu* machines to build, but needs alsa-lib

(From OE-Core rev: 31177e0d187c06c30dfb9abe3f2344da3afd643d)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:43 +00:00
Richard Purdie aeaa356a5e xserver-nodm-init: Mark as machine specific after recent rootless X changes
Fix summplied by ke.yu@intel.com

[YOCTO #906]

(From OE-Core rev: f0afe5827570eff5442d2f9a9846b4098e5c3333)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-19 01:31:22 +00:00
Richard Purdie 273cfeccb7 sstate: Ensure a clean removes setscene stamps as well as the main task stamps
(From OE-Core rev: d07fe8aef537a8bcb96a802e18d7c980ff4c5ce2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-19 01:16:32 +00:00
Mark Hatle 94786e172d db: Fix path of arm-thumb patch
Newer versions of patch, such as in Fedora 14, don't like ".." within
the middle of the file to be patched path.

In order to fix the issue we have to hand apply the patch instead of using
the normal mechanisms.  Only flaw with the os.system(...) approach is if it
fails we don't get any notification or a resolver failure.

(From OE-Core rev: 4e592efe8c5ff918a77f7b7b2c17a6b698b1dd68)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18 23:23:31 +00:00
Tom Rini debcc6c347 initscripts: Make umountfs a bit more robust, bump PR
Avoids error messages on shutdown.

Imported from OE commit 072cad0100fd828e7fee8f3fa3ade23e4306b394

(From OE-Core rev: 5188687660f5aa37014aac50c43e141f032455d7)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18 23:23:31 +00:00
Paul Eggleton 07f7dc47ec nfs-utils: fix "sh: bad number" error on start/stop of nfsserver
Adds a test to avoid the "sh: bad number" error message during service
start or stop of nfsserver when there is no NFS_SERVERS value set in
/etc/default/nfsd.

(From OE-Core rev: 0f2debd9360abac54d3e44551af309f0bdde96e7)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18 23:23:30 +00:00
Paul Eggleton c52c66ba4d busybox: enable unmount all feature
This allows "umount -f -a -r" in our initscripts to actually do something.

(From OE-Core rev: 578c938968857976f888f708f1f57cf862c7b3c4)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18 23:23:30 +00:00
Richard Purdie 16e1f1051e sstate.bbclass: Turn absolute symbolic links into relative ones for sstate packages
(From OE-Core rev: 655139c2644d085331f4f6814119fbd904ff244b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18 23:23:29 +00:00
Richard Purdie 75c5760fe8 bitbake.conf: Increase image overhead factor to account for rpm/zypper database size
(From OE-Core rev: f4305f960cb788d73c5132aa5a9f930e85c20385)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18 16:50:24 +00:00
Joshua Lock e235357841 sanity.bbclass: check for duplicates in PACKAGE_ARCHS
Duplicate entries in PACKAGE_ARCHS causes problems with rootfs
generation. For example multiple architecture entries in opkg.conf
will confuse the opkg package manager.

(From OE-Core rev: 06aca3de95483e5086b0231df070bac76a6e3c19)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18 16:48:01 +00:00
Saul Wold 4957992f2e util-linux: Setup for GPLv2 Recipe
* add task to remove the GPLv3 lscpu code
 * Add patch to remove the reference to lscpu in Makfiles

(From OE-Core rev: ebd181cf6ce3fe233b61aef3af093228aa925f4d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18 16:47:56 +00:00
Nitin A Kamble 21d5d3cf5e coreutils-6.9: fix man page building for the gplv2 recipe
Added a new patch:
   coreutils-6.9/fix_for_manpage_building.patch
And the target recipe now depends on the native recipe for the manpage
generation.

Similar fix may be needed to the GPLv3 version of this recipe.

(From OE-Core rev: 543577c25b5a4e89a3ab15ee28e754b71c2a43d5)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18 11:36:55 +00:00
Lianhao Lu 97d3ddedcc toolchain-scripts.bbclass: Added --sysroot to CPPFLAGS.
[YOCTO #908] Added CPPFLAGS into the environment file and added
--sysroot to it.

(From OE-Core rev: 360daf019101d9b4d08ab1e3d279b08c02e9749e)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18 11:36:54 +00:00
Kevin Tian 34869c6d61 slang: specify --x-includes to pass qa sanity check
slang by default hardcodes a list of host dirs to search for X header
files, which may break qa sanity check. Use --x-includes to specify
sysroot as the fix.

Fix [YOCTO 907]

(From OE-Core rev: 35c9ed7d49309ce0babbf93e205fb2dab117c69f)

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18 11:36:54 +00:00
Kevin Tian 2a3ff59ef5 bitbake.conf: add POKYBASE to BB_HASHBASE_WHITELIST
or else do_populate_lic varies its checksum when using different source
directory, and thus further impact do_package sstate reuse.

Fix [YOCTO 894]
Possibly Fix [YOCTO 903]

(From OE-Core rev: 7a0922ba2e7a33005a8830ff8a4e6b1408b29aa5)

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18 11:36:52 +00:00
Saul Wold 3072c245da gettext: Upgrade GPLv2 version to 0.16.1
This adds a couple of new patches for handling various autoconf
and autolocal issues.  It also hardcodes a GETTEXT_MACRO_VERSION
to 0.17 to match the native gettext.

(From OE-Core rev: e897103a58ad672cc87d2bab3ec45501ef09f8f1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17 17:40:55 +00:00
Saul Wold 7958e4016c poky-image-basic: remove POKY_BASE_INSTALL
Removing POKY_BASE_INSTALL and replacing it with task-poky-boot,
effectively removes task-poky-extended which was pulling unwanted
recipes.

(From OE-Core rev: aa42a75e784510e5ee76dc227758bbc7dc650fb3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17 17:39:07 +00:00
Saul Wold 8c9385cd1e extended tasks: move binutils from basic to lsb
(From OE-Core rev: 5e6a574db545ea793480765ffb1e69f3723b59bf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17 17:39:06 +00:00
Richard Purdie caf671e081 gnome-vfs: Force acl to be disabled since its not a dependency
Without this patch, if acl was build beforehand, the build could find
the library resulting in a non-deterministic build.

Sadly there is no --disable or --without option available so this
approach is the only mechanism available.

(From OE-Core rev: 629e0702161886f1fad9552ce451ed2b7dc77967)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17 12:33:50 +00:00
Liping Ke a440c6371d ADT: bug fix for nameing and do_patch sequence
This patch is for fixing the x86-64 image name bug and also,
do_patch must be done before do_deploy.

(From OE-Core rev: 95e27a0f604796b30d7e7e1d58d0925942cfefa9)

Signed-off-by: Liping Ke <liping.ke@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17 12:33:48 +00:00
Richard Purdie 06c755cb1a gnu-config: Use perl from the environment, not a hardcoded path
Using the hardcoded perl binary can cause conflict between the files in the native
sysroot and those of the build system perl. By using perl from the environment
we can at least ensure a consistent perl environment.

Patches taken from OE.dev commits:
be21179c5321bd0afb9221f020ac12ad75c86a3b gnu-config: use /usr/bin/env perl instead of /usr/bin/perl in gnu-configize.in
edcdefbf6e0675c1bcc1fc4f464f654223380e50 gnu-config: update also bindir change to replace /usr/bin/env instead of /usr/bin/perl

(From OE-Core rev: a508e7c03840efcd5877f4185e8f024cedb9453f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17 12:33:46 +00:00
Darren Hart 7e2d385e85 gtk+: remove per-machine gtk+ FULL_OPTIMIZATION in favor of tune-atom.inc
Now that the FULL_OPTIMIZATION for gtk+ has been enabled in the core
tune-atom.inc, it is no longer necessary to do so for every atom based
bsp.

(From OE-Core rev: 02bc593928735abb9ac5c85b9e94d0285a6f3e8c)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Ke Yu <ke.yu@intel.com>
CC: Richard Purdie <richard.purdie@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17 12:33:40 +00:00
Darren Hart 35260008f4 atom-pc: work around gcc bug for core2
Fixes [YOCTO #853]

Without these added optimization flags, the matchbox-panel (and possibly other)
applications would segfault. This patch applies the changes to all machines
derived from atom-pc.conf.

[Tweaked by RP to apply to gtk+ only]
(From OE-Core rev: 5eb24b1cb57d1e0b43dfc993a635cd2b58d58fcf)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17 00:18:20 +00:00
Nitin A Kamble e657801332 m4: bring back GPLv2 version 1.4.9 of m4 recipe
Note: Downgrading of m4 would require rebuilding of the autoconf
Fixed circular depedency with the newer autoconf

(From OE-Core rev: b581c965b4fbaaa819aa3809db037578f61a56eb)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17 00:18:19 +00:00
Nitin A Kamble 9ee33a8c75 bison: bring back GPLv2 version 2.3 of bison recipe
(From OE-Core rev: 10ea8ad9c9281e5ad6910742f4db54d4f69ef144)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17 00:18:17 +00:00
Paul Eggleton 3046a96bf0 sanity: detect if bitbake wrapper is not being used or pseudo is broken
* Shows a warning during sanity checking if the scripts/bitbake wrapper is
  not being used
* Check to see if pseudo is working during sanity checking, and if it
  isn't an error occurs (if we are using the wrapper script and pseudo
  has been built; otherwise it is a warning).

Fixes [YOCTO #653]

(From OE-Core rev: 0b06b69992dd3df1dfff7bde694d7ad23d8d15a0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17 00:18:14 +00:00
Mark Hatle 275241ea68 sat-solver: Fix solution DB generation and general cleanup
Uprev sat-solver to the latest git version.  This corrects the solv db
generation with RPM5.

Refactor the patches for RPM5 support, cleaning up components of the
cmake.patch for submission upstream.  (Also fix a problem remaining
in the upstream with a mismatched function name.)

(From OE-Core rev: 89a5ad96eef411dccea817a6c37cb1e24840fdc1)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17 00:18:14 +00:00
Richard Purdie 129c624333 openjade-native: Run make depend to ensure dependencies are correct and avoid parallel make failures
[YOCTO #877]

(From OE-Core rev: 238a4eb4f4a60e0e0b8d675bb547a423b9a80c9f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 17:37:28 +00:00
Mark Hatle 7517529b9f package.bbclass: Fix missing debug src files
The previous change used egrep instead of fgrep.  We need to use fgrep because
there are expression like syntaxes in some file names, we need exact matches.

(From OE-Core rev: 0de88dc9aa30f29ec1ab5cc0c541c8be859392ab)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 16:45:06 +00:00
Mark Hatle f8ba2758c5 rpm: Disable repackage on upgrade/erasure by default
[YOCTO #787]

Disable the repackage on upgrade/erase by default.  This removes the warning
message:

    error: cannot create %_repackage_dir /var/spool/repackage/1298783317

(From OE-Core rev: 3878ef5deacda480b7c689720733c03ef6b3c702)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 16:45:04 +00:00
Mark Hatle 439740063f sat-solver: Add workaround for RPM 5 db construction
The first time the database is created on an RPM5 system it works
correctly.  However any subsequent rebuilds cause an empty database to
occur.

The following is from Michael Schroeder <mls@suse.de>:
> rpmdb2solv contains a hack that makes it use the unchanged already
> converted packages. To do this, it needs to get the database id
> for every installed packages by reading the "Name" index. This
> somehow doesn't seem to work with rpm5.
>
> As a workaround you can add a "ref = 0;" line at the top of the
> repo_add_rpmdb() function in ext/repo_rpmdb.c.

(From OE-Core rev: 3db47b9c2a40db8e94c30dca601b0ab82920c14f)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 16:45:01 +00:00
Mark Hatle 5485746914 sat-solver: uprev to the latest version
Upgrade to the latest git version.  Also update the cmake.patch to enable
debugging in all configurations.

(From OE-Core rev: 04da04e371da12815e176c96d852e6bd6afc2b34)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 16:45:00 +00:00
Mark Hatle 2a852d0cdc libzypp: Fix release query
Libzypp is looking for the "redhat-release" file and using that version
number to help adjust the system version.  This ensures that there is
something on the system that returns a correct value.

This patch is likely not necessary.

(From OE-Core rev: a1bb79372e75269b8d135c0018955c533ba06027)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 16:45:00 +00:00
Mark Hatle ff03a5167c rootfs_rpm.bbclass: Add additional system configuration to RPM space
The additional configuration should have been there from the beginning.  The
purpose of these config files is to have a consistent Berkeley DB configuration
even if the underlying RPM version changes -- or the RPM macros change.

This likely would not cause any problems until we attempted an upgrade of
either BDB or RPM.

(From OE-Core rev: a0682191e0743ed8ec1d30567eb26d4cde864ee8)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 16:44:59 +00:00
Lianhao Lu b65a336ea0 oprofileui: upgrade to latest git version.
[YOCTO #880] Upgrade to latest git version.

(From OE-Core rev: 4c60eed742344014cdc9657cdbfebfd8691b3351)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:34 +00:00
Scott Garman 0c6a50bb5e poky-image-basic: add ssh-server-openssh to IMAGE_FEATURES
(From OE-Core rev: 5859ae97e23d748a282ab7361ecf8f47c5d19834)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:33 +00:00
Scott Garman e004e51a6b poky-image-lsb: add ssh-server-openssh to IMAGE_FEATURES
(From OE-Core rev: b58ee17a18ce883843cafee60d1501b402e38f7d)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:33 +00:00
Scott Garman 3201ab7a78 poky-image.bbclass: add ssh-server-dropbear to SATO_IMAGE_FEATURES
(From OE-Core rev: 99ae6d0f54da47a3443c7f85990500703f5dde2b)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:32 +00:00
Scott Garman 3f1e50b24e poky-image.bbclass: add new IMAGE_FEATURES for ssh servers
Image recipes can now add their ssh server of choice by adding
ssh-server-dropbear or ssh-server-openssh to IMAGE_FEATURES.

(From OE-Core rev: dbf59f0af238d9fced0040c1e7379fa81f0507cd)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:32 +00:00
Scott Garman 6b088d6d62 task-poky-ssh-openssh: new task recipe for openssh ssh
This task can be used when IMAGE_FEATURES is set to
ssh-server-openssh.

(From OE-Core rev: 23bfd4e65d6ad79198a189df4ba08794e7dc2614)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:31 +00:00
Scott Garman 0c62497cac task-poky-ssh-dropbear: new task recipe for dropbear ssh
This task can be used when IMAGE_FEATURES is set to
ssh-server-dropbear.

(From OE-Core rev: 109dcd84ee1bd15103eb79e415e5404dfd5a2e03)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:31 +00:00
Scott Garman 849c862af1 task-base, task-poky-basic, task-poky: Remove hard-coded references to dropbear
This is the first step in refactoring the SSH server selection to
be done in IMAGE_FEATURES instead of as hardcoded in these tasks.

(From OE-Core rev: 7e9484241b055975ee0843a91ba12465392370a9)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:30 +00:00
Kang Kai a1f722aa9e slang: export INST_LIB_DIR to fix compile problems
Export "INST_LIB_DIR" in do_install to slang/slsh to fix cross compile warnings
Fixes [YOCTO #812]

Add necessary files to run slsh.

(From OE-Core rev: 71782f844552636bb0158e7a2271e849259a48c0)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:30 +00:00
Darren Hart 2bbeab25c5 formfactor: Assume HAVE_TOUCHSCREEN=0
If no machine specific formfactor is found, the formfactor config defaults
to HAVE_TOUCHSCREEN=1. The result is for the matchbox session to disable
the cursor. This can lead to a lot of churn sorting out why the cursor doesn't
appear: xorg bug, xorg driver bug, kernel drm driver bug, kms bug, many
of which appear when searching for invisible cursor on the web.

On the other hand, if a cursor appears on a touchscreen device, one is much
more likely to reach a correct conclusion: "I need to set HAVE_TOUCHSCREEN=1
in my custom machine formfactor config". Which likely exists or is needed for
other formfactor specific things such as dpi, screen size, rotation, etc.

(From OE-Core rev: 361f7536e75893c51cdcb2c6449e300ee2bbd53a)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:29 +00:00
Yu Ke a4c6bcb895 matchbox-desktop: add configure event handler to fix bug 658
Bug658 - "the bottom icons on Applications and All screen are cut-off in qemu"

the reason is that desktop work area is not resized after window manager
decoration. so add configure event handler to resize the desktop work area
can fix this issue.

[YOCTO #658]

(From OE-Core rev: 79f160a7ac9426ec9952f7a9c40190da8b95c88d)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:21 +00:00
Chase Maupin c6d6e49d07 u-boot.inc: allow variable make targets
* Later versions of u-boot sometimes have top level make targets
  such as u-boot.imx, u-boot.kwb, and for upcoming TI devices
  u-boot.ti.
* These targets define different calls to the mkimage tool to
  change the images created, such as changing the load address.
* This change allows recipes to change the default make target
  of "all" to something like u-boot.ti or u-boot.imx by setting
  the UBOOT_MAKE_TARGET variable.

(From OE-Core rev: 1e675fac4f7f22028700d7c5bc376d029af592e0)

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:17 +00:00
Richard Purdie bd161f7594 tune-atom.inc: Remove duplicate TARGET_ARCH entry to avoid ipk rootfs issues as temp workaround for problems pending a proper fix
(From OE-Core rev: a39610f0ac4c77f225671916610f78a18ff70350)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 20:32:28 +00:00
Lianhao Lu e70f6897e6 package-index.bb: Added missing dependencies.
[YOCTO #871] Added missing dependencies to opkg-utils-native and
opkg-native.

(From OE-Core rev: f50997891a236954f827de73e9422a67eaacb95c)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 17:49:18 +00:00
Dongxiao Xu 6b16a5fd42 xserver-nodm-init: add xuser to group audio
add rootless X user to group audio to access /dev/snd/*

Fixes [YOCTO #799]

CC: Ke Yu <ke.yu@intel.com>
(From OE-Core rev: 4df75586c0f5447670fe945285c7ad01c5e1f37f)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 17:49:17 +00:00
Paul Eggleton ed1cbc9fa8 sstate.bbclass: always delete stamp files in sstate_clean
For safety, always delete the stamp files in sstate_clean regardless of
whether the manifest file exists or not.

(From OE-Core rev: f781c35da9a11eefdb06bda72ca89753df863efa)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 13:20:48 +00:00
Paul Eggleton cbbf658041 sstate.bbclass: avoid deleting unrelated stamp files
Avoid deleting stamp files whose names contain the current task's name as a
substring. This will be especially important for example if do_package_write
is ever made an sstate task (as it would previously have deleted the stamps
here for do_package_write_ipk etc.)

(From OE-Core rev: ea743ea30e2289733d27979e8ec921648342da0e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 13:20:47 +00:00
Xiaofeng Yan cc4bf81af0 task-poky-lsb: Add some packages required by lsb test suite
Add packages gdk-pixbuf-loader-(bmp,ico,ani) to list task-poky-lsb.bb

(From OE-Core rev: fb88c2600d75302f8d55b710c364b4976ec0473b)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 13:20:45 +00:00
Koen Kooi 509364eb63 kernel bbclass: split do_compile into do_compile and do_compile_modules
This allows recipes to insert a custom task in between building *Image and modules

>From OE .dev revision 615876fe218dc3feb4a3df9e6546a7b1a6376800

(From OE-Core rev: a2cc999d663407d17f41e1b0344361944993fa86)

Signed-off-by: Koen Kooi <koen@openembedded.org>
Acked-by: Graeme Gregory <dp@xora.org.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 13:20:43 +00:00
Martin Jansa ae923838ef util-linux: move remaining files from files directory to util-linux-2.17.2 for faster lookup
(From OE-Core rev: 50f2352cb61c2c04b69643be5b3ae5def438d285)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 13:20:42 +00:00
Martin Jansa c52c218afe util-linux: remove unused files from util-linux-2.17.2 directory
(From OE-Core rev: ad5d90af232d6a9f6ea6563ad646a00bfa0aef28)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 13:20:41 +00:00
Martin Jansa 2fd70227b2 util-linux: remove unused files from files directory
(From OE-Core rev: 05d9c6646d4d5bb174e42c3a6e36bcdad1657da3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 13:20:40 +00:00
Darren Hart 50bb373d1b qemux86-64: Enable latencytop and profiling (temporary)
Fixes [YOCTO #858] and [YOCTO #859]

common-pc-64.scc in the linux-yocto meta data omits latencytop and profiling
(but common-pc.scc includes them). The right fix is in common-pc-64.inc, but
this fix gets people people unblocked until Bruce can commit the proper fix to
linux-yocto.

(From OE-Core rev: e906c6ea72b0edcc509a2ef5f44cba5584432dd1)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 01:20:34 +00:00
Khem Raj ff1ab05df1 own-mirrors.bbclass: Bring own-mirrors.bbclass from oe commit 0ef914b250df46a41348479446214575668943fb
below is the history on this class. Documentation for newly introduced SOURCE_MIRROR_URL
is already present in oe-core

commit 0ef914b250df46a41348479446214575668943fb
Author: Eric BENARD <eric@eukrea.com>
Date:   Wed Nov 3 13:28:54 2010 +0000

    own-mirrors.bbclass: allow mirroring of scm fetched packages

    this way, it's possible to setup a local webserver (for example
    using busybox httpd -p "8081" -h backuped_download_dir) serving
    a presiously fetched download directory and to build wihout the
    need for an internet access

    this can also be used when connected to know to know which packages
    are missing from the local mirror's directory (and thus are fetched
    from internet as a fallback), it's possible to run the server this way :
    busybox httpd -p "8081" -h backuped_download_dir -vv -f | grep -B 1  response:404
    to get the name of the missing packages.

    Signed-off-by: Eric Bénard <eric@eukrea.com>
    Acked-by: Denys Dmytriyenko <denis@denix.org>
    Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
    Signed-off-by: Tom Rini <tom_rini@mentor.com>

commit 1b661974e3f8f844f6ec4cdb7bb42cef9595b626
Author: Marcin Juszkiewicz <hrw@openembedded.org>
Date:   Sat Mar 10 14:10:06 2007 +0000

    own-mirrors.bbclass: added class which can be used to set PREMIRRORS from config
    - SOURCE_MIRROR_URL is new variable which point to source mirror which will be
      used before fetching from original SRC_URI location.

(From OE-Core rev: 0dd3f7ccd170c8eae1014f5fd66a0e30fed7ad0c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 01:19:26 +00:00
Khem Raj 3c54f46ed7 netbase: Upgrade version 4.44 to 4.45
(From OE-Core rev: 0fafcf7efeab8f9a5978f4b0693340a2746d7078)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 01:18:52 +00:00
Beth Flanagan fe3cc9a8fa cairo_1.10.2: Fix DEPENDS to include glib-2.0
The autobuilder picked up cairo having a dependency on glib-2.0. Added glib-2.0 to DEPENDS.

(From OE-Core rev: 65010151368c255bef7b2aefc47de48f658cf15b)

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 01:18:51 +00:00
Richard Purdie de796d5df5 sanity.bbclass: Fix inverted mmap_min_addr logic
(From OE-Core rev: 2956705bb0dad88b5ad7d42490c345ccb1d9d478)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-14 23:21:09 +00:00
Richard Purdie 257a9edb4b Update SRC_URIs to use BPN instead of PN
[YOCTO #860]

(From OE-Core rev: 09ed5de9624be38c0fa5cb3f943691c3b4a50686)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-14 22:36:25 +00:00
Liping Ke 1db41d8df2 adt: fix ppc/powerpcc naming bug
for ipk files on ppc, the name should be powerpc. So does the
environment file name. For the tar file name, it should be ppc.
This patch is to correct the arch/machine name pair.
Related Bug#864

(From OE-Core rev: 9b94486c6cc7295ed872e3c03ea297c3f3c7dcdf)

Signed-off-by: Liping ke <liping.ke@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-14 21:08:36 +00:00
Qing He 367db423a6 qemux86-64: set qemux86_64 as package arch name
thus allows rpmbuild to generated RPMs with the right architecture.

(From OE-Core rev: 73b27dc6c326c8465944f8b6397dc6b1ef647452)

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-14 21:08:35 +00:00
Qing He d578d746e6 zypper: add machine arch support
Since libzypp is now of ${MACHINE_ARCH}, change zypper to base
on this arch to.

(From OE-Core rev: 90b618231e77c96e36d7955815aad2ed85258a23)

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-14 21:08:34 +00:00
Qing He 764f68cd82 libzypp: add machine arch support
(From OE-Core rev: b463188407c0c783c8d5aeb0098fc59445db57bf)

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-14 21:08:33 +00:00
Qing He 023c43b98c sat-solver: add machine arch support
(From OE-Core rev: ca758fa404fa447689ff205ee3b4b76bd3f1068a)

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-14 21:08:32 +00:00
Nitin A Kamble 4817a48523 perl: another set of parallel build fixes
[YOCTO #784]

Imported more commits from the perl upstream tree

(From OE-Core rev: c3b74b0c3833541ab5e89a7f9597f1ef8a413a70)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-11 15:07:33 -08:00
Scott Garman 43a2d09800 openssh: allow the openssh meta package to be empty
This allows the openssh meta-package to be used in the
poky-ssh task. Otherwise there will be no package named
openssh to install during image creation.

(From OE-Core rev: 9f4747a1e7e04e0b08b7b402bd8dd7cf8ccd0166)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:46:04 -08:00
Mark Hatle 84b877ba36 gcc-runtime: Fix dbg files
In order to debug certain C++ items, you need the helper python
components.  These components should live in the -dbg package, ensure
they are added to the recipe.

(From OE-Core rev: 285fbd8a206eee061e27f37430499fcbe1e7284d)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:46:03 -08:00
Mark Hatle c180383885 package_rpm: Fix rootfs generation
[YOCTO #797]

During rootfs generation, if other RPM packages are being wrtten
this could cause a failure during the solvedb generation.  We
add a shared lock around the RPM package building.  This will allow
multiple RPM packages to continue to be written at the same time, but
prevent rootfs generation and RPM package generation at the same time.

(From OE-Core rev: 1d5ca654a482f582c75faf546140dfd6064da73b)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:46:02 -08:00
Mark Hatle d8a82c2e79 package.bbclass: Change the debug directory to avoid conflicts
The debug directory before was below ${WORKDIR}.  Unfortunately if
something was based on a git tree, it meant that "git" was the
directory name being preserved for usr/src/debug usage.  The patch
moves to using "${WORKDIR}/.." as the base, to ensure that the
WORKDIR naming is used in usr/src/debug.

(From OE-Core rev: dbc752c75786b0985fbeb4986467ae01290f424a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:46:01 -08:00
Bruce Ashfield ea99160e59 linux-yocto: update to 2.6.37.3
The 2.6.37.3 -stable update is available and can safely be merged
into the linux-yocto BSPs. This updated the SRCREVs of the BSP
branches to their new values.

(From OE-Core rev: 3845eb8285d6b57fe2b824ce482cbeaba561eef5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:46:00 -08:00
Paul Eggleton 08ae53fb6d gst-plugins-good: remove dependency on hal
Disable hal usage at configure time to avoid dependency on hal (which is
deprecated). Only affects "halelements" which is of no use without hal.

Fixes [YOCTO #810] and reverts changes from c6b0c5720fa.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-03-10 18:45:17 -08:00
Richard Purdie b36930096d autotools.bbclass: Fix automake file race issues
If one package is configuring when automake is built, the aclocal-VERSION
directory can be created or removed and this can confuse the configure
process.

Since we always run automake-native, it should always be using the
autoake-native aclocal directory for automake files which is the
result of this patch.

(From OE-Core rev: 2a15188d631a97dc20940f7edc801212e191332f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:14:28 -08:00
Liping Ke f776bc667e Disable wget server side cache
We found some proxy server has wrong cache for long http file name.
It will cause fetching wrong ipk files from adt repo. To avoid this,
we use wget options --no-cache to disable all server side cache.
It will make the fetch speed slower, yet correct always.

(From OE-Core rev: 2e9e8af197671ae06de1bdc9201765b160869d60)

Signed-off-by: Liping Ke <liping.ke@intel.com>
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:14:27 -08:00
Dongxiao Xu 30dbfde8eb gst-plugins-bad: add missing dependency librsvg
Defaultly gst-plugins-bad will configured with option --enable-rsvg.
Besides, it will check if librsvg really exists by certain configure
code.

Therefore there will be a certain race condition that, during
librsvg's populate_sysroot, gst-plugins-bad's do_compile will find
some header files are still not exists though its configure says the
library is supported.

Explicitly add librsvg as gst-plugins-bad's dependency could solve
this issue.

This fixes [YOCTO #831]

(From OE-Core rev: 5b675f91b17eb9d01a4552506518cc0f7de4eba4)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:14:26 -08:00
Lianhao Lu 70cd64a9c6 gcc/collect2: Added --sysroot support into collect2 in gcc.
[YOCTO #815] Added --sysroot into COLLECT_GCC_OPTIONS to allow the
collect2 support user specifed sysroot.

(From OE-Core rev: 868f8d3dd04e3c6dbbce154742cf877fda460a3e)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:14:26 -08:00
Dongxiao Xu 10ce85af33 tinylogin: Fix rotate passwd check logic
Fix rotate passwd check logic which will write data into un-allocated
memory.

This fixes [YOCTO #735]

(From OE-Core rev: 4499beb9ef70d207e0d1f60eae77634a77fc44c3)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:14:25 -08:00
Mark Hatle 2c52b652bf gcc-runtime: Ensure that gcc-runtime builds a debug package
The gcc-runtime package will now create the proper dbg package.  The
RRECOMMENDS change is required to deal with the default.  This is
documented in bug 824.

(From OE-Core rev: 724137e50762f190438e8e87d3f0f9edd99ea11d)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:14:24 -08:00
Dongxiao Xu 360f082b97 telepathy-python: Fix parallel make issue.
There is a missing dependency (creation of "src/_generated" directory)
of some tasks. Add it to fix the parallel make issue.

[YOCTO #783]

(From OE-Core rev: 184b5c83df9ecdb1891b760155d6a9ce587531ae)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:14:24 -08:00
Dexuan Cui 45a51047eb distro_tracking_fields.inc: update the info for oprofileui
(From OE-Core rev: 25e84e0e3d24bc86b31490c5de600f081823fd06)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:14:23 -08:00
Dexuan Cui b8da6660ca oprofileui: upgrade to the latest version maintained by the Yocto project
Oprofileui at http://labs.o-hand.com/oprofileui/ is not maintained now, so
we should change SRC_URI to the one maintained by the Yocto project. This
one includes new bugfixes.

This fixes [YOCTO #820]

[sgw: merged oprofile-git.inc back into .bb as suggested by Joshua]
(From OE-Core rev: d694c6700ee27672e5372939a98d5050cda44ca9)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:14:22 -08:00
Khem Raj 5a7466aeb2 gcc-configure-runtime.inc: Add immediate evaluation otherwise it ends in circular dependency
(From OE-Core rev: 547c62361b21d9cae281d58c54ec2d19a5e25306)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:14:21 -08:00
Martin Jansa 0c6595a719 distutils-base: Only RDEPEND python-core on target packages
* fixes ie setuptools, without this patch it RDEPENDs on python-core-native, which is not RPROVIDED by anything
* imported from OE 8377b8ec57f35b9e5b81a74c77f68fd6e02949c8

(From OE-Core rev: 65317f21736293cc4eeb9a404e9f01043df7565d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:14:21 -08:00
Martin Jansa 1697ae6ee2 debian.bbclass: call auto_libname in reverse sorted AUTO_LIBNAME_PKGS
* see comment for reason why we need this
* more info:
  http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-February/029877.html

(From OE-Core rev: 6f0bbe463204d377f92140b6540d9d518d5c6d6b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:14:20 -08:00
Martin Jansa a54f4b6919 python: add generate-manifest-2.6.py script and regen python-2.6-manifest.inc
* imported from OE with sorted entries etc

(From OE-Core rev: 94b36524550ff2c94a5f8d82a9bc2073c06d418a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:14:19 -08:00
Nitin A Kamble cbbfbfc54f gcc-runtime: fix LSB library checks for libstdc++.so.6
[YOCTO #795]

When we run library check of LSB on qemux86 and qemuppc, we got some failures
about 'libstdc++.so.6'.

Test environment:
Platform: Qemu-x86, Qemu-ppc
lsb image: poky-image-lsb-qemux86-test.ext3(Feb 26th, auto-build server)
Library check of LSB: 4.1.0-1

The error log:
Did not find _ZNKSt5ctypeIcE8do_widenEPKcS2_Pc (GLIBCXX_3.4) in libstdc++.so.6
Unmangled symbol name: std::ctype<char>::do_widen(char const*, char const*,
char*) const
...

 found that some weak symbols ('W') change into local ('t') during link time
and be stripped. According to compiling log, the option
"-fvisibility-inlines-hidden" is used for gcc. And this option caused some weak
symbols change into local.

see http://bugzilla.pokylinux.org/show_bug.cgi?id=795 for more information on the bug.

(From OE-Core rev: 4bb281ef5f12096d0889ba8efcc3fd3bb0ed3b3c)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-10 18:14:13 -08:00
Saul Wold fab742bd46 quilt: add autotools inheritance
(From OE-Core rev: c0ce17aed98c6475b6c1dc18c6655f3a52eda0fa)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-08 17:14:04 -08:00
Joshua Lock 0a011ca48a util-macros: fix DEPENDS for nativesdk
(From OE-Core rev: adf342de34604fc5a75df9798feac1e4e2b27944)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-08 17:14:03 -08:00
Richard Purdie fc1b893d1a sstate: Ensure the SRCURI fetcher cache is not used for sstate
(From OE-Core rev: 115b3b95e87320b4a6a678df45fece06469dfaeb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-08 11:19:42 -08:00
Khem Raj 6030fd77aa sanity.bbclass: Check for /proc/sys/vm/mmap_min_addr to be >= 65536
* Now qemu can handle lower values we can chnage this sanity test
  to check of values if less than 65536

(From OE-Core rev: 5f172d8b9b829554f3d884a9007a33fff7dcc187)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-08 11:04:31 -08:00
Martin Jansa bd32707850 sanity.bbclass: some multilib systems have symlink /lib -> /lib64
* ie gentoo has /lib -> /lib64
* old test assumed only /lib64 -> /lib

(From OE-Core rev: 776af6c2fa5a80debfafb4697c462d0dd0e7d76c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-08 11:04:30 -08:00
Khem Raj 6360097336 poky-default.inc: Change LINUXLIBCVERSION "2.6.36" -> "2.6.37.2"
(From OE-Core rev: 9a86fa5235ab8715319709ff2171864a074aed37)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-08 11:04:29 -08:00
Liping Ke 7b72bbcdb6 adt: removed unused repo source and opkg options
opgk option --force-overwrite is only a workaround for bug #547.
Now this bug is gone, so remove this option.

and also, the first opkg repo source is not useful, remove it.

(From OE-Core rev: e6c72db2ac5684dd2bb65207b2f3da7214f5dca7)

Signed-off-by: Liping Ke <liping.ke@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-08 11:04:28 -08:00
Saul Wold 8828e754a2 cpio: Fix the SHA256 Checksum for the src tarball
(From OE-Core rev: b8550ac3f30bd983191afe0f1afe3c6c45a54bca)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-08 11:04:27 -08:00
Dongxiao Xu 61125e0762 connman: add xuser to the dbus permission list
Some platform (like atom-pc) enables rootless X,
thus the connman frontend run on it need the
permission to connect with connman by dbus.
This commit grants permission to xuser.

This fixes [YOCTO #779]

(From OE-Core rev: cfbf50c235c2faeb53f43b42a12c49c022288488)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-08 11:04:26 -08:00
Liping Ke 56e417992d adt: Update to svn r596 to fix symbolic link issues
See the longlinksfix patch for details but symlinks over 100 chars long
were broken in sdk tarballs and its due to problems in the inbuilt tar in
libbb in opkg. svn r596 has already fixed the problem.

(From OE-Core rev: 90d4624f0c5de6a35eace1f13c3e04df9737390c)

Signed-off-by: Liping Ke <liping.ke@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-08 11:04:24 -08:00
Saul Wold 4f87eeff40 lsb-live image: add lsb-live and lsb-sdk-live image types
(From OE-Core rev: 7ba79b4c25126b42d3697cec9ecdf8d688d6da54)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-08 11:04:23 -08:00
Saul Wold 7c474dc3d6 attr: Added ncurses to depends
(From OE-Core rev: 21f294d9600a369fff5eafb0c7358694d9ff0221)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-08 11:04:22 -08:00
Saul Wold f127151211 gst-plugins: Added hal to DEPENDS
Fixes [YOCTO #810]

(From OE-Core rev: c6b0c5720fa0fc2ba7a6792b7f52faad38dd47dc)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-08 11:04:21 -08:00
Scott Garman 9ebf8f9d19 linuxdoc-tools-native: Fix build error with txt documentation
Disable building txt documentation. This is a temporary workaround,
as I have found an Ubuntu 10.10 system which throws errors during
building this that I'd like to ultimately fix. The error manifests
itself from the end of LinuxDocTools.pm with the following messages
during do_install:

| - Building txt docs
| Processing file ./guide
| troff: fatal error: can't find macro file s
|  fmt_txt::postASP: Empty output file, error when calling groff. Aborting...

(From OE-Core rev: affd8315fd37cf187e0646d7417b57ce38c78296)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-06 08:56:26 -08:00
Lianhao Lu b43e5d3029 toolchain-script.bbclass: Added --sysroot to LDFLAGS.
[YOCTO #808] Added --sysroot to LDFALGS in environment files.

(From OE-Core rev: a3a7aed9cca5765f106762cbcd9efbf4f1fccf9f)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-06 08:56:25 -08:00
Saul Wold 2a285e69c2 util-macros: add libgpg-error to DEPENDS list
(From OE-Core rev: e01574d5564e9d65759eaa08bcac80eb31a52c04)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-06 05:22:43 -08:00
Saul Wold 4709af7d87 lsbsetup: Fix LIC_FILE_CHKSUM
(From OE-Core rev: 85c2417407fd5f9e0c3027fd99c9389e3ce167df)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-06 05:22:43 -08:00
Saul Wold 2fc03aee2c elfutils: add bzip2 to DEPENDS
(From OE-Core rev: 566e8425db0c38b6b77c014738f67600e8c462dd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-06 05:22:42 -08:00
Saul Wold dc7e00d6e9 task-poky-lsb: Remove new eglibc-* packages
Remove the new eglibc packages that were part of another
patch and did not get cleanup here.

(From OE-Core rev: bddd9012d2a6393afceef752389d0006f2e47681)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-04 23:23:18 +00:00
Bruce Ashfield ae2896a5ca linux-yocto: update machine configurations
Fixes [YOCTO #733, YOCTO #766, YOCTO: #801]

Updating the configuration for the routerstation pro and
mpc8315e-rdb to 2.6.37 variants of the RTC, USB and VFAT
filesystem types.

(From OE-Core rev: 404d47cf579c24b126a9cb2783a3224aabb27810)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-04 22:26:45 +00:00
Xiaofeng Yan abea71b0a5 task-poky-lsb: Add packges needed by LSB Test Suite
These packages added into task-poky-lsb.bb are absent in lsb-image during lsb test

(From OE-Core rev: 472f89dec06f0be43ff3e0638cac3f55f7b7e7cf)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-04 22:26:44 +00:00
Yu Ke 87290a8497 x11vnc: fix the endian issue in mips for bug 782
x11vnc use LIBVNCSERVER_WORDS_BIGENDIAN to handle the endian, however
it is not set correctly when cross-compile for mips, thus x11vnc mips
does not work correctly.

meanwhile, x11vnc has the autconf macro AC_C_BIGENDIAN which can
handle the endian correctly. so this patch replace the
LIBVNCSERVER_WORDS_BIGENDIAN with WORDS_BIGENDIAN (generated by
AC_C_BIGENDIAN) to fix this issue.

this patch fix the bug [YOCTO #782]

this appraoch is suggested by Khem Raj

CC: Khem Raj <raj.khem@gmail.com>

(From OE-Core rev: da4b22c8bdf00813164d8830e52e1d6ad35cdd94)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-04 22:26:40 +00:00
Jingdong Lu ed735a4813 task-poky-lsb: add python-misc
python-misc also needed by python-runtime test of LSB.

(From OE-Core rev: 266562710b86a2373d8fffa5153557e4660f9596)

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-04 22:26:38 +00:00
Darren Hart 2140c9dfc3 hello-mod: add a module for testing module.bbclass
The following patch creates a hello-mod recipe for building a trivial
out-of-tree kernel module, hello-mod.ko. This demonstrates the hostprogs
build modifications added to module.bbclass. When loaded and unloaded,
the module prints a simple string to the console to demonstrate it was
compiled correctly.

Tested on qemux86 poky-image-sato and beagleboard poky-image-minimal
(after adding hello-mod to the images).

(From OE-Core rev: d4765569d51448e8918bb15e7ab342983344074a)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-04 22:26:37 +00:00
Darren Hart 5c0df11a69 module: build hostprogs for each module
This fixes [BUGID #241]

The kernel hostprogs are built for the host architecture. They should not be
deployed to the target, and they should not be included in an sstate package
which might get reused on a host of a different architecture.

As we don't build many out-of-tree modules, this patch takes the approach of
building the hostprogs as part of the module compile process with a
do_compile_prepend() routine in module.bbclass.

We don't have to clean the hostprogs as modules depend on the kernel being
populate_staging, so its done with the staging directory by the time we run.

(From OE-Core rev: e807fc977770cb64a217768672c18437ea8f3057)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-04 22:26:36 +00:00
Xiaofeng Yan 60ce101ce3 LSB_Setup.sh:Install LSB Test Suite and set lsb test environment
Perfect some funtions for lsb test in yocto 1.0

(From OE-Core rev: aa60f178d9f6b4ebdf03bbfcf2b46e94bf4e78d3)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-04 22:26:36 +00:00
Mei Lei 8af3868670 distrodata.bbclass: Get git repo tag information
For those recipes which use git repo and have tag information, we can use tag to trace the version change. For other no tag recipes, we still use their
commit checksum to trace their version change.

(From OE-Core rev: 30343a72b89167b46ff4cc33be6ada2fd4b13a59)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-04 22:26:35 +00:00
Saul Wold 4e1ba86c5a distro tracking: Updates to Tracking infor for clutter and other changes
(From OE-Core rev: 3a5fed48f3254ac6aafb4a5c7fa4015ad87b02e7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-04 22:26:33 +00:00
Richard Purdie b0dec83e8c meta-yocto: Move files inappropriate to OE-Core from meta
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-03 23:53:32 +00:00
Richard Purdie dabd5deb4e Fixup merge error and apply cleanups
(From OE-Core rev: a72822d315d7bc35a424b0807693ad7a3317c519)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-03 23:49:21 +00:00