Skip to content
Snippets Groups Projects
Select Git revision
1 result Searching

build

  • Libreboot project's avatar
    8b74fe2c
    lib.sh: new function mk() to handle trees in bulk · 8b74fe2c
    Libreboot project authored and Leah Rowe's avatar Leah Rowe committed
    
    single-tree projects cannot be handled in bulk, e.g.
    ./mk -f project1 project2 project3
    
    that is still the case, from the shell, but internally
    it is now possible:
    mk -f project1 project2 project3
    
    mk() is a function that simply handles the given flag,
    and all projects specified.
    
    it does not handle cases without argument, for example
    you cannot do:
    mk -f
    
    arguments must be provided. it can be used internally,
    to simplify cases where multiple single-tree projects
    must be handled, but *also* allows multi-tree projects
    to be specified, without being able to actually handle
    trees within that multi-tree project; so for example,
    you can only specify coreboot, and then it would run
    on every coreboot tree.
    
    Signed-off-by: default avatarLeah Rowe <leah@libreboot.org>
    8b74fe2c
    History
    lib.sh: new function mk() to handle trees in bulk
    Libreboot project authored and Leah Rowe's avatar Leah Rowe committed
    
    single-tree projects cannot be handled in bulk, e.g.
    ./mk -f project1 project2 project3
    
    that is still the case, from the shell, but internally
    it is now possible:
    mk -f project1 project2 project3
    
    mk() is a function that simply handles the given flag,
    and all projects specified.
    
    it does not handle cases without argument, for example
    you cannot do:
    mk -f
    
    arguments must be provided. it can be used internally,
    to simplify cases where multiple single-tree projects
    must be handled, but *also* allows multi-tree projects
    to be specified, without being able to actually handle
    trees within that multi-tree project; so for example,
    you can only specify coreboot, and then it would run
    on every coreboot tree.
    
    Signed-off-by: default avatarLeah Rowe <leah@libreboot.org>