aboutsummaryrefslogtreecommitdiffstats
path: root/conf/collections.inc
AgeCommit message (Collapse)Author
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>