Commit Graph

7488 Commits

Author SHA1 Message Date
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
Richard Purdie 50022b12ef poky-moblin.inc: Set provider for virtual/TARGETcompilerlibs
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 14:12:23 +01:00
Richard Purdie 2fc8da52f7 gcc-runtime: Add 4.2.3 version
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 14:06:33 +01:00
Richard Purdie eca7e8c9bf gcc-crosssdk: Create common include files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 13:53:07 +01:00
Richard Purdie c155b71ba4 gcc-cross.inc: Move do_compile
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 13:46:20 +01:00
Richard Purdie 70abb2e3e8 gcc-cross: Use NATIVEDEPS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 13:43:09 +01:00
Richard Purdie fb5b562837 gcc: Move -native dependencies into the base gcc version configuration file and create and use EXTRA_OECONF_INITIAL and EXTRA_OECONF_INTERMEDIATE variables
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 12:09:14 +01:00
Richard Purdie 5b5a069e16 gcc-cross-kernel: Remove unneeded requires
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 11:22:25 +01:00
Richard Purdie 95fd994366 gcc-runtime: Move core code to the main include file
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 11:19:54 +01:00
Richard Purdie ccebaa67df gcc-cross: Simplify require statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 11:19:24 +01:00
Richard Purdie e9522df693 gcc: Drop 4.1.2 as its unused
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 10:32:57 +01:00
Richard Purdie cc0bd4bed2 gcc: Drop 3.4.4/3.4.6 and gcc-native as all are now unused
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-31 10:32:08 +01:00
Richard Purdie 4821286d0a gcc-csl: Drop old version
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-30 14:23:15 +01:00
Richard Purdie 9c77464538 gcc-runtime: Handle libgcc headers correctly and set c++ include patch for packages correctly
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-30 14:14:34 +01:00
Richard Purdie c75c0d68c2 gcc-runtime: Fix c++ include path
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-30 12:26:20 +01:00
Richard Purdie 0cf4a98244 gcc-package-cross.inc: Only stage gcc-runtime headers for gcc-cross
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-30 10:43:15 +01:00
Richard Purdie 847324b79b classes/conf: Update to handle gcc-runtime
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-29 22:28:49 +01:00
Richard Purdie cdaf6c804b gcc-runtime: Add initial recipe
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-29 22:27:13 +01:00
Richard Purdie 7a7c2341c7 gcc-4.3.3: Add patch for issue PR35942 to fix libstdc++ build issues with certain host cross compile combinations
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-29 22:24:50 +01:00
Richard Purdie fcfbc7b1e7 autotools.bbclass: Allow extraction of the configure arguments for use in strange testcases
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-29 17:04:13 +01:00
Joshua Lock 93f357d657 relocatable.bbclass: we need to process library files too
The .so files we ship also have a RPATH encoded so should be post-processed for
a relocatable RPATH too.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-26 14:24:58 +00:00
Joshua Lock 1ee88638a2 rootfs_rpm: Explicitly add runtime dependencies to depends
Python RDEPENDS are tricksy beasts and the runtime dependencies of Yum aren't
being pulled in for the RPM rootfs so explicitly add them to depends.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-26 12:23:11 +00:00