]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agodropbear: don't apply no-password patch
Joshua Lock [Tue, 1 Jun 2010 14:08:02 +0000 (15:08 +0100)]
dropbear: don't apply no-password patch

The patch.bbclass changes default to applying listed patches without an
apply/patch parameter. Set the apply parameter to no.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobusybox: disable mdev, we use udev
Joshua Lock [Wed, 26 May 2010 15:05:18 +0000 (16:05 +0100)]
busybox: disable mdev, we use udev

The import from OE had included some mdev configuration, whereas Poky switched
to udev and a static (tarred) dev some time ago.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopatch.bbclass: Merge patch enhancements from OE by Chris Larson
Joshua Lock [Tue, 1 Jun 2010 13:24:13 +0000 (14:24 +0100)]
patch.bbclass: Merge patch enhancements from OE by Chris Larson

Chris made some interesting changes to the patch handling in OE. Firstly the
patch and pnum parameters have been renamed, to better reflect their function,
to apply and striplevel. The apply parameter now takes either yes or no as its
value.

Therefore a patch line would be changed from:
file://some.patch;patch=1;pnum=2
to:
file://some.patch;apply=yes;striplevel=2

Secondly the apply parameter is inferred if not defined. Entries in SRC_URI
with diff or patch filename extensions will be automatically applied as patches
if the apply parameter is not set to no (or an unknown value).

Note: We have disabled the warnings when using the old style parameters for now

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopm-utils: Upgrade to 1.3.0 and fix SRC_URI not to point at SCM generated tarballs
Richard Purdie [Tue, 1 Jun 2010 14:14:26 +0000 (15:14 +0100)]
pm-utils: Upgrade to 1.3.0 and fix SRC_URI not to point at SCM generated tarballs

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoeds-dbus: Disable parallel make
Richard Purdie [Tue, 1 Jun 2010 11:45:07 +0000 (12:45 +0100)]
eds-dbus: Disable parallel make

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoqemu: add some extra ldflags to make it link succesfully
Joshua Lock [Fri, 28 May 2010 09:28:32 +0000 (10:28 +0100)]
qemu: add some extra ldflags to make it link succesfully

qemu-native was failing to link on my 64bit Fedora 13 machine with this error:

