summaryrefslogtreecommitdiff
path: root/conf/collections.inc
AgeCommit message (Collapse)AuthorFiles
2010-02-15collections.inc: comment out python statement that inject PYTHONPATH into ↵Koen Kooi1
the global environment
2009-08-19collections.inc: sync with MVL6.Chris Larson1
- 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 Larson1
- 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 Larson1
Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-04-08collections.inc: add note about not overwriting existing vars.Chris Larson1
Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-04-08collections.inc: add support for collection archives.Chris Larson1
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 Larson1
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>