Commit Graph

12771 Commits

Author SHA1 Message Date
Mark Hatle 13f3607779 native.bbclass: Add a simple chown intercept command
During native recipe processing we want to intercept any calls to chown
and do nothing.  This prevents errors and allows the same recipes to be
used for both native and target recipes.

(From OE-Core rev: 7fd8287d3320231db83c36d09f2b841e520fcfe9)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:01 +01:00
Richard Purdie 42df3f81a1 kernel.bbclass: Stop do_install poking directly into the sysroot and evading sstate
do_install was putting files directly into the sysroot which means sstate
had no knowledge of them. This meant they didn't get cleaned along with the
other files from the task amongst other issues.

This patch puts them in ${D} where they were supposted to be.

Tested-by: Tom Rini <tom_rini@mentor.com>
(From OE-Core rev: 983197c10104bbbcb6cfd6e923a3bf11152b3001)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:01 +01:00
Richard Purdie 2fd3fc0b5e packagedata.py: Fix read_subpkgdata_dict()
If both VAR and VAR_foo are in subd, we need to ensure VAR_foo gets
returned. Currently the code would work randomly. The only current
user is the rpm packaging backend.

(From OE-Core rev: ad098e40e8c57727892819e131bf18308bf244d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 16:02:40 +01:00
Mark Hatle b97b3e85ac classes/package_rpm.bbclass: Change the way the PV is transformed
There were some odd instances where the PKGV could not be loaded in the old
way.  Change to verify that PKGV exists before attempting to retrieve the
value from the key.

(From OE-Core rev: c2ce3573fb2816cd2023a56b364fae4c0f4455ae)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 16:02:40 +01:00
Tom Rini 2b8a68001a kernel.bbclass: Stage System.map with KERNEL_VERSION suffix
Without this, images will fail now that kernel-abiversion is back.

(From OE-Core rev: 3dbe49b13e7513e449f13515591d02a7d2f560ae)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 13:45:56 +01:00
Zhai Edwin 120b40952e clutter: Use new git repo
clutter move its git server from clutter-project.org to gnome.org

[YOCTO #1040] got fixed

(From OE-Core rev: 752ab344a6456619901fb8d33137b0329d5b039e)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 13:45:56 +01:00
Koen Kooi bff293c0dc kernel.bbclass: restore kernel-abiversion file
This fixes external module recipes that need $KERNEL_VERSION. It got removed by

    commit a9d41062e24a6b99661b3a5256f369b557433607
    Author: Darren Hart <dvhart@linux.intel.com>
    Date:   Tue Mar 8 17:09:10 2011 -0800

        kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules

seemingly as an oversight.

(From OE-Core rev: 6978774595f892e6a819ee64c932d475c67a6a0f)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 13:34:33 +01:00
Mark Hatle 1bf6ab4814 perf: Fix linux-tools to ensure perf is installed under "fakeroot"
If perf isn't installed under "fakeroot" (pseudo) control, all of the files
are given the build user's uid/gid.

(From OE-Core rev: 805d80eb30fb34b3d2a12b8ba4db8b813ff5c475)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:37 +01:00
Mark Hatle d9fc516d73 kernel.bbclass: Add support for perf-dbg package
The perf component is built with the kernel, so ensure that it gets the
debug information associated with it.

Also bump the PR in the linux-yocto-* to ensure they get rebuilt.

(From OE-Core rev: 17f76de8ab8b7c9e62c1149017a3fa78866d9300)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:37 +01:00
Mark Hatle 2eed6de298 sysfsutils: Fall back to default -dbg package
The overriden -dbg package wasn't including all of the associated sources,
fall back to the default -dbg package instead.

(From OE-Core rev: 4c61c59999c19e452af078c3f0fb2c1825aff5df)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:37 +01:00
Mark Hatle 3c928be969 classes/package_rpm.bbclass: Enhance diagnostic messages
We clearly state now if we are:
  * Skipping an empty package
  * Creating a (full) package
  * Creating an empty package

(From OE-Core rev: 3db9d865ef7d65e3712eb7f9a659bb31cb3cb75e)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:36 +01:00
Mark Hatle d1557562a5 python: Switch to using the default -dbg package
Python was missing a lot of debug information.  Switch to use the default
-dbg package.  Also add some additional debug information to the -dbg package.

(From OE-Core rev: 63f4e1b469046753009d0cef498ef09c87c54912)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:36 +01:00
Mark Hatle 35e622d415 python-pyobject: Remove unnecessary -dbg setting
(From OE-Core rev: 6b7156c8ce5d9073bd12ded251c0eeacb021c8c1)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:36 +01:00
Mark Hatle 4c8bd3ea84 libxml-parser-perl: Fix debug package
Certain files were being missed in the -dbg package, fix this.

(From OE-Core rev: 5b4bdf20c60ca625c059237b5d70b57c6643e6ec)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:36 +01:00
Mark Hatle fa38716294 texinfo: Change to use the standard -dbg file
Remove the custom -dbg package and replace it the standard configuration.

(From OE-Core rev: 1c920dcb61e48ee292928ffe0c7f1225220843cc)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:36 +01:00
Mark Hatle b14c56b2c5 psmisc: Remove custom -dbg packages, use default
(From OE-Core rev: 69c330714e9f89991dfe07300a6c3dfcc93da62a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:35 +01:00
Mark Hatle f1d78dfdab modutils: Add in missing -dbg package
(From OE-Core rev: d45cae7281da8907153249f03e63883ed44cbe99)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:35 +01:00
Mark Hatle 3444e18f8e liba52: Remove custom -dbg, fall back to default
(From OE-Core rev: 648fe1f48184c6766d644619eb3c689d7f99ec64)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:35 +01:00
Mark Hatle f011f60869 python-gst: Add missing files to the -dbg package
(From OE-Core rev: 35a1a419f56d032ae3828e54c183d2d43789f6e3)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:35 +01:00
Mark Hatle f0bff52a2b mc: Add missing debug files to -dbg
(From OE-Core rev: fbcba3a0954721f706ac4ad959f56d33f2b83e6a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:35 +01:00
Mark Hatle 52c96e396f gamin: Add missing debug files to -dbg
Add the missing files to the base -dbg package, remove the libPN-dbg as it is
non-standard.

(From OE-Core rev: f736d197150fdf6520402ba33e55214527455833)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:34 +01:00
Mark Hatle de8636c1cb gthumb: Add missing debug files
(From OE-Core rev: 79fdbb5df41150dae916104960e4b76ba02cf9c7)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:34 +01:00
Mark Hatle 41694312a3 systemtamp: Add missing debug files
(From OE-Core rev: 456b7bf83847f8c53de460317ce7f2f58d91a84c)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:34 +01:00
Mark Hatle d6f064df0d trace-cmd: Add missing debug files
(From OE-Core rev: 948c00e036f1d7c7ed419607b0e51c9ef9bd4bd1)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:34 +01:00
Mark Hatle fd63f1c4d7 gstreamer: Add missing debug files.
(From OE-Core rev: 1eac84cb72a45d82993590a49bbf3650fba7f615)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:33 +01:00
Mark Hatle 1569e746ec gtk-sato-engine: Add missing debug files
(From OE-Core rev: 9a5a05851f2e27c962b9036ebdaacc221cbab595)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:33 +01:00
Mark Hatle ee7fd40f5d libproxy: Add missing debug files
(From OE-Core rev: e3bcf80e43f1083437e2672cb37621bf39d174ae)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:33 +01:00
Mark Hatle 0da06f2b22 wireless-tools: Avoid stripping binaries
(From OE-Core rev: 3158bc05261f47ea7d64126f5d92c145081f5835)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:33 +01:00
Mark Hatle 5d5302446c busybox: Avoid stripping binaries
(From OE-Core rev: 466c0ae8a2a0701677536136a0cd6cca7e1f00e6)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:33 +01:00
Mark Hatle d9949fb5a8 quota: Avoid stripping binaries
(From OE-Core rev: ea2bad01000a63840dc8ba79eb227ead13075d32)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:32 +01:00
Mark Hatle 4bf6a73166 sysstat: Avoid stripping binaries
(From OE-Core rev: 1817d3b3a18e596d531435734e2fc6423b739905)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:32 +01:00
Mark Hatle 6c27d996c0 db: Avoid stripping binaries
(From OE-Core rev: d594bfe8ef972689b94e47467a0530ab5f1755ab)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:32 +01:00
Mark Hatle d905e910c1 unzip: Avoid stripping binaries
Not only do we have to override things on the make line, but we
need to hack on configure as well to avoid certain behavior.

(From OE-Core rev: 97a6bf1787995f15c8033bd26bdbe50c7efbbcfd)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:32 +01:00
Mark Hatle da7a1b4e08 dropbear: Don't patch in configure
We need to avoid applying a patch in configure, because a rebuild could
trigger this, without triggering do_patch.

(From OE-Core rev: 16fbdaa24fd4add37c1e873505f55bcef5695a94)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:32 +01:00
Mark Hatle c425c3804c nasm: Fix aclocal
The mv of aclocal.m4 can only occur once, or it will fail.  On a re-run of
configure this will fail.

(From OE-Core rev: 1e232db4f6e90577f75efabd279b6980277b9547)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:31 +01:00
Mark Hatle 9633eebe1d boost: Move the do_configure_prepend to a seperate task
We need to perform those actions after patch, and before configure.

Otherwise a rebuild starting with configure will fail.

(From OE-Core rev: 2499777a7f16e98e1e34ea22d2e6a3409e35915b)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:31 +01:00
Mark Hatle 745fffc5c2 tinylogin: Avoid stripped binaries
(From OE-Core rev: 6a4e0a4e1f84d124e01a81b5a8563df080c7c999)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:31 +01:00
Khem Raj a82642faaa tcmode-default.inc: use 4.6 for GCCVERSION and SDKGCCVERSION
(From OE-Core rev: dae0a009010f268f1d8fb8e8765a1698ac051878)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 11:50:08 +01:00
Khem Raj 0faa5f7299 gcc-4.6: Switch to using svn SRC_URI for recipe
We call the recipes 4.6
Remove the backport patches

(From OE-Core rev: 68b545f4ff719f2b6e57d68b002dc9845c7a14ae)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 11:50:07 +01:00
Xiaofeng Yan c2007ba4cd poky-lsb.conf: Instead of += with _append
The default variable DISTRO_FEATHURE was set in poky.conf before \
moving to defaultsetup.conf. Defaultsetup.conf is included after poky-lsb.conf \
So poky-lsb.conf sets the variable using += but since its empty, \
it might as well be an = and then the later ?= doesn't do anything since the \
variable is already set.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-06-23 11:19:38 +01:00
Richard Purdie b914de55a4 Revert "eglibc: Upgrade recipes from 2.13 -> 2.14"
This reverts commit 16837d4cc3.

2.14 isn't ready for prime time :(

(A load of files no longer seem to get installed for example)
2011-06-22 23:49:42 +01:00
Richard Purdie 82e0e0a153 Revert "tcmode-default.inc: Bump EGLIBCVERSION to 2.14"
This reverts commit 0250ece17e.

2.14 isn't ready for prime time use :(

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 23:48:31 +01:00
Bruce Ashfield ee4dd303b6 linux-yocto/meta-yocto: update yocto/standard and beagleboard SRCREVs
As part of sync'ing the in-tree beagleboard support, the
following commit has been pushed to all branches, and hence
the SRCREV update:

  bb8e31f USB: ehci: remove structure packing from ehci_def

The beagleboard SRCREV update captures the 69 new patches
merged from meta-ti and other upstream sources.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-06-22 22:56:04 +01:00
Bruce Ashfield 7e5af814f8 linux-yocto: update meta and yocto/standard SRCREVs
As part of sync'ing the in-tree beagleboard support, the
following commit has been pushed to all branches, and hence
the SRCREV update:

  bb8e31f USB: ehci: remove structure packing from ehci_def

The meta SRCREV update is to capture the new and sync'd BSP configuration.

(From OE-Core rev: f9b77564cc7f62ea0bc4b4320036f2d6d5c90e27)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 22:55:35 +01:00
Bruce Ashfield 58db68cd2a linux-yocto: update meta SRCREV for new config groups
Updating the SRCREV for the kernel repo's meta branch to capture
the following commits:

  94fa015 meta: add taskstats experimental feature group
  4fb2ed5 meta: enable freezer support
  88d619e meta: enable fuse and cuse as modules
  f465827 meta: add namespaces + experimental configs
  fbdd376 meta: add devtmpfs config group
  b04f6d9 meta: re-enable cgroups options in the standard kernel

There's also a change to the recipe itself to trigger the taskstats
optional config items by default. This is to allow the introduction
of these changes gradually, since other recipes inheriting the kernel
can add or ignore these options at their convenience.

(From OE-Core rev: 91ddf0ad3a120bbfb5a24bd853d4d195291faa95)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 22:55:35 +01:00
Bruce Ashfield 2e11835743 linux-yocto/meta-yocto: update SRCREVs for utrace merge
Updating the SRCREVs to account for the merge of utrace to support
systemtap.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-06-22 22:13:28 +01:00
Bruce Ashfield 60871cc687 linux-yocto: update SRCREVs for utrace merge
Updating the SRCREVs to account for the merge of utrace to support
systemtap.

(From OE-Core rev: ac12cbf31433743e5966d1d2013e010f0c548c43)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 22:13:09 +01:00
Paul Eggleton 0aad8f3f60 qt4-tools-nativesdk: fix compile failure in src/dbus
[Qt #17962]   -- http://bugreports.qt.nokia.com/browse/QTBUG-17962
[YOCTO #1168] -- http://bugzilla.pokylinux.org/show_bug.cgi?id=1168

Fix "invalid conversion from 'const void*' to 'void*'" error compiling
src/dbus/qdbusintegrator.cpp. It is assumed that the use of "const" here
is incorrect as no other usage of Q_GLOBAL_STATIC_WITH_ARGS uses const
prefix on the first (TYPE) argument.

Patch was imported from the Qt bug tracker (see above reference); the
patch was rejected but for procedural rather than validity reasons.

Fixes [YOCTO #1168]

(From OE-Core rev: 17d5422460bf9074223475b15d128171d12b170a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 22:13:09 +01:00
Paul Eggleton d827764c70 qt4-tools-nativesdk: drop freetype include as we build with -no-freetype
Freetype support is disabled so there's no need to point to the freetype
headers.

Prompted by OE commit 4931b37c8faf1eef7322cc82bf979885c770f4e0 from
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

(From OE-Core rev: bc5647504268ec4ef8a20dd1a6f9bdf7e6849ba7)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 22:13:09 +01:00
Paul Eggleton 4d7108f7af qt4-tools-nativesdk: fix unpack failure due to missing g++.conf
FILESPATHPKG was being used to in order to bring in linux.conf and
g++.conf in this recipe, however this probably never worked since
FILESPATHPKG always has the MACHINE appended to it and these are not
machine-specific files. The only reason it built was that these two files
could be found within the "files" subdir until we removed Qt 4.6.3.
Using FILESEXTRAPATHS (as qt4-tools-native does) solves this.

(From OE-Core rev: 49102f3728425cacfaeb384491b9355bfa2a4230)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 22:13:09 +01:00