Age | Commit message (Collapse) | Author | Files |
|
the global environment
|
|
- 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>
|
|
- 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>
|
|
Signed-off-by: Chris Larson <clarson@kergoth.com>
|
|
Signed-off-by: Chris Larson <clarson@kergoth.com>
|
|
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>
|
|
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>
|