]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
15 years agogcc-runtime: Add 4.2.3 version
Richard Purdie [Wed, 31 Mar 2010 13:06:33 +0000 (14:06 +0100)]
gcc-runtime: Add 4.2.3 version

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agogcc-crosssdk: Create common include files
Richard Purdie [Wed, 31 Mar 2010 12:53:07 +0000 (13:53 +0100)]
gcc-crosssdk: Create common include files

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agogcc-cross.inc: Move do_compile
Richard Purdie [Wed, 31 Mar 2010 12:46:20 +0000 (13:46 +0100)]
gcc-cross.inc: Move do_compile

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agogcc-cross: Use NATIVEDEPS
Richard Purdie [Wed, 31 Mar 2010 12:43:09 +0000 (13:43 +0100)]
gcc-cross: Use NATIVEDEPS

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agogcc: Move -native dependencies into the base gcc version configuration file and creat...
Richard Purdie [Wed, 31 Mar 2010 11:09:14 +0000 (12:09 +0100)]
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>
15 years agogcc-cross-kernel: Remove unneeded requires
Richard Purdie [Wed, 31 Mar 2010 10:22:25 +0000 (11:22 +0100)]
gcc-cross-kernel: Remove unneeded requires

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agogcc-runtime: Move core code to the main include file
Richard Purdie [Wed, 31 Mar 2010 10:19:54 +0000 (11:19 +0100)]
gcc-runtime: Move core code to the main include file

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agogcc-cross: Simplify require statements
Richard Purdie [Wed, 31 Mar 2010 10:19:24 +0000 (11:19 +0100)]
gcc-cross: Simplify require statements

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agogcc: Drop 4.1.2 as its unused
Richard Purdie [Wed, 31 Mar 2010 09:32:57 +0000 (10:32 +0100)]
gcc: Drop 4.1.2 as its unused

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agogcc: Drop 3.4.4/3.4.6 and gcc-native as all are now unused
Richard Purdie [Wed, 31 Mar 2010 09:32:08 +0000 (10:32 +0100)]
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>
15 years agogcc-csl: Drop old version
Richard Purdie [Tue, 30 Mar 2010 13:23:15 +0000 (14:23 +0100)]
gcc-csl: Drop old version

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agogcc-runtime: Handle libgcc headers correctly and set c++ include patch for packages...
Richard Purdie [Tue, 30 Mar 2010 13:14:34 +0000 (14:14 +0100)]
gcc-runtime: Handle libgcc headers correctly and set c++ include patch for packages correctly

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agogcc-runtime: Fix c++ include path
Richard Purdie [Tue, 30 Mar 2010 11:26:20 +0000 (12:26 +0100)]
gcc-runtime: Fix c++ include path

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agogcc-package-cross.inc: Only stage gcc-runtime headers for gcc-cross
Richard Purdie [Tue, 30 Mar 2010 09:43:15 +0000 (10:43 +0100)]
gcc-package-cross.inc: Only stage gcc-runtime headers for gcc-cross

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoclasses/conf: Update to handle gcc-runtime
Richard Purdie [Mon, 29 Mar 2010 21:28:49 +0000 (22:28 +0100)]
classes/conf: Update to handle gcc-runtime

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agogcc-runtime: Add initial recipe
Richard Purdie [Mon, 29 Mar 2010 21:27:13 +0000 (22:27 +0100)]
gcc-runtime: Add initial recipe

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agogcc-4.3.3: Add patch for issue PR35942 to fix libstdc++ build issues with certain...
Richard Purdie [Mon, 29 Mar 2010 21:24:50 +0000 (22:24 +0100)]
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>
15 years agoautotools.bbclass: Allow extraction of the configure arguments for use in strange...
Richard Purdie [Mon, 29 Mar 2010 16:04:13 +0000 (17:04 +0100)]
autotools.bbclass: Allow extraction of the configure arguments for use in strange testcases

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agorelocatable.bbclass: we need to process library files too
Joshua Lock [Fri, 26 Mar 2010 14:24:58 +0000 (14:24 +0000)]
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>
15 years agorootfs_rpm: Explicitly add runtime dependencies to depends
Joshua Lock [Fri, 26 Mar 2010 12:21:24 +0000 (12:21 +0000)]
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>
15 years agocreaterepo: Fix dependencies, yum at runtime and libxml2 at build
Joshua Lock [Thu, 25 Mar 2010 18:10:41 +0000 (18:10 +0000)]
createrepo: Fix dependencies, yum at runtime and libxml2 at build

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years ago.gitignore: Add packaged staging directory to ignore list
Joshua Lock [Thu, 25 Mar 2010 17:34:18 +0000 (17:34 +0000)]
.gitignore: Add packaged staging directory to ignore list

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agopython-urlgrabber: Update to 3.9.1 with extra patches from Fedora
Joshua Lock [Thu, 25 Mar 2010 16:13:29 +0000 (16:13 +0000)]
python-urlgrabber: Update to 3.9.1 with extra patches from Fedora

