]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agogcc-runtime: Make sure multiple target builds work correctly
Richard Purdie [Mon, 7 Jun 2010 22:08:02 +0000 (23:08 +0100)]
gcc-runtime: Make sure multiple target builds work correctly

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosyslinux: Fix native install to use the correct paths
Richard Purdie [Mon, 7 Jun 2010 20:58:21 +0000 (21:58 +0100)]
syslinux: Fix native install to use the correct paths

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobase.bbclass: Fix after bb.decodeurl was fixed
Richard Purdie [Mon, 7 Jun 2010 20:16:16 +0000 (21:16 +0100)]
base.bbclass: Fix after bb.decodeurl was fixed

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosanity.bbclass: version each of the files in the build/conf/ directory
Joshua Lock [Mon, 7 Jun 2010 15:10:48 +0000 (16:10 +0100)]
sanity.bbclass: version each of the files in the build/conf/ directory

We already have versioning of the local.conf file but it's entirely plausible
for the bblayers.conf and site.conf to change incompatibly so we should version
those too.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoFixes for Qemu to use VGA and Touch Screen
Saul Wold [Fri, 4 Jun 2010 22:23:37 +0000 (15:23 -0700)]
Fixes for Qemu to use VGA and Touch Screen

Added usb tablet options to poky-qemu-internal script, and adjusted the
xorg.conf script for x86 to use VGA screen and tablet input device

Signed-off-by: Saul Wold <saul.wold@intel.com>
14 years agoqemu: Update to 0.12.4
Jeff Dike [Thu, 3 Jun 2010 19:39:57 +0000 (15:39 -0400)]
qemu: Update to 0.12.4

Renamed the recipe to 0.12.4.

Moved the patches directory to qemu-0.12.4 - when it was named
qemu-0.12, bitbake silently ignored the patches, and only failed when
it came time to apply them.

Added a FILESDIR to the git recipe and changed its PV to 0.12.4 so it
can use the same patches as the normal recipe for now.

Removed the series file - it wasn't needed.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
14 years agoinsane.bbclass: Throw better error if path is bad
Nitin A Kamble [Fri, 4 Jun 2010 04:48:16 +0000 (21:48 -0700)]
insane.bbclass: Throw better error if path is bad

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agobitbake decodeurl: fix the file:// url handling
Nitin A Kamble [Fri, 4 Jun 2010 04:50:02 +0000 (21:50 -0700)]
bitbake decodeurl: fix the file:// url handling

Without this patch decoding a url of this kind file://dir/filename gives
path=/filename host=dir.
With the patch it decodes as path=/dir/filename host=""

Probably nobody stumbled on this issue yet because nobody used
file:// urls with directory names in the path.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoe2fsprogs: Remove all mention of anything associated with uuids
Jeff Dike [Thu, 3 Jun 2010 19:27:30 +0000 (15:27 -0400)]
e2fsprogs: Remove all mention of anything associated with uuids

--disable-libuuid is added to the configure command line.  This has
the effect of disabling the compilation of uuidgen and libuuid.so.

These two are specified as making up their own packages, which turn
out to be empty, and thus aren't created in the first place.  The
error which manifests itself is at the final creation of the rootfs
when the global package depends on the e2fsprogs-uuidgen and libuuid,
which turn out not to exist, because they weren't created.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
14 years agowpa-supplicant: Don't run populate-volatile.sh on the build system
Jeff Dike [Thu, 3 Jun 2010 19:23:17 +0000 (15:23 -0400)]
wpa-supplicant: Don't run populate-volatile.sh on the build system

Move the populate-volatile.sh call to below the offline check.
Otherwise, it will try to run during the build, on a system which
likely doesn't have populate-volatile.sh.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
14 years agopackaged-staging: Add the correct architectures to the opkg conf
Joshua Lock [Fri, 4 Jun 2010 16:45:31 +0000 (17:45 +0100)]
packaged-staging: Add the correct architectures to the opkg conf

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agohandbook: use XML catalogues to make building work on all(?) distros
Joshua Lock [Fri, 4 Jun 2010 13:48:34 +0000 (14:48 +0100)]
handbook: use XML catalogues to make building work on all(?) distros

