diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2011-07-11 22:46:11 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-07-11 23:40:49 +0200 |
commit | 205fb19cdb475b0b56e675f53bdeca17deb98fbe (patch) | |
tree | 74f3d7d02a6d466bef7a636d0270f0cfe95c763c /linux/linux.mk | |
parent | b0d446dee427cfdb71c55c2a46472786de7b8ffc (diff) |
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.mk | 3 |
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/ |