Add a couple of extra patches from Fedora to make the latest createrepo package
work.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agopython-native: Fix DEPENDS by adding sqlite3
Joshua Lock [Thu, 25 Mar 2010 12:20:53 +0000 (12:20 +0000)]
python-native: Fix DEPENDS by adding sqlite3

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agopyton-pycurl: Add new recipe from OE.dev
Joshua Lock [Thu, 25 Mar 2010 12:19:17 +0000 (12:19 +0000)]
pyton-pycurl: Add new recipe from OE.dev

Add python-pycurl_7.19.0 from OE.dev with some tweaks to enable a native
version. This package is a dependancy of newer Yum

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agocurl: Bump to 7.20
Joshua Lock [Thu, 25 Mar 2010 12:16:45 +0000 (12:16 +0000)]
curl: Bump to 7.20

Newer libcurl is needed by newer pycurl which is needed by newer yum

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agoyum: Fix installation of python modules
Joshua Lock [Wed, 24 Mar 2010 17:29:02 +0000 (17:29 +0000)]
yum: Fix installation of python modules

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agohandbook: Update links to Anjuta plugin
Joshua Lock [Wed, 24 Mar 2010 15:02:35 +0000 (15:02 +0000)]
handbook: Update links to Anjuta plugin

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agofakechroot: Fix patch application
Joshua Lock [Wed, 24 Mar 2010 14:07:26 +0000 (14:07 +0000)]
fakechroot: Fix patch application

We listed the Debian patch but never actually asked BitBake to apply it.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agobitbake/event.py: Run class eventhandlers in the task context but ensure UI handlers...
Richard Purdie [Thu, 25 Mar 2010 17:33:41 +0000 (17:33 +0000)]
bitbake/event.py: Run class eventhandlers in the task context but ensure UI handlers run in the server context

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agobitbake/cooker.py: Finishing the command needs to happen after the BuildCompleted...
Richard Purdie [Thu, 25 Mar 2010 17:31:23 +0000 (17:31 +0000)]
bitbake/cooker.py: Finishing the command needs to happen after the BuildCompleted event else the cooker can shutdown first

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agocache.py: Bump the cache version after the BBVERSIONS update
Richard Purdie [Thu, 25 Mar 2010 17:28:34 +0000 (17:28 +0000)]
cache.py: Bump the cache version after the BBVERSIONS update

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agobb.manifest: Drop, its unused and obsolete. No point in having dead code around
Richard Purdie [Thu, 25 Mar 2010 15:46:18 +0000 (15:46 +0000)]
bb.manifest: Drop, its unused and obsolete. No point in having dead code around

(Bitbake rev: 69374497b557a5e99ffc7cbe5e075d63e2d9cfaa)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoBBFILES: use a set to remove duplicates when collecting.
Chris Larson [Sun, 6 Dec 2009 19:52:52 +0000 (19:52 +0000)]
BBFILES: use a set to remove duplicates when collecting.

(Bitbake rev: b1b06133da4ca379a60775552d481f7fbf77e999)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agobb/command was importing bb and accessing some of its own classes indirectly as bb...
Chris Larson [Thu, 25 Mar 2010 02:00:12 +0000 (19:00 -0700)]
bb/command was importing bb and accessing some of its own classes indirectly as bb.command.<class>

(Bitbake rev: 4b2a268ce8dad63d21619c1b9acc1de86d222d93)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoWhy is bb/__init__.py importing bb?
Chris Larson [Thu, 25 Mar 2010 01:59:24 +0000 (18:59 -0700)]
Why is bb/__init__.py importing bb?

(Bitbake rev: 3eb01a20cbbb2e7a2f6278089bcc9bb70021738f)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agodata_smart: be explicit about what we make available to eval'd python code
Chris Larson [Thu, 25 Mar 2010 01:58:59 +0000 (18:58 -0700)]
data_smart: be explicit about what we make available to eval'd python code

(Bitbake rev: 6a73dda60f50e9b3e5513795d1ec7207d1446de2)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoFix 7 references to undefined variables, as spotted by pyflakes
Chris Larson [Thu, 25 Mar 2010 00:48:49 +0000 (17:48 -0700)]
Fix 7 references to undefined variables, as spotted by pyflakes

(Bitbake rev: e1e4ccf203e38070eeafd31a622671996cff61a1)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agobb.utils: remove old portage remnants
Chris Larson [Wed, 24 Mar 2010 16:21:53 +0000 (09:21 -0700)]
bb.utils: remove old portage remnants

The following utility functions were removed.  Note that in this particular
case we're bypassing a proper deprecation process, as these functions are
clearly not utilized, are obvious remnants of old ways of doing things, and
some of which do not even function properly.

- tokenize
- evaluate
- flatten
- relparse

- ververify
- isjustname
- isspecific
- catpkgsplit
- pkgsplit
- pkgcmp
- dep_parenreduce
- dep_opconvert

(Bitbake rev: 62983ad9b151ee8d51e8cf9a31c736c7813edf16)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agobb.utils: utilize string.letters and string.digits
Chris Larson [Wed, 24 Mar 2010 03:33:19 +0000 (20:33 -0700)]
bb.utils: utilize string.letters and string.digits

