Commit graph

11431 commits

Author SHA1 Message Date
Richard Purdie
c0f0a8ee0c bitbake/BBHandler: Improve handling of multiline comments and warn users of the change
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-22 21:45:28 +00:00
Richard Purdie
be92622339 Remove all comments from multiline expressions (as mentioned in bug #704)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-22 21:45:28 +00:00
Zhai Edwin
d26cbff22a qemu: enable audio support
On qemux86, export ac97 & es1370 emulated device to guest, and enable host oss&alsa
driver. So end user can get sound from qemux86 guest if the sound card
driver installed.

[BUGID #488] got fixed.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-02-22 11:04:07 -08:00
Dexuan Cui
e2dbad7b7d mklibs-native: fix the build on Ubuntu 9.04 by defining STT_GNU_IFUNC
mklibs-native needs elf.h (that is supplied by libc6-dev).
since STAGING_INCDIR_NATIVE doesn't contain elf.h (we don't have eglibc-native),
so the host's /usr/include/elf.h is used.
Unluckily, the libc6-dev in Ubuntu 9.04 is so old that the elf.h doesn't
define STT_GNU_IFUNC, so we have to define it ourselves.

Fixes [BUGID #726]

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-02-22 07:21:24 -08:00
Richard Purdie
9a28ad6b02 package_deb.bbclass: Place the whole task under fakeroot context to fix build failures
If we don't do this, the ipk/rpm backends can create temporary files and then
when the deb package creates new files, those inodes can be reused and permission
confusion results.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-22 10:53:25 +00:00
Dongxiao Xu
b43af1811a gst-meta-base: add uridecodebin library support
libowl-av tries to use playbin2 defaultly, which needs uridecodebin
support from gst-plugins-base.

This fixes both [BUGID #615] and [BUGID #616]

CC: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-02-22 16:15:38 +08:00
Darren Hart
e79a8a6d17 linux.inc: remove the obsolete linux.inc kernel recipe include
linux.inc was used by older kernel recipes which have now been removed from the
core meta data. I references machines now only defined in meta-extras. The
configure prepend mangles the kernel .config in non-intuitive ways and the
install peroforms some odd boot image manipulation that is not used nor required
by supported machines. The required functionality, such as defconfig setup, has
already been moved to the kernel bbclass. Remove linux.inc to avoid confusion
for new kernel recipe authors and clean up the kernel meta data.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-02-21 17:59:39 +00:00
Darren Hart
3b1662530f linux-2.6.33.2: remove linux-2.6.33.2 recipe
The one machine listed for this kernel recipe does not have a machine config.
This recipe uses some older mechanism which are being phased out. Remove it to
avoid confusion and clean up the kernel recipes metadata.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-02-21 17:59:39 +00:00
Darren Hart
0fff049404 linux-2.6.23: remove the linux-2.6.23 recipe
The machines supported by this recipe were either recently removed or simply
not defined.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-02-21 17:59:39 +00:00
Darren Hart
7bae9465f3 zaurus: remove zaurus linux includes
Zaurus support was removed with:

673abd92f9
conf/machine: Drop older machines with no recent updates

which removed both the linux-rp and sharp-flash-header recipes required by the
zaurus includes removed by this patch.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-02-21 17:59:39 +00:00
Liping Ke
7537f44a49 ADT: Fix check_result script cond comparison bug
When meeting errors, the return number can't be directly compared with
-1. Actually, it might be represented as 255. The correct way is to
compared it with 0. If the result is non-zero number, we meet error.
This patch is for fixing [BUGID #742]

Signed-off-by: Liping Ke <liping.ke@intel.coom>
2011-02-21 17:53:51 +00:00
Mei Lei
6148562de2 distrodata.bbclass: Fix some bugs for rpm,icu and quicky recipe when checking upstream version
Fix some bugs in checkpkg function when checking upstream version

Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-02-21 17:53:51 +00:00
Nitin A Kamble
489465b82b libtool: avoid absolute pathnames of general utils
addded a new patch:
	libtool/avoid_absolute_paths_for_general_utils.patch

This fixes [BUGID #154]
This fixes [BUGID #734]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-21 17:53:51 +00:00
Bruce Ashfield
3c314b9b2a linux-yocto: update to 2.6.37.1
Updating the SRCREVs to reflect the 2.6.37.1 merge.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-21 17:53:50 +00:00
Richard Purdie
4b6de47e73 bitbake/runqueue: Drop PATH override. This was needed for the exec() change but not now we use fork()
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21 17:26:18 +00:00
Richard Purdie
ac7aa9499a tar.inc: Fix unintended damage
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21 16:58:33 +00:00
Richard Purdie
f6ae6068cf tar-replacement-native: Fix install
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21 16:44:09 +00:00
Richard Purdie
577dd4b3e5 tar-replacement-native: Add a target to replace the default tar
tar < 1.24 has symlink issues where extracting a tar archive containing a symlink
to a directory where that symlink already exists will cause the symlink to be
dereferenced. If that target doesn't exist tar can fail with a permissions error.

Since we need to be able to do this for packages containing symlinks like
xorg-minimal-fonts and eglibc, we have to ensure a tar 1.25 is available early
in the build process.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21 16:36:51 +00:00
Chris Larson
05c4692320 siggen: add bb.data, bb.parse imports
(Bitbake rev: 8eafb12208fcd073f930c0c74f25831d02c02198)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21 13:49:56 +00:00
Chris Larson
c538800fd5 uihelper: import bb.build, kill commented lines
(Bitbake rev: 718448e96d714adf8aaecedac5cb77c7f36b9cdb)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21 13:49:04 +00:00
Chris Larson
5f73918d99 runqueue: simplify RunQueueStats.copy
(Bitbake rev: 778571f155139fcf43d0e30e875c39d6592ae03f)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21 13:48:52 +00:00
Chris Larson
0f42f6b640 runqueue: pass a copy of the RunQueueStats to events
This avoids cases where the stats are modified after the event is fired but
before it's dispatched to the UI.

(Bitbake rev: 1954f182687a0bd429175dda87f05d8a94bb403a)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21 13:48:39 +00:00
Richard Purdie
ec071acf23 rm_work.bbclass: Improve handling of noexec tasks
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21 12:58:06 +00:00
Richard Purdie
b42273a909 lib/oe/path.py: Add expection class to handle the output argument
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21 11:12:15 +00:00
Mark Hatle
0a8f4f45b6 rpm: Increase the number of solvedb's allowed
Increase the number of allowed solvedb's to 20 from the original 5.

We also add an additional error message to RPM incase the 20 is ever
exceeded.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-18 20:51:30 -08:00
Scott Rifenbark
9f0f7c4390 documentation/kernel-manual/kernel-how-to.xml: Changes to section 3.4.4 and new 3.4.5
I made some updates to the 3.4.4 section according to Bruce Ashfield's
feedback.  I also added a new section 3.4.5 (Creating a BSP Based on an
Existing Similar BSP Without a Local Kernel Repository).

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2011-02-18 20:51:30 -08:00
Scott Rifenbark
07c159fd22 documentation/kernel-manual/kernel-how-to.xml: fix to step 3 and 4 of section 3.4.4
Added text after the sample bbappend file stating that the user needs
to update the KSRC assignment statement and also remove its comment.
Also they have to remove the comment from the SRC_URI line.

Changed the bitbake command in step 4 to use the linux-yocto-stable
file rather than the linux-yocto file.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2011-02-18 20:51:30 -08:00
Scott Rifenbark
6500cef062 documentation/kernel-manual/kernel-how-to.xml: Fix to step 3 of section 3.4.4
Changed 'linux-yocto_git.bbappend' to 'linux-yocto-stable_git.bbappend'
in step 3 just before the code example.  This makes the code consistent
with the rest of the example supporting the 2.6.34 kernel.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2011-02-18 20:51:30 -08:00
Scott Rifenbark
7c06c4f545 documentation/kernel-manual/kernel-how-to.xml: Fix to step 1 of section 3.4.4
Step one states that the linux-yocto_git.bbappend file is left.  This
file is associated with distro 2.6.37 kernel and the rest of the
example is associated with the 2.6.34 kernel.  So, I changed the
step to indicate that the directory is left with a linux-yocto-stable_git.bbappend
file.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2011-02-18 20:51:30 -08:00
Richard Purdie
c168c52936 meta/lib/oe/path: Use check_output for subprocess so we can see error info. Import code to be python 2.6 compatible.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-18 18:14:50 +00:00
Richard Purdie
8048b714cd local.conf.sample: Handle the case the user incomments a machine entry and expects it to override the default
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-18 15:52:02 +00:00
Richard Purdie
673abd92f9 conf/machine: Drop older machines with no recent updates
These are all moving to meta-extras. Ideally in the future machines
such as these will be maintained to topic specific layers as we move
to a more layer oriented model. If this causes a problem for anyone
please discuss it on the mailing list.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-18 15:36:06 +00:00
Richard Purdie
fed61beb31 local.conf.sample: Update MACHINE list to match our website and documented supported list
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-18 15:20:01 +00:00
Richard Purdie
359a4d8bf7 bitbake/runqueue.py: Move SIGCHLD handler to wrap none server sleep call
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-18 11:54:28 +00:00
Dongxiao Xu
1575113896 gstreamer: reenable PARALLEL_MAKE
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-02-17 17:25:22 -08:00
Qing He
3810796ee3 openssl: fix parallel make
Signed-off-by: Qing He <qing.he@intel.com>
2011-02-17 17:25:22 -08:00
Dongxiao Xu
c35d91062f connman-gnome: Enable config menu popup even services are not available
User may still want to configure networks even if current services are
not available, for example, set online/offline mode, etc.

Enable the popup menu even if the status is unavailable.

This fixes [BUGID #472]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-02-17 17:25:21 -08:00
Lianhao Lu
6f286cccbe recipe-core/meta/meta-toolchain.bb: Set correct value for CONFIG_SITE.
Set the value of CONFIG_SITE for correct autoconf config site files.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-02-17 17:25:21 -08:00
Lianhao Lu
6dc50b1736 toolchain-script/populate_sdk/meta-toolchain: moving common code.
moving common code between populate_sdk.bbclass and meta-environment.bb
into toolchain-script.bbclass.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-02-17 17:25:21 -08:00
Lianhao Lu
f09f8f4aa3 toolchain-scripts.bbclass: Added libtool sysroot support.
Added missing --with-libtool-sysroot and --sysroot in environment files.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-02-17 17:25:21 -08:00
Scott Garman
40ed271817 gtk+: Fix build of documentation
This resolves the following error messages when building gtk+
documentation:

mv: cannot stat `gtk-faq': No such file or directory
mv: cannot stat `gtk-tut': No such file or directory

Fixes [BUGID #730]

Also adds docbook-utils-native to DEPENDS so we don't rely on
host documentation building tools.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-18 01:16:26 +00:00
Scott Garman
0bc7de5179 docbook-utils-native: set SGML_EXTRA_CATALOGS in jw
Point jw to the native sysroot master catalog.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-18 01:16:26 +00:00
Scott Garman
6547f62fb3 openjade-native: Set datadir explicitly
datadir was previously defaulting to usr/share and hence could not
find openjade's data files.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-18 01:16:26 +00:00
Scott Garman
561c7a8f65 docbook-dsssl-stylesheets-native: add missing files to install
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-18 01:16:26 +00:00
Nitin A Kamble
265bd1ce61 perl-native: fix parallel build
perl native recipe was failing on 40-way system with the parallel build turned
on. With this patch the parallel build on 40 way build system is not failing.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>

Passed 31 clean/build cycles on the 40-way.

Tested-by: Darren Hart <dvhart@linux.intel.com>
2011-02-17 23:19:39 +00:00
Richard Purdie
27894c58b7 libc-package.bbclass: Disable lib packaging dependenies for libc-initial versions
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-17 00:17:01 +00:00
Richard Purdie
107f25a586 buildstats.bbclass: Remove unneeded debug output
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-16 23:17:59 +00:00
Richard Purdie
d5de6229f8 gypsy: Convert SRCREV to a git revision instead of an svn one after recipe migration
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-16 21:15:43 +00:00
Nitin A Kamble
7b9ae9c045 perl perl-native: turn on parallel make
tested this on all architectures, and build works fine.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-16 11:55:08 -08:00
Mark Hatle
582ec95d59 lttng-viewer: Fix rootfs contruction
A required run-time library was leaking into the -dev package.
This caused a large number of -dev packages to be included in the build.

This library is now part of the base lttng-viewer split.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-16 16:13:03 +00:00