Age | Commit message (Collapse) | Author |
|
This allows other classes to make use of these as well.
Includes a git describe and git toplevel function and functions
to get info for git remotes.
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Several functions included the 'd' parameter but never used it,
additionally the value passed is always None.
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
|
|
get_layer_revisions() uses the os.path module but it is not included
in the imports.
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
|
|
Reduce code duplication to a common function in oe.buildcfg.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
This isn't used anywhere and everyone is using git now, the functions
are now hardcoded as such too. Drop this function.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
The comments even say this was copy/paste code. Move to a
shared library function.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
There is a load of duplicated git/layer/revision code which makes
most sesne as a python library, not bbclass code. Start to refactor as such.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|