]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
15 years agobitbake: Gross hack to fix packaged-staging with BBCLASSEXTEND packages
Richard Purdie [Tue, 23 Mar 2010 22:33:02 +0000 (22:33 +0000)]
bitbake: Gross hack to fix packaged-staging with BBCLASSEXTEND packages

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agopackaged-staging.bbclass: Revert accidental damage
Richard Purdie [Tue, 23 Mar 2010 21:59:06 +0000 (21:59 +0000)]
packaged-staging.bbclass: Revert accidental damage

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agopackaged-staging.bbclass: Fix mkdir to actually create the destination directory
Richard Purdie [Tue, 23 Mar 2010 21:56:21 +0000 (21:56 +0000)]
packaged-staging.bbclass: Fix mkdir to actually create the destination directory

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoencdev-native: Convert to BBCLASSEXTEND
Richard Purdie [Tue, 23 Mar 2010 16:57:33 +0000 (16:57 +0000)]
encdev-native: Convert to BBCLASSEXTEND

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoyum: Update yum and createrepo to latest version
Joshua Lock [Tue, 23 Mar 2010 14:17:58 +0000 (14:17 +0000)]
yum: Update yum and createrepo to latest version

Also switch Yum to using BBCLASSEXTEND rather than having separate native and
host recipes.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years ago.gitignore: ignore bblayers.conf
Joshua Lock [Tue, 23 Mar 2010 12:25:47 +0000 (12:25 +0000)]
.gitignore: ignore bblayers.conf

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agolinux-nokia800_2.6.21: Remove legacy staging function
Joshua Lock [Tue, 23 Mar 2010 12:24:14 +0000 (12:24 +0000)]
linux-nokia800_2.6.21: Remove legacy staging function

The recently added kernels for the N800 include legacy staging functions,
update them to follow the new world order.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agou-boot: remove legacy staging
Joshua Lock [Tue, 23 Mar 2010 12:23:31 +0000 (12:23 +0000)]
u-boot: remove legacy staging

A recent commit seems to have introduced a legacy staging function, remove it

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agofakechroot: Update to 2.9 and add a patch from Debian
Joshua Lock [Mon, 22 Mar 2010 18:18:50 +0000 (18:18 +0000)]
fakechroot: Update to 2.9 and add a patch from Debian

This update includes a refresh of our existing readlink patch and a (trimmed)
copy of the patch Debian are shipping in their package which includes
unreleased fixes from SVN for building against more recent glibc.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
15 years agopseudo: Add recipe
Richard Purdie [Mon, 22 Mar 2010 23:54:41 +0000 (23:54 +0000)]
pseudo: Add recipe

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agolayer.conf: Fix filename conflict
Richard Purdie [Mon, 22 Mar 2010 23:40:15 +0000 (23:40 +0000)]
layer.conf: Fix filename conflict

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoMove default SCM versions into separate meta directory specific files to improve...
Richard Purdie [Mon, 22 Mar 2010 23:35:48 +0000 (23:35 +0000)]
Move default SCM versions into separate meta directory specific files to improve maintainability

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoSwitch to bblayers configuration
Richard Purdie [Mon, 22 Mar 2010 18:11:41 +0000 (18:11 +0000)]
Switch to bblayers configuration

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agobitbake/cooker.py: Add support for a bblayers.conf file
Richard Purdie [Mon, 22 Mar 2010 17:48:31 +0000 (17:48 +0000)]
bitbake/cooker.py: Add support for a bblayers.conf file

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoutility-tasks.bbclass: Remove unneeded base_ prefix since we don't EXPORT these funct...
Richard Purdie [Mon, 22 Mar 2010 17:12:38 +0000 (17:12 +0000)]
utility-tasks.bbclass: Remove unneeded base_ prefix since we don't EXPORT these functions any longer

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agobitbake/providers: Fix merge error
Richard Purdie [Mon, 22 Mar 2010 15:09:07 +0000 (15:09 +0000)]
bitbake/providers: Fix merge error

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agocooker: bail out early if no files to build
Bernhard Reutner-Fischer [Mon, 1 Mar 2010 08:20:29 +0000 (09:20 +0100)]
cooker: bail out early if no files to build

This prevents a misleading backtrace:
ERROR: no files to build.
Command execution failed: Traceback (most recent call last):
  File ".../bitbake/build/lib/bb/command.py", line 83, in runAsyncCommand
    self.cooker.updateCache()
  File ".../bitbake/build/lib/bb/cooker.py", line 779, in updateCache
    if not self.parser.parse_next():
  File ".../bitbake/build/lib/bb/cooker.py", line 969, in parse_next
    cooker.bb_cache.sync()
UnboundLocalError: local variable 'cooker' referenced before assignment

(Bitbake rev: 060ef3d957615b7eb1209dc0d01ebeb53f8c4edc)

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 agoFix issues with BBCLASSEXTEND set by anonymous python, and rename some variables...
Chris Larson [Mon, 1 Mar 2010 23:45:15 +0000 (18:45 -0500)]
Fix issues with BBCLASSEXTEND set by anonymous python, and rename some variables to improve code clarity

(Bitbake rev: 3062e96181fe845cfd286990b0216888ddd3d228)

Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoImplement ??= operator
Chris Larson [Thu, 25 Feb 2010 16:42:28 +0000 (09:42 -0700)]
Implement ??= operator

