summaryrefslogtreecommitdiffstats
path: root/linux/linux.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-07-11 22:46:11 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-11 23:40:49 +0200
commit205fb19cdb475b0b56e675f53bdeca17deb98fbe (patch)
tree74f3d7d02a6d466bef7a636d0270f0cfe95c763c /linux/linux.mk
parentb0d446dee427cfdb71c55c2a46472786de7b8ffc (diff)
downloadbuildroot-novena-205fb19cdb475b0b56e675f53bdeca17deb98fbe.tar.gz
buildroot-novena-205fb19cdb475b0b56e675f53bdeca17deb98fbe.zip
linux: allow specification of a custom Git repository as a source
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'linux/linux.mk')
-rw-r--r--linux/linux.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/linux.mk b/linux/linux.mk
index 25db1f5ea..bba49216c 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -10,6 +10,9 @@ ifeq ($(LINUX_VERSION),custom)
LINUX_TARBALL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION))
LINUX_SITE = $(dir $(LINUX_TARBALL))
LINUX_SOURCE = $(notdir $(LINUX_TARBALL))
+else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_GIT),y)
+LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL))
+LINUX_SITE_METHOD = git
else
LINUX_SOURCE = linux-$(LINUX_VERSION).tar.bz2
LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6/