include: Clean-up kernel git command options management
authorJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 12:45:19 +0000 (12:45 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 12:45:19 +0000 (12:45 +0000)
commitc77feae6be20c7c7aadaf492260dda7153f10108
tree99a00fb5573bbd9064b1b3e9a29600e681d79fa2
parent45e3540a3f1189fb36655aeb2347445526d654bd
include: Clean-up kernel git command options management

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: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 40945
include/kernel-defaults.mk