Skip to content
Snippets Groups Projects
  • John Crispin's avatar
    c77feae6
    include: Clean-up kernel git command options management · c77feae6
    John Crispin authored
    
    The way git options are managed in kernel-defaults.mk makes additions
    
    difficult. If requires different code path for each option; it's
    ok so far as we handle only one option, but if we want to make the git
    clone mechanism more flexible, more option will be required, which
    will become tedious.
    
    So; we'll move the GIT options into a variable, that may or may not be
    set depending on the configuration, and we'll pass this variable to the
    git command.
    
    Signed-off-by: default avatarMathieu Olivari <mathieu@qca.qualcomm.com>
    
    SVN-Revision: 40945
    c77feae6
    History
    include: Clean-up kernel git command options management
    John Crispin authored
    
    The way git options are managed in kernel-defaults.mk makes additions
    
    difficult. If requires different code path for each option; it's
    ok so far as we handle only one option, but if we want to make the git
    clone mechanism more flexible, more option will be required, which
    will become tedious.
    
    So; we'll move the GIT options into a variable, that may or may not be
    set depending on the configuration, and we'll pass this variable to the
    git command.
    
    Signed-off-by: default avatarMathieu Olivari <mathieu@qca.qualcomm.com>
    
    SVN-Revision: 40945