Thanks to Damien's pointers we should now be able to generate the handbook
regardless of host distro

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobusybox: Fix redirection of fd 0 in ash interactive
Joshua Lock [Thu, 3 Jun 2010 08:57:28 +0000 (09:57 +0100)]
busybox: Fix redirection of fd 0 in ash interactive

Backported change from the 1.16.1 ash patches.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agomodule-init-tools: Don't cross-build static binaries
Jeff Dike [Tue, 1 Jun 2010 16:34:07 +0000 (12:34 -0400)]
module-init-tools: Don't cross-build static binaries

When building the native version, I get errors from ld complaining
about not being able to find a static libc.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
14 years agoutility-tasks.bbclass: automatic upstream version check
Kevin Tian [Sun, 30 May 2010 11:14:24 +0000 (19:14 +0800)]
utility-tasks.bbclass: automatic upstream version check

Automatic upstream version check can be triggered by "bitbake xxx -c checkpkg".
The rationale behind is to find a automatic way for version comparison between
current in-use one and upstream progress. The tricky thing is how to find out
useful version string from mass diverse information. Fortunately now it mostly
work for wget based protocol, except some sites (e.g. sourceforge) not providing
a directory service. Repo (git/svn/cvs) based protocols are handled in a very
simple manner, by always tagging as update required. This will be further
improved later. Use 'world' target to retrieve a full version check for all
active recipes.

Along with version check, other package information is also collected from
existing fields in .bb file

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

14 years agolibtool-cross: Allow the compile to run else we can generate invalid (unpatched)...
Richard Purdie [Thu, 3 Jun 2010 08:05:03 +0000 (09:05 +0100)]
libtool-cross: Allow the compile to run else we can generate invalid (unpatched) libtool files

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake.conf: Remove util-linux from ASSUME_PROVIDED
Joshua Lock [Wed, 2 Jun 2010 15:13:34 +0000 (16:13 +0100)]
bitbake.conf: Remove util-linux from ASSUME_PROVIDED

We need to build our own util-linux now

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoutil-linux: bump to 2.17 based on OE recipe
Joshua Lock [Wed, 2 Jun 2010 13:47:53 +0000 (14:47 +0100)]
util-linux: bump to 2.17 based on OE recipe

Needed to increase version to one which includes libuuid and change do_install
for building a native version.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoe2fsprogs: add util-linux to depends
Joshua Lock [Wed, 2 Jun 2010 11:04:37 +0000 (12:04 +0100)]
e2fsprogs: add util-linux to depends

e2fsprogs requires libuuid to build and we have disabled its built in version
in favour of the one in util-linux, therefore we need util-linux in the DEPENDS

Drop old configure option --enable-dynamic-e2fsck

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agosanity.bbclass: check for invalid characters in OEROOT
Joshua Lock [Wed, 2 Jun 2010 14:24:05 +0000 (15:24 +0100)]
sanity.bbclass: check for invalid characters in OEROOT

Some characters in the path for OEROOT are known to cause issues, so check for
them in the sanity checker.
Currerently we warn on +'s and spaces.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoutility-tasks: Remove unneeded addtask parameter
Richard Purdie [Wed, 2 Jun 2010 13:07:59 +0000 (14:07 +0100)]
utility-tasks: Remove unneeded addtask parameter

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoHandbook: Documentation for DISTRO_PN_ALIAS
Nitin A Kamble [Tue, 1 Jun 2010 23:19:22 +0000 (16:19 -0700)]
Handbook: Documentation for DISTRO_PN_ALIAS

Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com
14 years agoxset: Defining DISTRO_PN_ALIAS for distro_check
Nitin A Kamble [Tue, 1 Jun 2010 21:22:12 +0000 (14:22 -0700)]
xset: Defining DISTRO_PN_ALIAS for distro_check