??= is a lazy, conditional assignment.  Whereas a ?= immediately assigns to
the variable if the variable has not yet been set, ??= does not apply the
default assignment until the end of the parse.  As a result, the final ??= for
a given variable is used, as opposed to the first as in ?=.

Note that the initial implementation relies upon finalise() to apply the
defaults, so a "bitbake -e" without specifying a recipe will not show the
defaults as set by ??=.  Moving application of the default into getVar adds
too large a performance hit.  We may want to revisit this later.

(Bitbake rev: 74f50fbca194c9c72bd2a540f4b9de458cb08e2d)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoAvoid unnecessary calls to keys() when iterating over dictionaries.
Chris Larson [Thu, 11 Jun 2009 20:10:04 +0000 (13:10 -0700)]
Avoid unnecessary calls to keys() when iterating over dictionaries.

dict objects provide an __iter__ method for the iteration which gives you the
keys, so calling keys directly is unnecessary, and isn't really a best
practice.  The only time you really need to call the keys is if there's a
danger of the dict changing out from underneith you, either due to external
forces or due to modification of the iterable in the loop.  Iterations over
os.environ are apparently subject to such changes, so they must continue to
use keys().

As an aside, also switches a couple spots to using sorted() rather than
creating a temporary list with keys() and sorting that.

(Bitbake rev: 5b6ccb16c6e71e23dac6920cd2df994d67c2587b)

Signed-off-by: Chris Larson <clarson@mvista.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoknotty: tweak failure phrase
Bernhard Reutner-Fischer [Thu, 25 Feb 2010 13:21:21 +0000 (14:21 +0100)]
knotty: tweak failure phrase

..to make copy and paste of the logfile easier.

(Bitbake rev: 446cc0cebd4daff7f849717f4cb89ac1b4c6b755)

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 agoFix ud.basecmd error introduced by the FETCHCMD_git commit
Chris Larson [Wed, 24 Feb 2010 16:32:26 +0000 (09:32 -0700)]
Fix ud.basecmd error introduced by the FETCHCMD_git commit

(Bitbake rev: 0bbcbe3548f39ca46c5aa3bf1a8681026e51cbf0)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoAdd initial 'repo' fetcher
Tom Rini [Wed, 24 Feb 2010 14:19:24 +0000 (07:19 -0700)]
Add initial 'repo' fetcher

(Bitbake rev: f68406e864c9837feb56cbec993b620481445cc2)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoRe-getVar BBCLASSEXTEND after finalise()
Chris Larson [Tue, 23 Feb 2010 18:55:43 +0000 (11:55 -0700)]
Re-getVar BBCLASSEXTEND after finalise()

This ensures that an anonymous python function is able to manipulate the
BBCLASSEXTEND contents, and, therefore, amend.inc files are able to add to it.

(Bitbake rev: c7d038d404afaf4ce3735af5134163759da6f6ef)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoError early if BBPATH is unset, rather than falling back to share/bitbake
Chris Larson [Fri, 19 Feb 2010 23:26:33 +0000 (16:26 -0700)]
Error early if BBPATH is unset, rather than falling back to share/bitbake

Better to error as early as possible rather than experience strange behavior
resulting from the use of the largely useless stock bitbake.conf/base.bbclass.

(Bitbake rev: 641e6cf3ec3ab4d26929cf4d2a3704ff07eed4d6)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoKill unused projectdir in bb package.
Chris Larson [Mon, 20 Jul 2009 04:57:09 +0000 (21:57 -0700)]
Kill unused projectdir in bb package.

(Bitbake rev: 79b93e6929c5feeb1ad05bd17f589c69f00b77f6)

Signed-off-by: Chris Larson <clarson@mvista.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoFix msg usage in the moved utility functions.
Chris Larson [Sun, 19 Jul 2009 17:07:00 +0000 (10:07 -0700)]
Fix msg usage in the moved utility functions.

(Bitbake rev: 686288444d22091dee66e20ec49b9c53f8c980b7)

Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoMove most utility functions from bb into bb.utils.
Chris Larson [Sun, 19 Jul 2009 17:05:52 +0000 (10:05 -0700)]
Move most utility functions from bb into bb.utils.

(Bitbake rev: ff720ec59b30671c951dbf3b96df10ef56b8b505)

Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoMove compat imports in the bb package to avoid circular dep issues.
Chris Larson [Sun, 19 Jul 2009 16:54:46 +0000 (09:54 -0700)]
Move compat imports in the bb package to avoid circular dep issues.

(Bitbake rev: b66c129edc7d78fed9d41b0c634744ec81931b21)

Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoMove encodeurl, decodeurl into bb.fetch.
Chris Larson [Sun, 19 Jul 2009 16:51:29 +0000 (09:51 -0700)]
Move encodeurl, decodeurl into bb.fetch.

(Bitbake rev: 867d36f9afce2d298874ac7563e5b3852ef04659)

Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
15 years agoMove MalformedUrl, VarExpandError into appropriate modules.
Chris Larson [Sun, 19 Jul 2009 16:49:36 +0000 (09:49 -0700)]
Move MalformedUrl, VarExpandError into appropriate modules.

(Bitbake rev: e616483b237dafff7f90ba1c09e9ee7c383a2e47)

Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>