core/pkg-infra: download git submodules if the package wants them
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 1 Jul 2016 09:01:19 +0000 (11:01 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 2 Jul 2016 17:11:14 +0000 (19:11 +0200)
commitec3e057f79117d851c37f19316a3b9b5e2470550
tree374d1fdd9d4b6e05a12e43e81ee5de087486f076
parentf109e7eeb53ecfa084f80899646b68fb6dff021d
core/pkg-infra: download git submodules if the package wants them

Add a new package variable that packages can set to specify that they
need git submodules.

Only accept this option if the download method is git, as we can not get
submodules via an http download (via wget).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Aleksandar Simeonov <aleksandar@barix.com>
Tested-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Tested-By: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pkg-download.mk
package/pkg-generic.mk
support/download/dl-wrapper