aboutsummaryrefslogtreecommitdiffstats
path: root/tools/kgit
AgeCommit message (Collapse)Author
2019-08-08Add SPDX license headers to source filesWilliam Bourque
Kconfiglib/* were under ISC license before they were imported here from https://github.com/ulfalizer/Kconfiglib Adjusting SPDX header to reflect that fact. tools/* all have some sort of GPLv2 headers; adding SPDX header to make it obvious. This address bug #13334 : https://bugzilla.yoctoproject.org/show_bug.cgi?id=13334 Change-Id: I243f2dd266a398f982798b771e74a67be70ecb52 Signed-off-by: William Bourque <wbourque@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2016-07-12kgit: add repo clean functionBruce Ashfield
The ability to sanitize and clean a destination repository is an operation that many scripts may need. As such, we move this from kgit-init to the main kgit script itself. Any script that sources kgit, now has this available. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-07-12kgit: detect if sourcedBruce Ashfield
If the main kgit script is sourced (to provide common routines), it shouldn't process command line arguments. So we now detect if the script is sourced, or executed, and only process command line arguments if it was executed. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-07-04kgit: add --meta optionBruce Ashfield
The code to find a meta directory was spread across many different scripts. This obviously is a maintenance issue. We centralize that code in the main kgit script and allow other scripts to either source kgit and use the function, or call kgit --meta from the command line. Along with this new routine, we update the help message and add command line processing to the script (since we can how pass options). Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-25kgit: retain trailing / in directory processingBruce Ashfield
In order to limit the matching of path relocation and sanity checking to actual directory divisions, we need to retain the trailing / on paths. We really only care about // and other invalid characters. Once we are sure the trailing / is present, we'll no longer match on partial directory names when multiple directories contain a common payth and final directory name. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-05-11kern-tools: remove unused code, scripts and transition codeBruce Ashfield
The period of supporting old trees with a different meta branch name and directory structure are gone. So the cleanup and removal of the old structure can be completed. The meta branch and directory are now controlled via command line, or via the KMETA environment variable. No testing and conditional processing of the tree are required. Additionally, the generate_cfg script is no longer used, or is the branch conditing code in createme. So they can be safely removed from the tools and repository. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-07-16kern_tools: instatiate minimum set of kernel toolsbruce
Create the smallest set of kernel tools required to checkout, build and manipulate Wind River Linux kernel. Details of the usage are in the indivdual scripts, but generally speaking these are never excuted directly by the end user Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>