This recipe has different names in the different distros. So defining
these aliases for the distro_check task use.

Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoHandbook: Documentation for LIC_FILES_CHKSUM
Nitin A Kamble [Fri, 28 May 2010 22:21:49 +0000 (15:21 -0700)]
Handbook: Documentation for LIC_FILES_CHKSUM

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agodo_distro_check: Recipe exists in other distros?
Nitin A Kamble [Thu, 27 May 2010 19:18:23 +0000 (12:18 -0700)]
do_distro_check: Recipe exists in other distros?

This adds a new task (distro_check) for each recipe.
The task generates the source package list for Fedora OpenSuSE
Ubuntu Debian & Mandriva Linux distros.

As one recipe or source package can generate multiple target packages
the recipe name is compared with the source package name list of LInux
distributions.

Thread locking is used to avoid multiple threads racing for the
package list update.

Then the recipe name (PN) is checked if it exists in the package
list of distros. And if the DISTRO_PN_ALIAS then it is used to copmare
pacakge_name instead of the PN variable. Just for example the
DISTRO_PN_ALIAS can be defined in the recipe (.bb) files like this

In the file xset_1.0.4.bb:

DISTRO_PN_ALIAS = "Fedora=xorg-x11-server-utils;\
   Ubuntu=x11-xserver-utils; Debian=x11-xserver-utils;Opensuse=xorg-x11"

The final results are stored in the tmp/log/distro_check-${DATETIME}.result
file.

FYI this command will generate the results for all recipies:
bitbake world -f -c distro_check

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoiproute2: fix an issues with DATETIME
Nitin A Kamble [Thu, 27 May 2010 19:15:40 +0000 (12:15 -0700)]
iproute2: fix an issues with DATETIME

The DATE variable in this bb files was distrubing the DATETIME variable
used by the distro_check task.
Renamed the DATE variable to SRCDATE

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agobitbake.conf: add the LOG_DIR variable
Nitin A Kamble [Fri, 28 May 2010 17:48:34 +0000 (10:48 -0700)]
bitbake.conf: add the LOG_DIR variable

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agolibtool: Make sure ltmain.sh is always regenerated. We can't just remove it since...
Richard Purdie [Tue, 1 Jun 2010 13:49:54 +0000 (14:49 +0100)]
libtool: Make sure ltmain.sh is always regenerated. We can't just remove it since it has to be present to run configure

14 years agoinitscripts: Tweak checkroot to work with recent versions of busybox
Richard Purdie [Wed, 2 Jun 2010 10:45:59 +0000 (11:45 +0100)]
initscripts: Tweak checkroot to work with recent versions of busybox

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoe2fsprogs: Upgrade 1.41.5 -> 1.45.12
Richard Purdie [Tue, 1 Jun 2010 21:13:35 +0000 (22:13 +0100)]
e2fsprogs: Upgrade 1.41.5 -> 1.45.12

* The no-hardlinks patch is no longer required
* There was an autoconf macro issue which required a new patch (details in patch)
* libuuid was disabled, this should be provided by util-linux on modern systems
* Not providing libuuid is useful for the -native tools as it stops library symbol
  confusion with those from the host system.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agogcc-configure-runtime: Make sure the sysroot is configured
Richard Purdie [Fri, 9 Apr 2010 15:02:50 +0000 (16:02 +0100)]
gcc-configure-runtime: Make sure the sysroot is configured

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosanity.bbclass: Check for SDKMACHINE=i686 and error if found
Richard Purdie [Tue, 1 Jun 2010 16:25:05 +0000 (17:25 +0100)]
sanity.bbclass: Check for SDKMACHINE=i686 and error if found

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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>

15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>