summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/buildcfg.py
AgeCommit message (Collapse)Author
2024-03-30bblayers/makesetup.py: Move git utility functions to oe.buildcfg moduleJermain Horsman
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>
2023-11-05lib/oe/buildcfg.py: Remove unused parameterJermain Horsman
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>
2023-11-05lib/oe/buildcfg.py: Include missing importJermain Horsman
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>
2022-06-11base/buildhistory/image-buildinfo: Use common buildcfg functionRichard Purdie
Reduce code duplication to a common function in oe.buildcfg. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11buildcfg: Drop unused svn revision functionRichard Purdie
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>
2022-06-11lib/buildcfg: Share common clean/dirty layer functionRichard Purdie
The comments even say this was copy/paste code. Move to a shared library function. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11classes/buildcfg: Move git/layer revision code into new OE module buildcfgRichard Purdie
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>