]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agocleanup-workdir: update the way to check obsolete dirs
Kang Kai [Fri, 15 Jun 2012 02:20:18 +0000 (10:20 +0800)]
cleanup-workdir: update the way to check obsolete dirs

Update the way to check obsolete directories.

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

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

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

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

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

From the recipe itself:

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

 Notes:

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

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

 Warning:

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

[YOCTO #2397]

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

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

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

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

[YOCTO #2557]

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

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

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

[Yocto #2580]

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

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

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

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

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

[YOCTO #2591]

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

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

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

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

[YOCTO #2571]

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

Minor change in LICENCE file:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Without this glib 2.32.x wont build.

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

This is needed otherwise glib-2.0 wont run
correctly

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

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

Added missing upstream status.

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

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

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

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

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

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

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

[YOCTO #2593]

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

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

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

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

[YOCTO #2363]

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

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

[YOCTO #2363]

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

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

[YOCTO #2532]

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

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

[YOCTO #2494]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoopkg 0.1.8: do_fetch failed since no checksum specified
Robert Yang [Thu, 7 Jun 2012 23:39:43 +0000 (07:39 +0800)]
opkg 0.1.8: do_fetch failed since no checksum specified

* We use meta/recipes-devtools/opkg/opkg_svn.bb by default, the
  opkg_0.1.8.bb failed since no checksum specified.

* The add_vercmp.patch in both opkg/ and opkg-0.1.8/, remove the one
  in opkg-0.1.8/

This patch doesn't impact the output, so I think that we don't have to
increment the PR.

[YOCTO #2498]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12 years agolinux-yocto/3.4: create linux-yocto-rt recipe
Bruce Ashfield [Tue, 12 Jun 2012 16:41:09 +0000 (12:41 -0400)]
linux-yocto/3.4: create linux-yocto-rt recipe

Adding the 3.4 variant of the linux-yocto-rt recipe. This updates
to 3.4.1-rt9, and builds and boots on the supported targets.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
12 years agolinux-yocto/3.4: update yaffs2 and drop rc6
Bruce Ashfield [Mon, 11 Jun 2012 20:39:59 +0000 (16:39 -0400)]
linux-yocto/3.4: update yaffs2 and drop rc6

Updating the 3.4 SRCREVs to pickup a yaffs2 update and the removal
of a feature that was required in the 3.2 kernel tree.

1/2 [
    meta: rc6: remove rc6 patches for snb

    The sandybridge rc6 patches are part of the released v3.4 kernel.
    Hence there is no need to keep these patches in the 3.4 linux
    yocto kernel repository.

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

2/2 [
    yaffs2: update core support

    Uprev yaffs2 to latest version as of 2012-05-29

    To include the following commits:

    662466a yaffs2 checkpointing: Add further checkpoint data sanity checking
    d9cae0a yaffs2: Make checkpoint block scanning skip bad blocks.
    eb12d56 Remove trace that should not be in mounting.
    9ee5d06 yaffs for u-boot: Cleanups to make patches acceptable for u-boot
    83d9993 Merge remote branch 'origin/master'
    07353dd Clean up checkin. Do not use
    00ebf30 Update timothy test Makefile
    1658295 yaffsfs: Allocate directory searches from a table rather than via malloc.
    8dae7f1 Fix compilation of python tests.
    14ff4e1 yaffs u-boot: Fix problem if an illegal nand chip number is entered.
    8b34846 Set up u-boot glue code and patching scripts.
    1a17e3a Add more descriptive comment for using the yaffs commands.
    80f8530 Add files to hook up yaffs direct to u-boot
    95ff7ef Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2
    e49491a Put both the summary and checkpoint version stamps together, update checkpoint version
    468d72b Fix compilation of mkyaffsimage and mkyaffs2image
    87166df Fix resizing of large files.
    eeb0f17 Fix summary header validation
    d308180 Add a summary header
    7862c13 Remove extra line from banner.
    d14c6a6 Add script to handle common Linux and direct files
    6518138 Change Makefiles to support new way to structure yaffs_strxxx renaming for yaffs direct
    8429784 Update README about linux patching
    6ee2533 Update Makefiles for new sed-based way case-insensitive handling
    2369fad Set up new version of case insensitive code using sed
    4d8ae2f Add large file support changes to yaffs_vfs_single.c
    ce0a5fb Merge branch 'big-files':  Merge in large file support
    80d031a Add Waldemar's patches for Linux 3.2
    a7ae50c yaffs large file support: Fix max file size issue that prevented the scanning working.
    a7cb3a3 WIP Changes to tests
    2360446 yaffs large file support: Add more tests
    0ed6086 yaffs large file support: Saves and restores large files fine under yaffs direct.
    fc4028b large file storage WIP. Can save and verify a large file under yaffs direct.
    20de150 WIP large file support
    b4d93e2 First cut of changes to support large files.

Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
12 years agopybootchartgui: Fix the filename and add a default format
Robert Yang [Wed, 6 Jun 2012 06:14:39 +0000 (14:14 +0800)]
pybootchartgui: Fix the filename and add a default format

* Fix teh output filename to make it easy to use
* Add a default output format (svg)
* Fix the usage message
* Fix the version to v1.0.0

Currently, the help messages are:

$ ./pybootchartgui.py --help
Usage: pybootchartgui.py [options] /path/to/tmp/buildstats/<recipe-machine>/<BUILDNAME>/

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -i, --interactive     start in active mode
  -f FORMAT, --format=FORMAT
                        image format: svg, pdf, png, [default: svg]
  -o PATH, --output=PATH
                        output path (file or directory) where charts are
                        stored
  -s NUM, --split=NUM   split the output chart into <NUM> charts, only works
                        with "-o PATH"
  -n, --no-prune        do not prune the process tree
  -q, --quiet           suppress informational messages
  --very-quiet          suppress all messages except errors
  --verbose             print all messages

[YOCTO #2403]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12 years agopybootchartgui: split the output chart into multiple ones
Robert Yang [Wed, 6 Jun 2012 06:10:11 +0000 (14:10 +0800)]
pybootchartgui: split the output chart into multiple ones

Split the output chart into multiple ones to make it more readable, it
only works with "-o path", which means that it doesn't work if the user
doesn't want to save the chart to the disk. For example:

$ ./pybootchartgui.py /path/to/tmp/buildstats/core-image-sato-qemux86/201205301810/ -f svg -s 5 -o /tmp/
bootchart written to /tmp/bootchart_1.svg
bootchart written to /tmp/bootchart_2.svg
bootchart written to /tmp/bootchart_3.svg
bootchart written to /tmp/bootchart_4.svg
bootchart written to /tmp/bootchart_5.svg

[YOCTO #2403]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12 years agopybootchartgui: make the build profiling in pictures
Robert Yang [Wed, 6 Jun 2012 06:00:48 +0000 (14:00 +0800)]
pybootchartgui: make the build profiling in pictures

The original patch is from Richard, I rebased it to the up-to-date
upstream code, here are the original messages from him:

We have just merged Beth's initial buildstats logging work. I was
sitting wondering how to actually evaluate the numbers as I wanted to
know "where are we spending the time?".

It occurred to me that I wanted a graph very similar to that generated
by bootchart. I looked around and found pyboootchartgui and then hacked
it around a bit and coerced it to start producing charts like:

http://tim.rpsys.net/bootchart.png

which is the initial "pseudo-native" part of the build. This was simple
enough to test with.

I then tried graphing a poky-image-sato. To get a graph I could actually
read, I stripped out any task taking less than 8 seconds and scaled the
x axis from 25 units per second to one unit per second. The result was:

http://tim.rpsys.net/bootchart2.png
(warning this is a 2.7MB png)

I also added in a little bit of colour coding for the second chart.
Interestingly it looks like there is more yellow than green meaning
configure is a bigger drain on the build time not that its
unexpected :/.

I quite enjoyed playing with this and on a serious note, the gradient of
the task graph makes me a little suspicious of whether the overhead of
launching tasks in bitbake itself is having some effect on build time.
Certainly on the first graph there are some interesting latencies
showing up.

Anyhow, I think this is the first time bitbake's task execution has been
visualised and there are some interesting things we can learn from it.
I'm hoping this is a start of a much more detailed understanding of the
build process with respect to performance.

[YOCTO #2403]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12 years agopybootchartgui: add the original code
Robert Yang [Wed, 6 Jun 2012 05:52:43 +0000 (13:52 +0800)]
pybootchartgui: add the original code

This is from:
http://pybootchartgui.googlecode.com/files/pybootchartgui-r124.tar.gz

Will modify it to make the build profiling in pictures.

Remove the examples since they would not work any more, and they cost
much disk space.

[YOCTO #2403]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12 years agocoreutils: Fix a typo in v6.9 (bracket not braket)
Andrei Gherzan [Mon, 11 Jun 2012 15:05:12 +0000 (18:05 +0300)]
coreutils: Fix a typo in v6.9 (bracket not braket)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
12 years agolibpcre: updated to version 8.30
Bogdan Marinescu [Mon, 11 Jun 2012 12:55:29 +0000 (15:55 +0300)]
libpcre: updated to version 8.30

Tested by compiling lighttpd. The license file changed because the
copyright notice was updated to cover 2012.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
12 years agodistro_tracking_fields: move to meta-yocto as seperate files
Saul Wold [Tue, 12 Jun 2012 14:03:27 +0000 (07:03 -0700)]
distro_tracking_fields: move to meta-yocto as seperate files

We are going to take a phased approach of breaking up the
distro_tracking_fields, first is to remove it from oe-core,
then create new files in meta-yocto.  We are doing this because
the distro_tracking_fields is getting unweildly and some of
the data can be part of a burn down list instead continually
stored, thus it will get split up.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogcc-configure-target: Fix sysroot option breakage I introduced (sorry)
Richard Purdie [Thu, 14 Jun 2012 18:48:07 +0000 (19:48 +0100)]
gcc-configure-target: Fix sysroot option breakage I introduced (sorry)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: bump PR and add some comments
Laurentiu Palcu [Tue, 12 Jun 2012 14:11:24 +0000 (17:11 +0300)]
connman: bump PR and add some comments

The comments are for informing anyone who wants to change USERADD_PARAMs
to make sure it's in sync with the one in xserver-nodm-init, in order
for rootless X to work.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agosanity.bbclass: warn the user if BBPATH contains wrong entries
Laurentiu Palcu [Wed, 13 Jun 2012 04:01:43 +0000 (07:01 +0300)]
sanity.bbclass: warn the user if BBPATH contains wrong entries

If BBPATH references the working directory, the user is warned and asked
to fix the problem.

[Yocto #1465]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: Apply work around for all PowerPC targets
Gary Thomas [Tue, 12 Jun 2012 11:39:43 +0000 (05:39 -0600)]
webkit-gtk: Apply work around for all PowerPC targets

The current patch for bug #1570 only applies to qemuppc but should be
applicable for all PowerPC targets.  Also update the patch so that
only one language backend, either ICU or PANGO, is built.

Also remove some old customizations (dependencies on darwin) as these
should now be handled in a layer specific .bbappend file.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
12 years agoconnman: make useradd parameters consistent with rootless X
Laurentiu Palcu [Tue, 12 Jun 2012 15:17:52 +0000 (18:17 +0300)]
connman: make useradd parameters consistent with rootless X

Both connman and rootless X share the same xuser. However, useradd
parameters are not consistent and if connman runs useradd first,
rootless X will be broken.

[Yocto #2467]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agosystemtap: update Upstream-Status and use correct syntax
Andreas Müller [Mon, 11 Jun 2012 15:37:03 +0000 (17:37 +0200)]
systemtap: update Upstream-Status and use correct syntax

patch was applied [1]

http://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=commit;h=41df51cb6a6d3f09f8b57cb216dffa5ba335e326

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
12 years agogcc-configure-common: Use build time sysroot for target gcc
Khem Raj [Tue, 12 Jun 2012 22:11:36 +0000 (15:11 -0700)]
gcc-configure-common: Use build time sysroot for target gcc

Otherwise it assumes / as sysroot on build host and starts
searching for directories in there.

[RP: Tweak to add missing = for consistent syntax]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agolsof: Fix cross 32 -> 64bit ranlib host contamination problem
Jason Wessel [Tue, 12 Jun 2012 21:42:31 +0000 (16:42 -0500)]
lsof: Fix cross 32 -> 64bit ranlib host contamination problem

When building on a 32bit host OS and building 64 bit binaries,
the cross ar and ranlib must be called, or you get an error
as follows:

   x86_64-wrs-linux-gcc    -m64 --sysroot=/opt/build/tmp/sysroots/qemux86-64 -o lsof dfile.o dmnt.o dnode.o dproc.o dsock.o dstore.o arg.o main.o misc.o node.o print.o proc.o store.o usage.o util.o -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -L./lib -llsof
   ./lib/liblsof.a: could not read symbols: Archive has no index; run ranlib to add one
   collect2: error: ld returned 1 exit status

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenjade-native: Ensure we reautoconf the package
Richard Purdie [Tue, 12 Jun 2012 13:05:09 +0000 (13:05 +0000)]
openjade-native: Ensure we reautoconf the package

Currently since configure.in in is in a subdirectory, we don't reautoconf the
recipe. We really need to do this, to update things like the libtool script used
and fix various issues such as those that could creep in if a reautoconf is
triggered for some reason. Since this source only calls AM_INIT_AUTOMAKE to gain the
PACKAGE and VERSION definitions and that macro now errors if Makefile.am doesn't
exist, we need to add these definitions manually.

These changes avoid failures like:

----
| ...
| DssslApp.cxx:117:36: error: 'PACKAGE' was not declared in this scope
| DssslApp.cxx:118:36: error: 'VERSION' was not declared in this scope
| make[2]: *** [DssslApp.lo] Error 1
----

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocmd1.bbclass: Ensure ncurses is built and used for menuconfig tasks
Richard Purdie [Thu, 31 May 2012 13:22:34 +0000 (13:22 +0000)]
cmd1.bbclass: Ensure ncurses is built and used for menuconfig tasks

Currently, the task just exits if something goes wrong. This adds the
ncurses-native dependency. It also adds a small delay before closing the
window so any messages displayed there can be seen.

Trying to get the kernel build system to correctly find and link with
our copy of ncurses is some kind of nightmare. I ended up having to add
it to HOST_LOADLIBES globally for this task which is rather nasty but I
couldn't find any other way.

[YOCTO #2513]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: Drop 4.7.4
Richard Purdie [Tue, 12 Jun 2012 11:58:33 +0000 (12:58 +0100)]
qt4: Drop 4.7.4

We have 4.8.1 now and 4.7.4 is obsolete.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: Ensure pkgconfig deps don't stray from the package being built
Mark Hatle [Mon, 11 Jun 2012 18:19:00 +0000 (13:19 -0500)]
rpm: Ensure pkgconfig deps don't stray from the package being built

Force pkg-config to only look in the install directory, and not be
able to fall back to system pkg-config directories for resolution.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm: Verify that the package manifests are not empty
Mark Hatle [Mon, 11 Jun 2012 18:18:59 +0000 (13:18 -0500)]
package_rpm: Verify that the package manifests are not empty

An empty manifest will cause a failure condition.  We ensure that any install
actions occur only with a manifest larger then size 0.  Also ensure that padding
is added to the end of the manifest, instead of the beginning to enable this
size check.  (Padding is required for very small manifest files..)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocreaterepo: For compatibility w/ RPM 5.4.9 remove RPMVSF_NOSIGNATURES flag
Mark Hatle [Mon, 11 Jun 2012 18:18:58 +0000 (13:18 -0500)]
createrepo: For compatibility w/ RPM 5.4.9 remove RPMVSF_NOSIGNATURES flag

The RPMVSF_NOSIGNATURES flag was removed from RPM5 - 5.4.9 as a result of
additional -requires- package validation to help protect from malicious
packages.  The createrepo "dump" script has been updated to no longer use
this flag.  This remains compatible with prior versions of RPM.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_rpm.bbclass: Update database configuration file
Mark Hatle [Mon, 11 Jun 2012 18:18:57 +0000 (13:18 -0500)]
rootfs_rpm.bbclass: Update database configuration file

Move the creation of the database configuration files to just before we
perform the install actions.  This ensures they will exist even in SDK or
other non-target filesystem images.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: Bump PR numbers on componets that require RPM
Mark Hatle [Mon, 11 Jun 2012 18:18:56 +0000 (13:18 -0500)]
rpm: Bump PR numbers on componets that require RPM

With the recent RPM uprev, libzypp, sat-solver and zypper should be
rebuilt to ensure they get the right BerkleyDB and rpmdb interfaces.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm: Add capability to directly query packageorigin
Mark Hatle [Mon, 11 Jun 2012 18:18:55 +0000 (13:18 -0500)]
package_rpm: Add capability to directly query packageorigin

Add functionality to RPM to directly query the packageorigin (path) from
the resolver database, instead of having to do this via an indirect method.

This results in a minor performance improvement.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoossp-uuid: Add oss-uuid package and RPM 5.4.9 integration
Mark Hatle [Mon, 11 Jun 2012 18:18:54 +0000 (13:18 -0500)]
ossp-uuid: Add oss-uuid package and RPM 5.4.9 integration

RPM 5.4.9 now strongly encourages you to have the ossp-uuid library available.

Add this recipe, and change RPM to use the uuid functionality.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: Upgrade RPM to 5.4.9
Mark Hatle [Mon, 11 Jun 2012 18:18:53 +0000 (13:18 -0500)]
rpm: Upgrade RPM to 5.4.9

Beside upreving RPM, add necessary integration patches to libzypp.

Also change the configuration of RPM to support PACKAGECONFIG flags.
RPM is highly configurable, the default configuration is good for
minimal OE-Core use.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: Upgrade RPM to 5.4.8 (db to 5.3.15)
Mark Hatle [Mon, 11 Jun 2012 18:18:52 +0000 (13:18 -0500)]
rpm: Upgrade RPM to 5.4.8 (db to 5.3.15)

RPM 5.4.8 requires db 5.3.x, so both are upgraded together.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognomebase: add GNOME_COMPRESS_TYPE variable
Saul Wold [Wed, 6 Jun 2012 05:34:22 +0000 (22:34 -0700)]
gnomebase: add GNOME_COMPRESS_TYPE variable

Upstream Gnome projects are starting to migrate to the .xz compress format,
so we need to add this to allow recipes to override the default of .bz2 as
the upstreams make the transition.

[YOCTO #2241]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonasm: updated to 2.10.01
Bogdan Marinescu [Fri, 8 Jun 2012 09:30:25 +0000 (12:30 +0300)]
nasm: updated to 2.10.01

Tested by compiling syslinux

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomenu-cache: upgrade to 0.3.3
Laurentiu Palcu [Fri, 8 Jun 2012 14:48:18 +0000 (17:48 +0300)]
menu-cache: upgrade to 0.3.3

Other changes:
- licence MD5 for menu-cache.h has changed because some whitespaces
  were removed;

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoethtool: upgrade to 3.2
Laurentiu Palcu [Fri, 8 Jun 2012 14:48:17 +0000 (17:48 +0300)]
ethtool: upgrade to 3.2

Other changes:
- the HOMEPAGE URL since project hosting chenged to kernel.org;
- licence MD5 for ethtool.c has changed because a new copyright
  line from Sun has been added: "Portions Copyright (C) Sun
  Microsystems 2008"

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotzdata: upgrade to 2012c
Laurentiu Palcu [Fri, 8 Jun 2012 14:48:16 +0000 (17:48 +0300)]
tzdata: upgrade to 2012c

Other changes:
- the licence header shifted one line down, hence the start/end lines
  used to compute the MD5 sum were incremented by 1;

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofreetype: upgrade to 2.4.9
Laurentiu Palcu [Fri, 8 Jun 2012 14:48:15 +0000 (17:48 +0300)]
freetype: upgrade to 2.4.9

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-libc-headers: set default LINUXLIBCVERSION to 3.4
Bruce Ashfield [Fri, 8 Jun 2012 15:03:32 +0000 (11:03 -0400)]
linux-libc-headers: set default LINUXLIBCVERSION to 3.4

The 3.4 kernel is released, and is the default for qemu* builds, so
we can safely update the default libc-headers version to 3.4.

Built and booted for qemu*

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
12 years agov86d: Fix cross link using host-cross ar
Jason Wessel [Fri, 8 Jun 2012 21:57:56 +0000 (16:57 -0500)]
v86d: Fix cross link using host-cross ar

If building on 32bit host and creating 64bit libraries, the target
package builds should not invoke the 32bit hosts's ar.  Specifically
you will get an error message like:

x86_64-linux-gcc  -m64 --sysroot=/opt/qemux86-64/tmp/sysroots/qemux86-64 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Llibs/x86emu v86_x86emu.o v86_mem.o v86_common.o  v86.o -lx86emu -o v86d
libs/x86emu/libx86emu.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibnewt: Fix cross link using autoconf detected AR
Jason Wessel [Fri, 8 Jun 2012 16:43:47 +0000 (11:43 -0500)]
libnewt: Fix cross link using autoconf detected AR

If building on 32bit host and creating 64bit libraries, the target
package builds should not invoke the 32bit hosts's ar.  Specifically
you will get an error message like:

x86_64-linux-gcc    -m64 --sysroot=/opt/qemux86-64/tmp/sysroots/qemux86-64 -g -o test test.o libnewt.a -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -lslang
libnewt.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogitignore: add wildcard to match toplevel patch files
Paul Gortmaker [Fri, 8 Jun 2012 16:10:57 +0000 (12:10 -0400)]
gitignore: add wildcard to match toplevel patch files

To support the basic workflow of trivial patches:

 git format-patch HEAD~.. ; git send-email --to foo@bar.com 0001-foo.patch

We don't want git status reporting on patches lying in the top
level dir in this case.

Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoaugeas: Fix compilation failure
Khem Raj [Mon, 4 Jun 2012 22:56:43 +0000 (15:56 -0700)]
augeas: Fix compilation failure

on uclibc we see this failure
too few arguments to function 'escape'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agotask-self-hosted.bb,task-core-lsb.bb: Conditionalize pth inclusion
Khem Raj [Thu, 7 Jun 2012 01:33:28 +0000 (18:33 -0700)]
task-self-hosted.bb,task-core-lsb.bb: Conditionalize pth inclusion

pth is not portable to uclibc therefore we need to exclude it for
uclibc based systems.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agocmake.bbclass: Add OECMAKE_C_LINK_FLAGS and OECMAKE_CXX_LINK_FLAGS variables
Khem Raj [Thu, 7 Jun 2012 01:29:19 +0000 (18:29 -0700)]
cmake.bbclass: Add OECMAKE_C_LINK_FLAGS and OECMAKE_CXX_LINK_FLAGS variables

In some cases we need to specify linker flags and right
now we do not have a way to communicate that to cmake
based systems. cmake defines CMAKE_C_LINK_FLAGS and CMAKE_CXX_LINK_FLAGS
for these needs. This patch therefore defines two local variables
namely OECMAKE_C_LINK_FLAGS and OECMAKE_CXX_LINK_FLAGS which
can be altered by recipes to tweak linker flags

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agogcc-common: Replace use of TARGET_ARCH with TRANSLATED_TARGET_ARCH
Khem Raj [Sat, 9 Jun 2012 22:19:24 +0000 (22:19 +0000)]
gcc-common: Replace use of TARGET_ARCH with TRANSLATED_TARGET_ARCH

TARGET_ARCH is poured into TRANSLATED_TARGET_ARCH
for gcc-cross family or gcc-crosssdk family
of recipes we have to check for TRANSLATED_TARGET_ARCH

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agogcc-common: Enable hardfloat ABI when target is arm
Khem Raj [Sat, 9 Jun 2012 22:19:23 +0000 (22:19 +0000)]
gcc-common: Enable hardfloat ABI when target is arm

We need to check target to be arm before enabling hard-float
ABI. There are crossdk targets or candian-cross targets built
for arm and we should not enable it for those class of recipes.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agouclibc: Move to latest tip of master
Khem Raj [Sun, 10 Jun 2012 17:58:02 +0000 (10:58 -0700)]
uclibc: Move to latest tip of master

This gets the important fix for eventfd syscall
handling which was exposed by glib 2.32 upgrade
without this patch core-image-sato would get stuck
and wont boot all the way through

Same patch is needed for 0.9.33 as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agognupg-2.0.19: Depend on npth for uclibc
Khem Raj [Sat, 9 Jun 2012 16:43:14 +0000 (09:43 -0700)]
gnupg-2.0.19: Depend on npth for uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogpgme: Depend on npth for uclibc
Khem Raj [Sat, 9 Jun 2012 16:43:13 +0000 (09:43 -0700)]
gpgme: Depend on npth for uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonpth: Add recipe
Khem Raj [Sat, 9 Jun 2012 16:43:12 +0000 (09:43 -0700)]
npth: Add recipe

npth is modern version of pth
gnugp 2.1 will drop pth in favor of npth

npth works with uclibc too whereas pth does not

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibtool: Let -fstack-protector passed to link step
Khem Raj [Sat, 9 Jun 2012 16:43:02 +0000 (09:43 -0700)]
libtool: Let -fstack-protector passed to link step

linker should add -lssp to linker cmdline when
-fstack-protector therefore add this knowledge to libtool
otherwise packages will fail to link

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopth: Mark incompatible with uclibc
Khem Raj [Sat, 9 Jun 2012 16:43:01 +0000 (09:43 -0700)]
pth: Mark incompatible with uclibc

pth does not work with uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils_2.22: Backport to fix bogus textrels
Khem Raj [Sat, 9 Jun 2012 16:42:59 +0000 (09:42 -0700)]
binutils_2.22: Backport to fix bogus textrels

This is reported by prelinker which does not
go well with textrels.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.2: fix meta SRCREV typo
Tom Zanussi [Fri, 8 Jun 2012 14:03:00 +0000 (09:03 -0500)]
linux-yocto/3.2: fix meta SRCREV typo

Remove a stray character at the end of the meta SRCREV.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokern-tools: anchor KMACHINE test
Bruce Ashfield [Thu, 7 Jun 2012 19:59:50 +0000 (15:59 -0400)]
kern-tools: anchor KMACHINE test

Updating the kern-tools SRCREV to pick up the following fix:

    Out of tree feature descriptions (.scc files) take two forms: normal
    features and BSP descriptions.

    A normal feature is detected and added to the end of the current machine
    being processed. During tree processing, it's configuration and patches
    will be applied.

    A BSP description on the other hand must be matched based on three
    critera (which are in the .scc file via "define <foo>"):

      - machine
      - kernel type
      - architecture

    Since features that define machines are only explicitly added, they
    are removed from the list of features that should be automatically
    added.

    The criteria for removing them from the auto-add list is the
    definitions found in the .scc file. The existing check was simply
    for KMACHINE anywhere in the file. This meant that a conditional
    or even a comment containing that phrase would exclude a file.

    Properly anchoring the KMACHINE test to "^define.*KMACHINE" fixes the
    problem of overly agreesive exclusions.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.0: add cedartrail kernel features
Bruce Ashfield [Thu, 7 Jun 2012 19:59:49 +0000 (15:59 -0400)]
linux-yocto/3.0: add cedartrail kernel features

Updating meta to move Kernel Features out of the BSP and add to
the Cedartrail Machine branch.

Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.2: fri2 and chiefriver machine updates
Bruce Ashfield [Thu, 7 Jun 2012 19:59:48 +0000 (15:59 -0400)]
linux-yocto/3.2: fri2 and chiefriver machine updates

Bumping the 3.2 SRCREVs to pickup the following configuration changes for
the new chiefriver BSP and the existing fri2 machines:

 5b4c9dc fri2: update base config
 cdfbb50 fri2: add usb-mass-storage to standard and preempt-rt
 3c1af06 fri2 update: drop NETDEVICE, e1xxx, usb-mass-storage, add iwlwifi feature
 26a4d79 iwlagn: Correct a comment typo
 ade9c57 iwlwifi: Add a feature for iwlwifi
 571b6cb fri2: Configuration update (usb, wifi, i2c)
 b257485 meta: add tmp/rc6 feature
 24c6494 chiefriver: create initial BSP infrastructure

All branches are also updated with the following fix:

  1ce6700 efi: Add patch to fix 32bit EFI service mapping (rhbz 726701)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: add 3.4 recipe
Bruce Ashfield [Thu, 7 Jun 2012 19:59:47 +0000 (15:59 -0400)]
linux-yocto: add 3.4 recipe

Introducing the 3.4 kernel recipe. At this point there are three
supported kernel 3.4, 3.2 and 3.0.

Build and boot tested on qemux86, qemux86-64, qemuarm, qemumips and
qemuppc

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: add machine aliases for yocto BSPs
Bruce Ashfield [Thu, 7 Jun 2012 19:59:46 +0000 (15:59 -0400)]
linux-yocto: add machine aliases for yocto BSPs

To avoid mapping machine names to kernel machine names in recipes,
we can define multiple KMACHINE names for a single in tree board.
This allows the tools to match a board description to multiple
different MACHINEs.

As a result, we can remove the explicit KMACHINE mappings from
the linux-yocto recipes and allow the KMACHINE=${MACHINE} default
to handle mappings. Individual recipes an bbappends can override
this as required.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: remove v2.6.37 recipe
Bruce Ashfield [Thu, 7 Jun 2012 19:59:45 +0000 (15:59 -0400)]
linux-yocto: remove v2.6.37 recipe

With the introduction of the 3.4 kernel recipe, the 2.6.37 kernel
recipe is removed, keeping the supported list at three kernels.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.0: update to v3.0.32
Bruce Ashfield [Thu, 7 Jun 2012 19:59:44 +0000 (15:59 -0400)]
linux-yocto/3.0: update to v3.0.32

Updating the 3.0 kernel SRCREVs to integrate the v3.0.32 -stable
release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.2: update to v3.2.18
Bruce Ashfield [Thu, 7 Jun 2012 19:59:43 +0000 (15:59 -0400)]
linux-yocto/3.2: update to v3.2.18

Updating the 3.2 kernel SRCREVs to pickup the -stable update
to v3.2.18.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokern-tools: remove unused code, meta branch and directory assumptions
Bruce Ashfield [Thu, 7 Jun 2012 19:59:42 +0000 (15:59 -0400)]
kern-tools: remove unused code, meta branch and directory assumptions

Updating the kern-tools SRCREV to pick up fixes that remove unused
code, transition code (tree format changes) and to remove assumptions
about branch and directory naming.

There are no user visible changes with this update, but the plumbing
changes will be used in future updates for more generalized support.

The commit details are below:

 Author: Bruce Ashfield <bruce.ashfield@windriver.com>
 Date:   Fri May 11 12:13:12 2012 -0400

    kgit-publish: remove --remote option

    The ability to publish and automatically push a repository was
    never used, and is error prone. The complexit isn't needed in
    the script, so removing it is the best option.

    An explicit push after tree publication is suggested, or a
    wrapper script (specific to a particular infrastructure) around
    this script.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
 Author: Bruce Ashfield <bruce.ashfield@windriver.com>
 Date:   Fri May 11 12:04:09 2012 -0400

    kern-tools: remove unused code, scripts and transition code

    The period of supporting old trees with a different meta
    branch name and directory structure are gone. So the cleanup
    and removal of the old structure can be completed.

    The meta branch and directory are now controlled via command line,
    or via the KMETA environment variable. No testing and conditional
    processing of the tree are required.

    Additionally, the generate_cfg script is no longer used, or is the
    branch conditing code in createme. So they can be safely removed
    from the tools and repository.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
 Author: Bruce Ashfield <bruce.ashfield@windriver.com>
 Date:   Thu May 10 12:18:19 2012 -0400

    kern-tools: remove meta tag and directory assumptions

    During repository sanity checks (createme) and during the
    checkpoint process, there were several assumptions about the tree
    that either relied on a tag, or a particular directory name.

    With this set of changes, simply passing the meta branch name is
    enough to sanitize and restore the checkpoint. If no meta branch
    name is passed, the default of 'meta' is used for both the branch
    and meta data directory name.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext/shared-mime-info: Add missing patch upstream status field
Richard Purdie [Fri, 8 Jun 2012 10:42:18 +0000 (11:42 +0100)]
gettext/shared-mime-info: Add missing patch upstream status field

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_rpm.bbclass: save rpmlib rather than remove it
Robert Yang [Thu, 7 Jun 2012 23:37:10 +0000 (16:37 -0700)]
rootfs_rpm.bbclass: save rpmlib rather than remove it

The rpmlib was removed when images that add
"remove_packaging_data_files" to ROOTFS_POSTPROCESS_COMMAND, which would
make the increment rpm image generation doesn't work in the second
build, since list_installed_packages would get incorrect value in the
second build, move the rpmlib to ${T} rather than remove it, and move it
back when INC_RPM_IMAGE_GEN =1.

[YOCTO #2440]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoapt 0.7.14: do_compile failed with gcc 4.7
Robert Yang [Thu, 7 Jun 2012 23:37:09 +0000 (16:37 -0700)]
apt 0.7.14: do_compile failed with gcc 4.7

apt do_compile failed with gcc 4.7:

deb/deblistparser.cc: In member function 'virtual short unsigned int debListParser::VersionHash()':
deb/deblistparser.cc:212:13: error: redeclaration of 'char* I'
deb/deblistparser.cc:202:22: error: 'const char** I' previously declared here

Backport the patch from the upstream would fix the problem, both target and
native apt need it.

[YOCTO #2488]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoapt-get 0.7.14: hangs at runtime
Robert Yang [Thu, 7 Jun 2012 23:37:08 +0000 (16:37 -0700)]
apt-get 0.7.14: hangs at runtime

This patch had a little problem, it made a infinite loop:

for (K = CmdL.FileList + 1; *K != 0; J++)

But the value of "K" will nerver change, so the apt-get hangs, revert
this patch first, and will fix the problem in another patch.

Note: Increment the PR from 11 to 12

Revert "apt: Fix a latent bug exposed by gcc 4.7"

This reverts commit 9d526462fe97564652771812ad1d363e9962b1e3.

[YOCTO #2488]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoarchiver.bbclass: Reduce some duplication for function get_licenses
Xiaofeng Yan [Thu, 7 Jun 2012 23:37:07 +0000 (16:37 -0700)]
archiver.bbclass: Reduce some duplication for function get_licenses

The content to modify this bbclass is as follow:
- Use the existing functions to get license as a directory instead of
  rewriting it for avoiding code duplication.
- Use SPDXLICENSEMAP to map licenses

[YOCTO #2473]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: Document the ACL-breaking sed
Ross Burton [Thu, 7 Jun 2012 23:37:05 +0000 (16:37 -0700)]
connman: Document the ACL-breaking sed

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: respect the 3g feature and enable/disable ofono support
Ross Burton [Thu, 7 Jun 2012 23:37:04 +0000 (16:37 -0700)]
connman: respect the 3g feature and enable/disable ofono support

[YOCTO #2357]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: Make ldd exec_prefix error reporting easier to read
Mark Hatle [Thu, 7 Jun 2012 23:37:02 +0000 (16:37 -0700)]
insane.bbclass: Make ldd exec_prefix error reporting easier to read

Remove the long obtuse sysroot path from the ldd output.

Make the error message significantly easier to read and understand.

Old Style:
WARNING: QA Issue: keyutils: /home/mhatle/git/oss/oe-core/build-i386/tmp-eglibc/work/i586-oe-linux/keyutils-1.5.5-r1/packages-split/keyutils/sbin/request-key links to something under exec_prefix
WARNING: QA Issue: ldd reports:         libkeyutils.so.1 => /home/mhatle/git/oss/oe-core/build-i386/tmp-eglibc/sysroots/qemux86/usr/lib/libkeyutils.so.1 (0xdead1000)
        libc.so.6 => /home/mhatle/git/oss/oe-core/build-i386/tmp-eglibc/sysroots/qemux86/lib/libc.so.6 (0xdead2000)
        /lib/ld-linux.so.2 => /home/mhatle/git/oss/oe-core/build-i386/tmp-eglibc/sysroots/qemux86/lib/ld-linux.so.2 (0xdead3000)

New style:
WARNING: QA Issue: keyutils: /sbin/request-key, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0xdead1000)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext: install libgettextlib.a before removing it
Joe Slater [Thu, 7 Jun 2012 23:37:01 +0000 (16:37 -0700)]
gettext: install libgettextlib.a before removing it

In a multiple job build, Makefile can simultaneously
be installing and removing libgettextlib.a.  We serialize
the operations.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshared-mime-info: fix build race condition
Joe Slater [Thu, 7 Jun 2012 23:37:00 +0000 (16:37 -0700)]
shared-mime-info: fix build race condition

The definition of install-data-hook in Makefile.am leads
to multiple, overlapping, executions of the install-binPROGRAMS
target.  We modify the definition to avoid that.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>