Commit Graph

7534 Commits

Author SHA1 Message Date
Joshua Lock d887296baa 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>
2010-05-20 15:50:16 +01:00
Joshua Lock 2c3437d0ae kernel-arch.bbclass: merge improved arch detection from OE.dev
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-20 15:15:55 +01:00
Joshua Lock 769cf0b6b0 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>
2010-05-20 14:16:26 +01:00
Joshua Lock 3da120a872 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>
2010-05-20 14:14:22 +01:00
Joshua Lock e30c5a29d2 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>
2010-05-20 12:58:25 +01:00
Joshua Lock 7a4f1adcbc 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>
2010-05-19 12:20:17 +01:00
Joshua Lock 5e8c7c54a9 linux-moblin: add 2.6.33.2 kernel from MeeGo 1.0
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-19 12:20:16 +01:00
Joshua Lock 5e07bc9128 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>
2010-05-19 12:20:08 +01:00
Joshua Lock 53d98d76fd 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>
2010-05-18 14:22:27 +01:00
Nitin A Kamble bad2fe6498 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>
2010-05-17 13:47:40 -07:00
Nitin A Kamble ebed56190e Add recipe for X vesa driver package
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-05-17 10:51:57 -07:00
Nitin A Kamble c74035a2ad Add recipe for moblin-image-netbook.directdisk
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-05-17 10:47:20 -07:00
Nitin A Kamble b2c4aee283 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>
2010-05-14 11:57:27 -07:00
Richard Purdie f71a4b9be8 handbook: Add section to Poky manual about contributions and certificate of origin
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-14 11:17:54 +08:00
Richard Purdie a722741e32 Merge branch 'tk/head' of ssh://git.pokylinux.org/poky-contrib 2010-05-14 06:36:56 +08:00
Richard Purdie dfd1472eda Merge branch 'nitin/lic1' of ssh://git.pokylinux.org/poky-contrib 2010-05-14 04:12:35 +08:00
Joshua Lock 505c26951b 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>
2010-05-13 16:55:26 +01:00
Richard Purdie ad136ddeef Revert "poky-env-internal: Disable automatic adding of meta environments to BBPATH"
This reverts commit ba804d1729 which is a valid
change but isn't working for some reason which needs further investigation.
2010-05-13 17:07:17 +08:00
Kevin Tian 5a3f17ee6b poky-env-internal: unset variables to avoid disturbing new GIT clone
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2010-05-13 16:27:01 +08:00
Nitin A Kamble 8825d4d455 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>
2010-05-12 10:54:05 -07:00
Richard Purdie b6c6913212 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>
2010-05-12 19:30:58 +08:00
Richard Purdie ba804d1729 poky-env-internal: Disable automatic adding of meta environments to BBPATH
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-12 15:28:54 +08:00
Nitin A Kamble 2ca1f78a95 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>
2010-05-11 16:25:39 -07:00
Joshua Lock c89362c767 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>
2010-05-07 00:45:38 +01:00
Joshua Lock 229c80ad19 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>
2010-05-06 17:07:53 +01:00
Joshua Lock cd8de7b443 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>
2010-05-06 15:54:55 +01:00
Richard Purdie 3b9ac3f017 pax-utils: Sync with OE.dev fixing native version
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-06 15:10:46 +01:00
Gary Thomas 28ca131ebe Fix build problem with GCC-4.3.3 on PowerPC
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
2010-05-06 14:52:08 +01:00
Gary Thomas e150e90f0a Latest versions of GCC are safe on PowerPC
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
2010-05-06 14:52:04 +01:00
Joshua Lock e7fa3529f3 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>
2010-05-06 12:53:16 +01:00
Joshua Lock ac023d775b 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>
2010-05-06 12:48:05 +01:00
Richard Purdie 14196cb031 base.bbclass: Sync minor layout changes with OE.dev
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-06 12:22:44 +01:00
Richard Purdie 89497d8057 xfce.bbclass: Fix SRC_URI (from OE.dev)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-06 12:03:31 +01:00
Richard Purdie 753b4a3187 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>
2010-05-06 10:29:14 +01:00
Richard Purdie 37858f5fac handbook: Add new FAQs
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-06 10:29:14 +01:00
Richard Purdie d37f26525b unifdef-native: Fix staging reference in do_install (noticed from OE.dev)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-06 10:29:14 +01:00
Richard Purdie d0f555cb5c unifdef-native: Fix staging reference in do_install (noticed from OE.dev)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-06 10:16:57 +01:00
Joshua Lock d425fac6d1 sanity.bbclass: fix typo in earlier commit
Commit fbe3d41eb0 left a trailing bracket which
cause an interpretation error

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-30 20:15:56 +01:00
Joshua Lock 70a930f30e Remove meta-cross-linkage recipe, we no longer have a cross directory
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-30 16:25:48 +01:00
Joshua Lock fbe3d41eb0 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>
2010-04-30 16:25:41 +01:00
Joshua Lock 69d788ad5e 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>
2010-04-29 10:25:39 +01:00
Joshua Lock 19a81653b7 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>
2010-04-28 17:48:08 +01:00
Joshua Lock 6458da896f 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>
2010-04-28 16:47:14 +01:00
Joshua Lock 29813a43b5 cross.bbclass: inherit relocatable to post-process cross binaries
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-27 18:29:57 +01:00
Joshua Lock c22ab5fc9f 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>
2010-04-27 18:29:57 +01:00
Joshua Lock 00c5c97442 gcc: Fix packaging of cross for PPC
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-27 18:26:29 +01:00
Joshua Lock 4d1f39af75 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>
2010-04-27 17:11:28 +01:00
Joshua Lock 95f2dd7dc8 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>
2010-04-27 17:11:28 +01:00
Joshua Lock 5fb1069e47 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>
2010-04-27 16:58:43 +01:00
Joshua Lock d2c6f3ef36 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>
2010-04-27 16:58:43 +01:00