include/kernel: Switch to git download method
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 9 Nov 2016 17:34:18 +0000 (09:34 -0800)
committerFelix Fietkau <nbd@nbd.name>
Sun, 4 Dec 2016 10:41:51 +0000 (11:41 +0100)
commit9a08c0ba807b7e362de5afe78140f3bb4188746c
tree4d2a00971b5c782deea4b2101699207a88449888
parentb9aab34eb4ddf935ee6296f587857e5a495cae0e
include/kernel: Switch to git download method

Utilize the existing git download logic from include/download.mk and migrate
the kernel download over to it. This avoids repeatedly cloning kernel sources
after a make target/linux/clean for instance.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [fix build error]
include/kernel-build.mk
include/kernel-defaults.mk