| /usr/bin/ld: libqemu.a(helper_opengl.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
| /usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line
| /lib64/libdl.so.2: could not read symbols: Invalid operation

So I did as the linker told me and added -ldl to the linker flags

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoDrop vm_mmap_min_addr checks from scripts and sanity class
Joshua Lock [Fri, 21 May 2010 10:38:09 +0000 (11:38 +0100)]
Drop vm_mmap_min_addr checks from scripts and sanity class

QEMU 0.12.x is relocatable so we no longer need these tests, which is good
because it doesn't work reliably with modern kernels.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoqemu: reduce duplication, use an inc file and share common patches
Joshua Lock [Fri, 28 May 2010 08:13:03 +0000 (09:13 +0100)]
qemu: reduce duplication, use an inc file and share common patches

There's no need to carry around two copies of the same patches for qemu-git and
qemu-0.12 so drop the qemu-git directory and update the git recipe to use the
qemu-0.12 directory for patches.

Move common code from the two recipes to an inc file.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
fweh

14 years agoqemu: Update the static recipe to 0.12.0
Jeff Dike [Thu, 27 May 2010 19:22:50 +0000 (15:22 -0400)]
qemu: Update the static recipe to 0.12.0

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
14 years agoqemu: updated the glflags patch, which is needed by qemusdk.
Jeff Dike [Thu, 27 May 2010 17:16:59 +0000 (13:16 -0400)]
qemu: updated the glflags patch, which is needed by qemusdk.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
14 years agolib/oe/patch.py: Fix datastore references in error paths
Richard Purdie [Thu, 27 May 2010 14:58:00 +0000 (15:58 +0100)]
lib/oe/patch.py: Fix datastore references in error paths

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agohandbook: Add alpha verison of a BSP specification
Richard Purdie [Wed, 26 May 2010 14:26:09 +0000 (15:26 +0100)]
handbook: Add alpha verison of a BSP specification

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoqemu: Updated to 0.12.0
Jeff Dike [Thu, 20 May 2010 17:02:39 +0000 (13:02 -0400)]
qemu: Updated to 0.12.0

Updated the metadata in the recipe, changed the git revision in
poky-default-revisions.inc, and pulled the qemu patches forward.

14 years agopoky-default.inc: Bump linux-libc-headers to 2.6.33
Joshua Lock [Tue, 25 May 2010 14:38:28 +0000 (15:38 +0100)]
poky-default.inc: Bump linux-libc-headers to 2.6.33

Now that we have a Busybox (and strace) which we can build we can use the same
kernel-headers version as our default kernel version.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agostrace: bump from 4.15.18 to 4.15.20
Joshua Lock [Tue, 25 May 2010 14:37:33 +0000 (15:37 +0100)]
strace: bump from 4.15.18 to 4.15.20

The old version didn't build with the older linux-libc-headers

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobusybox: bump to 1.15.3 from OE
Joshua Lock [Tue, 25 May 2010 14:36:14 +0000 (15:36 +0100)]
busybox: bump to 1.15.3 from OE

Import the 1.15.3 recipe from OpenEmbedded and tweak to match Poky style

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agorelocatable.bbclass: reduce the amount of output
Joshua Lock [Thu, 20 May 2010 15:11:40 +0000 (16:11 +0100)]
relocatable.bbclass: reduce the amount of output

Disable the last bb.note call, it's a bit spurious. Only really useful for
debug.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopoky-default.inc: roll-back preferred linux-libc-headers to 2.6.30
Joshua Lock [Mon, 24 May 2010 14:49:52 +0000 (15:49 +0100)]
poky-default.inc: roll-back preferred linux-libc-headers to 2.6.30

Our current Busybox version doesn't support 2.6.33 headers.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoUpdate directdisk images to use common inc files
Joshua Lock [Mon, 24 May 2010 11:05:01 +0000 (12:05 +0100)]
Update directdisk images to use common inc files

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agokernel.bbclass: Simplify the current external module code
Richard Purdie [Mon, 24 May 2010 10:14:56 +0000 (11:14 +0100)]
kernel.bbclass: Simplify the current external module code

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoeggdbus: Disable PARALLEL_MAKE
Scott Garman [Mon, 24 May 2010 05:03:17 +0000 (22:03 -0700)]
eggdbus: Disable PARALLEL_MAKE

* Fixes eggdbusenumtypes.h gen/use errors

Signed-off-by: Scott Garman <sgarman@zenlinux.com>
14 years agoxserver-kdrive-glamo: Fix broken SRC_URI
Scott Garman [Mon, 24 May 2010 05:06:54 +0000 (22:06 -0700)]
xserver-kdrive-glamo: Fix broken SRC_URI

Signed-off-by: Scott Garman <sgarman@zenlinux.com>
14 years agokernel.bbclass: Stop staging binaries within scripts/
Scott Garman [Mon, 24 May 2010 03:55:04 +0000 (20:55 -0700)]
kernel.bbclass: Stop staging binaries within scripts/

* Preserves scripts/ directory but excludes binaries known to cause
  "strip command failed" errors during do_package on cross platforms

Signed-off-by: Scott Garman <sgarman@zenlinux.com>
14 years agokernel.bbclass: tidy up staging of headers
Joshua Lock [Thu, 20 May 2010 15:09:39 +0000 (16:09 +0100)]
kernel.bbclass: tidy up staging of headers

The changes merged from upstream used the ASMDIR variable even when it might
not have been set. These changes may be incorrect but at the very least I can
now build a QEMU image (including v86d) with the 2.6.33 kernel now.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agolinux-libc-headers: add 2.6.33 headers
Joshua Lock [Thu, 20 May 2010 14:48:22 +0000 (15:48 +0100)]
linux-libc-headers: add 2.6.33 headers

Add kernel headers to match our preferred/default kernel version and set them
as the preferred version for the Poky and Moblin distributions.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agokernel-arch.bbclass: merge improved arch detection from OE.dev
Joshua Lock [Thu, 20 May 2010 14:15:55 +0000 (15:15 +0100)]
kernel-arch.bbclass: merge improved arch detection from OE.dev

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agokernel.bbclass: Package Kernel firmware
Joshua Lock [Thu, 20 May 2010 13:16:26 +0000 (14:16 +0100)]
kernel.bbclass: Package Kernel firmware

Merged change from OE.dev to create packages of the kernel firmware

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agolinux-kernel-base.bbclass: merge version detection updates from upstream
Joshua Lock [Thu, 20 May 2010 13:14:22 +0000 (14:14 +0100)]
linux-kernel-base.bbclass: merge version detection updates from upstream

Kernels after 2.6.33 store the utrelease.h file, used to detect the kernels
version, in a different location.

Merged from oe.dev

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agokernel.bbclass: match x86 header installation to other architectures
Joshua Lock [Thu, 20 May 2010 11:58:25 +0000 (12:58 +0100)]
kernel.bbclass: match x86 header installation to other architectures

The header installation for x86 was slightly different as to that employed
for other architectures, change them to match for consistency.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agolinux: Bump to 2.6.33.2
Joshua Lock [Tue, 18 May 2010 14:11:09 +0000 (15:11 +0100)]
linux: Bump to 2.6.33.2

Use the same kernel version as the moblin distro so that we provide a similar
kernel for all QEMU machines and the netbook machine.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agolinux-moblin: add 2.6.33.2 kernel from MeeGo 1.0
Joshua Lock [Tue, 18 May 2010 13:51:13 +0000 (14:51 +0100)]
linux-moblin: add 2.6.33.2 kernel from MeeGo 1.0

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agokernel.bbclass: fix installing of kernels 2.6.34 and above
Joshua Lock [Tue, 18 May 2010 13:46:33 +0000 (14:46 +0100)]
kernel.bbclass: fix installing of kernels 2.6.34 and above

Changes merged from upstream to cope with changes to directory structures in
recent kernels when building for x86

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoMove all QEMU machines to use a common kernel recipe set and version
Joshua Lock [Fri, 14 May 2010 15:02:20 +0000 (16:02 +0100)]
Move all QEMU machines to use a common kernel recipe set and version

The different kernel recipes encapsulate functionality groups for machines,
therefore it makes sense to have all the QEMU machines using the same kernel
recipe.

Switch the QEMU machines to default to the "linux" recipes for their kernel
and bump the latest recipe from linux-2.6.32 to 2.6.33.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoadd a new scripts create-pull-request
Nitin A Kamble [Mon, 17 May 2010 20:47:40 +0000 (13:47 -0700)]
add a new scripts create-pull-request

This is the 1st version of create-pull-request script.
Using specified local commit-id or branch-name it
generates a short description of the changes;
and using poky-contrib branch-name it generates the
URL where these changes are already pushed
and are available for review and git-pull.

I prepared this script as per the input from Richard Purdie.

Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoAdd recipe for X vesa driver package
Nitin A Kamble [Mon, 17 May 2010 17:51:57 +0000 (10:51 -0700)]
Add recipe for X vesa driver package

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoAdd recipe for moblin-image-netbook.directdisk
Nitin A Kamble [Mon, 17 May 2010 17:47:20 +0000 (10:47 -0700)]
Add recipe for moblin-image-netbook.directdisk

Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agopoky-qemu-internal Add -show-cursor to qemux86
Nitin A Kamble [Fri, 14 May 2010 18:57:27 +0000 (11:57 -0700)]
poky-qemu-internal Add -show-cursor to qemux86

Without this option the need to do the blind guesswork about the
position of the pointer.

Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agohandbook: Add section to Poky manual about contributions and certificate of origin
Richard Purdie [Fri, 14 May 2010 03:17:54 +0000 (11:17 +0800)]
handbook: Add section to Poky manual about contributions and certificate of origin

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoMerge branch 'tk/head' of ssh://git.pokylinux.org/poky-contrib
Richard Purdie [Thu, 13 May 2010 22:36:56 +0000 (06:36 +0800)]
Merge branch 'tk/head' of ssh://git.pokylinux.org/poky-contrib

14 years agoMerge branch 'nitin/lic1' of ssh://git.pokylinux.org/poky-contrib
Richard Purdie [Thu, 13 May 2010 20:12:35 +0000 (04:12 +0800)]
Merge branch 'nitin/lic1' of ssh://git.pokylinux.org/poky-contrib

14 years agolinux: Ensure we have buildable kernel recipes for each machine
Joshua Lock [Thu, 13 May 2010 15:55:26 +0000 (16:55 +0100)]
linux: Ensure we have buildable kernel recipes for each machine

Fix various kernels to build with our toolchain, this includes well known fixes
for:
* sumversion.c: compilation failing with a 'PATH_MAX' undeclared (fixed by
    adding limits.h to sumversions includes
* a patch taken from oe.dev to stop GCC >= 4.3 from optimizing a loop which
    causes compilation to fail
* Fixing the KERNEL_OUTPUT for mx31 and nokia800 kernel recipes

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoRevert "poky-env-internal: Disable automatic adding of meta environments to BBPATH"
Richard Purdie [Thu, 13 May 2010 09:07:17 +0000 (17:07 +0800)]
Revert "poky-env-internal: Disable automatic adding of meta environments to BBPATH"

This reverts commit ba804d1729640a0587db8ba94bde6018570a8b0c which is a valid
change but isn't working for some reason which needs further investigation.

14 years agopoky-env-internal: unset variables to avoid disturbing new GIT clone
Kevin Tian [Wed, 12 May 2010 14:43:51 +0000 (22:43 +0800)]
poky-env-internal: unset variables to avoid disturbing new GIT clone

Signed-off-by Kevin Tian <kevin.tian@intel.com>

14 years agoLicense Checking: convert an error into warning
Nitin A Kamble [Wed, 12 May 2010 17:54:05 +0000 (10:54 -0700)]
License Checking: convert an error into warning

If license file md5 information (LIC_FILES_CHKSUMS variable) is
missing in the recipe then just throw a warning instead of the build
failure.
  Once enough recipes' LIC_FILES_CHKSUMS are filled then this warning
will be reverted back to the the fetal error.
  If LIC_FILES_CHKSUMS field is present but invalid then the it still
causes a fetal build error.

Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agomtd-utils: Fix mtd-utils-native do_install task to install binaries into the correct...
Richard Purdie [Wed, 12 May 2010 11:30:58 +0000 (19:30 +0800)]
mtd-utils: Fix mtd-utils-native do_install task to install binaries into the correct place rather than using hardcoded paths

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopoky-env-internal: Disable automatic adding of meta environments to BBPATH
Richard Purdie [Wed, 12 May 2010 07:28:54 +0000 (15:28 +0800)]
poky-env-internal: Disable automatic adding of meta environments to BBPATH

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoLicense Change checking:
Nitin A Kamble [Tue, 11 May 2010 23:25:39 +0000 (16:25 -0700)]
License Change checking:

Added a new variable in recipe : LIC_FILES_CHKSUM

It is a required field for every recipe.

It describes license text location in the source files. And also stores
md5sum of that license text. Any change in this license text triggers build
error. Which enables developer to review any changes in the license and
update the license fields in the recipe accordingly.

For Example: contents of zlib_1.2.3.bb
LICENSE = "zlib"
LIC_FILES_CHKSUM = "file://README;md5=ae764cfda68da96df20af9fbf9fe49bd \
  file://zlib.h;beginline=1;endline=30;md5=6ab03f03a5ee92d06b809797d4d5586d "

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoopenssl: Fix build of openssl-native on x86_64 with recent binutils
Joshua Lock [Thu, 6 May 2010 23:41:15 +0000 (00:41 +0100)]
openssl: Fix build of openssl-native on x86_64 with recent binutils

Apply a patch from upstream that fixes the build, patch should be able to be
dropped when we update openssl version.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoxf86-input-vmmouse: bump version to 12.6.6
Joshua Lock [Thu, 6 May 2010 16:07:53 +0000 (17:07 +0100)]
xf86-input-vmmouse: bump version to 12.6.6

There was a bug in 12.6.5 whereby it was depending on symbols no longer
available in the X server.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agomoblin: drop moblin.conf and inherit poky for mirror configuration
Joshua Lock [Thu, 6 May 2010 14:52:36 +0000 (15:52 +0100)]
moblin: drop moblin.conf and inherit poky for mirror configuration

Doesn't make any sense to duplicate the mirror configuration, and all that the
moblin class contained was minimal mirror config. So let's drop it.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopax-utils: Sync with OE.dev fixing native version
Richard Purdie [Thu, 6 May 2010 13:02:11 +0000 (14:02 +0100)]
pax-utils: Sync with OE.dev fixing native version

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoFix build problem with GCC-4.3.3 on PowerPC
Gary Thomas [Tue, 4 May 2010 11:59:12 +0000 (05:59 -0600)]
Fix build problem with GCC-4.3.3 on PowerPC

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
14 years agoLatest versions of GCC are safe on PowerPC
Gary Thomas [Tue, 4 May 2010 11:58:48 +0000 (05:58 -0600)]
Latest versions of GCC are safe on PowerPC

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
14 years agoUpdate classes to use lib/oe
Joshua Lock [Wed, 5 May 2010 15:17:07 +0000 (16:17 +0100)]
Update classes to use lib/oe

Adapt modifications from upstream to make Poky classes use lib/oe for the
common Python functionality.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agolib/oe: Import oe lib from OE.dev
Joshua Lock [Fri, 30 Apr 2010 15:35:50 +0000 (16:35 +0100)]
lib/oe: Import oe lib from OE.dev

This library moves the common Python methods into modules of an 'oe' Python
package.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobase.bbclass: Sync minor layout changes with OE.dev
Richard Purdie [Thu, 6 May 2010 11:22:44 +0000 (12:22 +0100)]
base.bbclass: Sync minor layout changes with OE.dev

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoxfce.bbclass: Fix SRC_URI (from OE.dev)
Richard Purdie [Thu, 6 May 2010 11:03:31 +0000 (12:03 +0100)]
xfce.bbclass: Fix SRC_URI (from OE.dev)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopoky-default-revisions.inc: Add linux-omap3-pm revision to ensure offline builds...
Richard Purdie [Thu, 6 May 2010 09:26:40 +0000 (10:26 +0100)]
poky-default-revisions.inc: Add linux-omap3-pm revision to ensure offline builds at least parse even if the revision is invalid

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agohandbook: Add new FAQs
Richard Purdie [Thu, 6 May 2010 09:25:59 +0000 (10:25 +0100)]
handbook: Add new FAQs

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agounifdef-native: Fix staging reference in do_install (noticed from OE.dev)
Richard Purdie [Thu, 6 May 2010 09:24:57 +0000 (10:24 +0100)]
unifdef-native: Fix staging reference in do_install (noticed from OE.dev)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agounifdef-native: Fix staging reference in do_install (noticed from OE.dev)
Richard Purdie [Thu, 6 May 2010 09:12:47 +0000 (10:12 +0100)]
unifdef-native: Fix staging reference in do_install (noticed from OE.dev)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agosanity.bbclass: fix typo in earlier commit
Joshua Lock [Fri, 30 Apr 2010 19:14:02 +0000 (20:14 +0100)]
sanity.bbclass: fix typo in earlier commit

Commit fbe3d41eb0c75500d8f16bfd2975cd3136ef1335 left a trailing bracket which
cause an interpretation error

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agoRemove meta-cross-linkage recipe, we no longer have a cross directory
Joshua Lock [Thu, 29 Apr 2010 14:22:18 +0000 (15:22 +0100)]
Remove meta-cross-linkage recipe, we no longer have a cross directory

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agoVersion the build configuration directory
Joshua Lock [Thu, 29 Apr 2010 12:34:05 +0000 (13:34 +0100)]
Version the build configuration directory

The addition of BBLAYERS changes the build/conf directory to be incompatible
with the "old way" in the Purple release.

As such things are likely to occur in future we should bersion the build/conf
directory through local.conf

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agoFix sanity check for new abi
Joshua Lock [Thu, 29 Apr 2010 09:25:39 +0000 (10:25 +0100)]
Fix sanity check for new abi

current_abi is the abi of the tmp directory, not the current abi specified in
the abi file...

Now the sanity check should work sanely.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agoBump the ABI to alert people that cross has gone
Joshua Lock [Wed, 28 Apr 2010 16:48:08 +0000 (17:48 +0100)]
Bump the ABI to alert people that cross has gone

Since we've change the tmpdir layout quite a bit we're going to bump ABI and
force a rebuild.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agoFix references to CROSS_DIR now that it has been removed
Joshua Lock [Wed, 28 Apr 2010 12:59:36 +0000 (13:59 +0100)]
Fix references to CROSS_DIR now that it has been removed

CROSS_DIR is no longer removed so fix up classes, packages and documentation
which refer to it.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agocross.bbclass: inherit relocatable to post-process cross binaries
Joshua Lock [Mon, 26 Apr 2010 16:53:27 +0000 (17:53 +0100)]
cross.bbclass: inherit relocatable to post-process cross binaries

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agoInstall cross-packages into the native sysroot
Joshua Lock [Thu, 22 Apr 2010 14:20:05 +0000 (15:20 +0100)]
Install cross-packages into the native sysroot

Cross is no longer required so can go away, we now install cross packages into
the native sysroot and use them from there.

This patch includes updates to classes and some recipes which reference
CROSS_DIR. Others still need fixing an image can be built and run with this
patch applied.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agogcc: Fix packaging of cross for PPC
Joshua Lock [Tue, 27 Apr 2010 16:41:42 +0000 (17:41 +0100)]
gcc: Fix packaging of cross for PPC

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agoautotools: deprecate autotools_stage class
Joshua Lock [Mon, 26 Apr 2010 16:41:05 +0000 (17:41 +0100)]
autotools: deprecate autotools_stage class

Move the functionality into autotools and ensure all our Poky recipes are no
longer using it.
Keep the autools_stage class around for OE compatability but just have it
inherit autools.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agopoky-default.inc: set PPC preferred version for gcc-runtime
Joshua Lock [Fri, 23 Apr 2010 16:34:16 +0000 (17:34 +0100)]
poky-default.inc: set PPC preferred version for gcc-runtime

We use an older toolchain for PPC so we need to set the PREFERRED_VERSION for
gcc-runtime too.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agoconf/poky-default.inc: Fix PPC preferred binutils
Joshua Lock [Fri, 23 Apr 2010 14:23:24 +0000 (15:23 +0100)]
conf/poky-default.inc: Fix PPC preferred binutils

At some stage the PPC preferred binutils seems to have been changed, we still
need 2.19 for now.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agoscripts/pstage-scanner: new script to sanity test the contents of pstage
Joshua Lock [Thu, 22 Apr 2010 16:51:07 +0000 (17:51 +0100)]
scripts/pstage-scanner: new script to sanity test the contents of pstage

Currently the script will scan all packages in the pstage directory and log
packages which contain destinations outside of the native sysroot.
The script currently ignores pkgdata, stamps and deploy but does trigger the
work dir for packages with a package-split file, this may well be a false
positive.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agorelocatable.bbclass: Normalise the generated path
Joshua Lock [Thu, 22 Apr 2010 14:22:38 +0000 (15:22 +0100)]
relocatable.bbclass: Normalise the generated path

The generated path we create for the binaries RPATH can have a lot of directory
separators in. Use os.path.normpath() to tidy it up and only include the
required directory separators.

This patch is purely to appease my personal sense of niceness...

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agosanity.bbclass: handle lack of permission to read /proc/sys/vm/mmap_min_addr
Joshua Lock [Fri, 16 Apr 2010 15:41:33 +0000 (16:41 +0100)]
sanity.bbclass: handle lack of permission to read /proc/sys/vm/mmap_min_addr

Patch from OE.dev by Martin Jansa to workaround that we on modern Linux we can
no longer read this file.

We need a better fix but best option will be to update to a newer, relocatable,
QEMU release.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agopolkit: fix DEPENDS, requires intltool
Joshua Lock [Fri, 16 Apr 2010 10:36:16 +0000 (11:36 +0100)]
polkit: fix DEPENDS, requires intltool

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agoMove STAGING_BINDIR_CROSS into target sysroot, instead of native
Joshua Lock [Fri, 16 Apr 2010 10:32:14 +0000 (11:32 +0100)]
Move STAGING_BINDIR_CROSS into target sysroot, instead of native

Cross scripts now live in sysroot/$arch-distro-os/crossscripts, this conveys
that they are no longer native system dependant and emphasises their purpose.

Bump the staging ABI and implement a simple migration from ABI 3 to ABI 4.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agopackaged-staging.bbclass: Fix architecture field
Joshua Lock [Wed, 14 Apr 2010 10:03:43 +0000 (11:03 +0100)]
packaged-staging.bbclass: Fix architecture field

The packages architecture field is incorrect, this patch changes it to:
native - build machine architecture
cross - build and target machine architectures
target - target machine architecture

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agopoky-image-sato-directdisk: directdisk variant of Sato image
Joshua Lock [Tue, 13 Apr 2010 14:09:13 +0000 (15:09 +0100)]
poky-image-sato-directdisk: directdisk variant of Sato image

New recipe to create a directdisk Sato disk image.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agopixman: explicitly disable Gtk+ tests
Joshua Lock [Tue, 27 Apr 2010 10:24:06 +0000 (11:24 +0100)]
pixman: explicitly disable Gtk+ tests

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agoqemu_git: Ensure we have the required dependencies for a native build
Joshua Lock [Thu, 15 Apr 2010 14:41:44 +0000 (15:41 +0100)]
qemu_git: Ensure we have the required dependencies for a native build

qemu-native requires a libGL and the SDL development headers to build with our
GL "emulation". This patch adds a check before configure for the native package
to ensure that the sdl.pc file and GL so files exist and bombs out otherwise.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agorelocatable.bbclass: Actually skip symlinks
Joshua Lock [Mon, 12 Apr 2010 14:56:45 +0000 (15:56 +0100)]
relocatable.bbclass: Actually skip symlinks

The previous patch to do so was badly merged and didn't actually skip all
symlinks, only ones which where not an absolute path...

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agogpgme: STAGING_DIR_HOST != STAGING_DIR/HOST_SYS and this causes subtle cross contamin...
Richard Purdie [Mon, 12 Apr 2010 11:11:54 +0000 (12:11 +0100)]
gpgme: STAGING_DIR_HOST != STAGING_DIR/HOST_SYS and this causes subtle cross contamination between certain machines. Fix.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agorelocatable.bbclass: ignore symlinks
Joshua Lock [Thu, 8 Apr 2010 15:38:16 +0000 (16:38 +0100)]
relocatable.bbclass: ignore symlinks

If this links to a file created by the package install we already handle it
when we process the sysroot. By ignoring symlinks here we don't cause a build
to fail when the symlink is to somewhere in the host OS.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agorelocatable.bbclass: Handle files which don't have read/write permissions
Joshua Lock [Thu, 8 Apr 2010 15:35:16 +0000 (16:35 +0100)]
relocatable.bbclass: Handle files which don't have read/write permissions

It's possible to have files in our sysroot which don't have the write (or in
some cases even the read) bit set. Test for these and if they are not set
temporarily set them so that we can chrpath the binaries.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agopackaged-staging.bbclass: Remove hardcoded paths in binfiles for target packages
Joshua Lock [Wed, 7 Apr 2010 13:13:03 +0000 (14:13 +0100)]
packaged-staging.bbclass: Remove hardcoded paths in binfiles for target packages

Amend the default PSTAGE_SCAN_CMD, as used when scanning target packages, to
include binconfig scripts in the results and remove their hardcoded paths.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agoigep0020: Rename files for IGEP v2 boards, prepare for support Hw rev. B and rev. C
Enric Balletbo i Serra [Tue, 6 Apr 2010 13:35:10 +0000 (15:35 +0200)]
igep0020: Rename files for IGEP v2 boards, prepare for support Hw rev. B and rev. C

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
15 years agolinux-igep2: update to latest stable version 2.6.28-3
Enric Balletbo i Serra [Mon, 29 Mar 2010 08:45:38 +0000 (10:45 +0200)]
linux-igep2: update to latest stable version 2.6.28-3

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
15 years agopsuedo: We don't use lib64
Richard Purdie [Tue, 6 Apr 2010 14:27:46 +0000 (15:27 +0100)]
psuedo: We don't use lib64

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agopsuedo: Add missing install function
Richard Purdie [Thu, 1 Apr 2010 14:57:21 +0000 (15:57 +0100)]
psuedo: Add missing install function

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agorelocatable: Handle directories having subdirectories of binaries
Joshua Lock [Thu, 1 Apr 2010 10:42:50 +0000 (11:42 +0100)]
relocatable: Handle directories having subdirectories of binaries

Make the processing of directories less naive so that it can handle a directory
with children that are directories. We now scan for and process binaries in all
directories below the scanned paths rather than only the top-level directory.

This patch moves the meat of the post-processing into a separate function which
is fed paths, process_dir (). Then when the function finds a subdirectory of
the passed path which is itself a directory it recursively calls itself.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agogcc-cross-initial/gcc-cross-intermediate: Add missing EXTRA_OECONF variables
Richard Purdie [Wed, 31 Mar 2010 16:28:08 +0000 (17:28 +0100)]
gcc-cross-initial/gcc-cross-intermediate: Add missing EXTRA_OECONF variables

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agopython-pycurl: Set NATIVE_INSTALL_WORKS
Richard Purdie [Wed, 31 Mar 2010 14:36:12 +0000 (15:36 +0100)]
python-pycurl: Set NATIVE_INSTALL_WORKS

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoencdev-updater: Set NATIVE_INSTALL_WORKS
Richard Purdie [Wed, 31 Mar 2010 14:33:21 +0000 (15:33 +0100)]
encdev-updater: Set NATIVE_INSTALL_WORKS

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoliblbxutil: Fix cross compile issues
Richard Purdie [Wed, 31 Mar 2010 14:30:10 +0000 (15:30 +0100)]
liblbxutil: Fix cross compile issues

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agopython-pycurl: Fix building
Joshua Lock [Tue, 30 Mar 2010 14:24:25 +0000 (15:24 +0100)]
python-pycurl: Fix building

Add python to DEPENDS and ensure the required environment variables are
available at build time.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agogcc: Don't create links in base-libdir
Richard Purdie [Wed, 31 Mar 2010 13:28:27 +0000 (14:28 +0100)]
gcc: Don't create links in base-libdir

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agogcc-crosssdk: Remove bogus require
Richard Purdie [Wed, 31 Mar 2010 13:14:50 +0000 (14:14 +0100)]
gcc-crosssdk: Remove bogus require

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agopoky-moblin.inc: Set provider for virtual/TARGETcompilerlibs
Richard Purdie [Wed, 31 Mar 2010 13:12:23 +0000 (14:12 +0100)]
poky-moblin.inc: Set provider for virtual/TARGETcompilerlibs

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>