(Bitbake rev: 7af05cba87ec9f3ea5e53689b3d9f0a63784d1b5)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agobb.which: fix broken direction/reverse argument
Chris Larson [Wed, 24 Mar 2010 17:31:06 +0000 (10:31 -0700)]
bb.which: fix broken direction/reverse argument

(Bitbake rev: 4725d83f532cad96168aa9affdedb33b6fc897b7)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agocrumbs: fix hassattr typo
Chris Larson [Wed, 24 Mar 2010 03:24:32 +0000 (20:24 -0700)]
crumbs: fix hassattr typo

(Bitbake rev: 5593de13a18792e36d15dfd2a9579b36284e4d67)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoImplement BBVERSIONS
Chris Larson [Sat, 20 Mar 2010 00:22:19 +0000 (17:22 -0700)]
Implement BBVERSIONS

This implements a feature similar to BBCLASSEXTEND, but for generating
multiple versions of a given recipe.  For example: BBVERSIONS = "1.0 2.0 git".

In addition to the above, one can utilize [a-b] style patterns, and can have a
:<basever> postfix, which allows you to essentially name the range of
versions.  Both the current version and the basever end up in OVERRIDES, and
the basever gets placed into the BPV variable.  The default BPV, if none is
specified, is the original PV of the recipe, before bbversions processing.

In this way, you can do things like:
BBVERSIONS = "1.0.[0-6]:1.0.0+
              1.0.[7-9]:1.0.7+"

SRC_URI_append_1.0.7+ = "file://some_extra_patch.patch;patch=1"

Or you can create a recipe per range, and name the recipe file as such: nano_1.0.7+.bb.

(Bitbake rev: 4ee9a56e16f1eb3c1649eaa3127b09ab0e93d1ec)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agousermanual.xml: Add documentation on bblayers.conf
Richard Purdie [Mon, 22 Mar 2010 17:58:27 +0000 (17:58 +0000)]
usermanual.xml: Add documentation on bblayers.conf

(Bitbake rev: 879229d12c2830dba9e0cb794e61e3c698b8dcc7)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoExpand PREMIRRORS
Enrico Scholz [Sun, 21 Mar 2010 22:25:25 +0000 (23:25 +0100)]
Expand PREMIRRORS

When not expanding PREMIRRORS, the functions fails/does not work correctly
when PREMIRRORS is not a plain string (e.g. contains ${...} or a ${@...}
statements).

(Bitbake rev: d612d22b073f68b8cf1bb7344e0487820040d80d)

Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoutils: improve wording of error message
Bernhard Reutner-Fischer [Sat, 13 Mar 2010 11:01:38 +0000 (12:01 +0100)]
utils: improve wording of error message

(Bitbake rev: b2486ec57c6a7adf09d0960fdf6727881b324d2f)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agobootimg.bbclass: Fix dependency name
Richard Purdie [Thu, 25 Mar 2010 17:09:15 +0000 (17:09 +0000)]
bootimg.bbclass: Fix dependency name

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoparted: Add BBCLASSEXTEND native
Richard Purdie [Thu, 25 Mar 2010 14:09:24 +0000 (14:09 +0000)]
parted: Add BBCLASSEXTEND native

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agobootimg/boot-directdisk.bbclass: Update afer syslinux changes, fix mbr.bin location...
Richard Purdie [Thu, 25 Mar 2010 14:09:06 +0000 (14:09 +0000)]
bootimg/boot-directdisk.bbclass: Update afer syslinux changes, fix mbr.bin location and fix dependencies

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agosyslinux: Convert to BBCLASSEXTEND, clean up recipe and staging function
Richard Purdie [Thu, 25 Mar 2010 14:08:12 +0000 (14:08 +0000)]
syslinux: Convert to BBCLASSEXTEND, clean up recipe and staging function

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoscm-revisions: Always use ??= operator
Richard Purdie [Thu, 25 Mar 2010 11:59:12 +0000 (11:59 +0000)]
scm-revisions: Always use ??= operator

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agometa-openmoko: Add layer configuration
Richard Purdie [Thu, 25 Mar 2010 11:56:08 +0000 (11:56 +0000)]
meta-openmoko: Add layer configuration

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agometa-moblin/layer.conf: Fix layer location
Richard Purdie [Thu, 25 Mar 2010 11:52:31 +0000 (11:52 +0000)]
meta-moblin/layer.conf: Fix layer location

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agometa-extras: Add layer configuration
Richard Purdie [Thu, 25 Mar 2010 11:48:44 +0000 (11:48 +0000)]
meta-extras: Add layer configuration

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agopoky-image-minimal-directdisk: Add directdisk image example
Richard Purdie [Thu, 25 Mar 2010 11:45:13 +0000 (11:45 +0000)]
poky-image-minimal-directdisk: Add directdisk image example

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoboot-directdisk.bbclass: Add direct disk image creation class
Richard Purdie [Thu, 25 Mar 2010 11:44:25 +0000 (11:44 +0000)]
boot-directdisk.bbclass: Add direct disk image creation class

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agobootimg.bbclass: Improve documentation
Richard Purdie [Thu, 25 Mar 2010 11:36:40 +0000 (11:36 +0000)]
bootimg.bbclass: Improve documentation

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