Commit Graph

7509 Commits

Author SHA1 Message Date
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
Joshua Lock 23ff2e0819 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>
2010-04-27 16:58:42 +01:00
Joshua Lock d1f413ff30 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>
2010-04-27 16:58:42 +01:00
Joshua Lock 6763d7506f polkit: fix DEPENDS, requires intltool
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-27 16:58:42 +01:00
Joshua Lock 7f019514d8 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>
2010-04-27 16:58:42 +01:00
Joshua Lock e866ea68c7 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>
2010-04-27 16:58:42 +01:00
Joshua Lock 6727d5ad6c 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>
2010-04-27 16:58:42 +01:00
Joshua Lock 4c00f55f7a pixman: explicitly disable Gtk+ tests
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-27 11:29:09 +01:00
Joshua Lock 36652f51ab 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>
2010-04-15 17:49:49 +01:00
Joshua Lock d3fbb56c2f 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>
2010-04-12 15:56:45 +01:00
Richard Purdie 4f1ec3194d 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>
2010-04-12 12:11:54 +01:00
Joshua Lock 1ac0a1aebe 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>
2010-04-08 16:41:24 +01:00
Joshua Lock 10b6d14062 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>
2010-04-08 16:41:24 +01:00
Joshua Lock 572f86ce5b 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>
2010-04-08 16:41:24 +01:00
Enric Balletbo i Serra aa1931498b 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>
2010-04-07 10:20:53 +01:00
Enric Balletbo i Serra c45c86003c linux-igep2: update to latest stable version 2.6.28-3
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
2010-04-07 10:20:53 +01:00
Richard Purdie eb8be4555b psuedo: We don't use lib64
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-04-06 15:27:46 +01:00
Richard Purdie 43b5d13c63 psuedo: Add missing install function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-04-01 15:57:21 +01:00
Joshua Lock b43b80c760 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>
2010-04-01 11:53:29 +01:00
Richard Purdie cf929499aa gcc-cross-initial/gcc-cross-intermediate: Add missing EXTRA_OECONF variables
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 17:28:08 +01:00
Richard Purdie 18bdffa955 python-pycurl: Set NATIVE_INSTALL_WORKS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 15:36:12 +01:00
Richard Purdie bcdfa2a468 encdev-updater: Set NATIVE_INSTALL_WORKS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 15:33:21 +01:00
Richard Purdie 369f4dc1a9 liblbxutil: Fix cross compile issues
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 15:30:10 +01:00
Joshua Lock 9b6287c7b1 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>
2010-03-31 14:50:50 +01:00
Richard Purdie 0f4202fa20 gcc: Don't create links in base-libdir
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 14:28:27 +01:00
Richard Purdie 715b0a859f gcc-crosssdk: Remove bogus require
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 14:14:50 +01:00