aboutsummaryrefslogtreecommitdiffstats
path: root/conf/collections.inc
AgeCommit message (Collapse)Author
2010-04-08Using NotHandled/Handled in event handlers is deprecatedChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-03-15collections.inc: define COLLECTIONS with ?= so it can be pulled in by a ↵Chris Larson
distro and overridden by local.conf Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-02-15collections.inc: comment out python statement that inject PYTHONPATH into ↵Koen Kooi
the global environment
2009-08-19collections.inc: sync with MVL6.Chris Larson
- Gather info on the collections into COLLECTIONSINFO. - Store the collection info for the current file in COLLECTIONINFO. - Add has_collection() and get_collection() utility functions. - Make collection_unpack pass back the collection name. - Just use != rather than symmetric_difference on the set comparision. - Set PYTHONPATH for the bitbake re-execution. - Make the 'Using existing' message use bb.debug. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-05-14collections.inc: add collections to BBPATH, handle typos in COLLECTIONS, etc.Chris Larson
- Alters BBPATH to include the newly unpacked collections, then automatically re-exec's bitbake with the new BBPATH to ensure the classes/.confs/etc from those collections are available to bitbake. - Handle typos in the COLLECTIONS variable by warning when glob returns nothing for a given item. - Correctly handle trailing slashes in collection paths, the previous workaround was making the order for the collection priorities undefined. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-04-08collections.inc: trim off trailing slashes for the entries in COLLECTIONS.Chris Larson
Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-04-08collections.inc: add note about not overwriting existing vars.Chris Larson
Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-04-08collections.inc: add support for collection archives.Chris Larson
Adds the ability to specify an archive in COLLECTIONS. Any archives of a supported format (default tar.gz/tgz/tar.X, tar.bz2/tbz/tbz2, zip/jar) will be unpacked into COLLECTIONS_UNPACKDIR and used from there. The default value of COLLECTIONS_UNPACKDIR is ${TMPDIR}/collections. Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-04-08bitbake.conf, collections.inc: Add COLLECTIONS mechanism w/ a sane default.Chris Larson
Added code which takes a list of directories in COLLECTIONS, in priority order (highest to lowest), and uses those to populate BBFILES, BBFILE_COLLECTIONS, BBFILE_PATTERN_*, and BBFILE_PRIORITY_*. The default COLLECTIONS is based on BBPATH, so you can now specify a sane BBPATH, not bother setting up the collections variables or BBFILES, and still likely be able to do a build. Signed-off-by: Chris Larson <clarson@mvista.com>