aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tests/qemu
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-12-26 16:34:53 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-12-26 19:32:30 +0100
commit5b5f6d8686eee808dd15009a04b2e9ab25b92096 (patch)
tree2c115fa7aeccf633d50611d8cf8edc27fd5a9cc4 /src/tests/qemu
parentblake2s: cleanup (diff)
downloadwireguard-monolithic-historical-5b5f6d8686eee808dd15009a04b2e9ab25b92096.tar.xz
wireguard-monolithic-historical-5b5f6d8686eee808dd15009a04b2e9ab25b92096.zip
compat: support 3.18, 3.19, 4.0
Diffstat (limited to 'src/tests/qemu')
-rw-r--r--src/tests/qemu/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/qemu/Makefile b/src/tests/qemu/Makefile
index 140def6..aad4557 100644
--- a/src/tests/qemu/Makefile
+++ b/src/tests/qemu/Makefile
@@ -35,9 +35,9 @@ $(DISTFILES_PATH)/$(1):
endef
ifeq ($(findstring -rc,$(KERNEL_VERSION)),)
-KERNEL_URL_DIRECTORY := https://cdn.kernel.org/pub/linux/kernel/v4.x/
+KERNEL_URL_DIRECTORY := https://cdn.kernel.org/pub/linux/kernel/v$(firstword $(subst ., ,$(KERNEL_VERSION))).x/
else
-KERNEL_URL_DIRECTORY := https://cdn.kernel.org/pub/linux/kernel/v4.x/testing/
+KERNEL_URL_DIRECTORY := https://cdn.kernel.org/pub/linux/kernel/v$(firstword $(subst ., ,$(KERNEL_VERSION))).x/testing/
endif
$(eval $(call tar_download,KERNEL,linux,$(KERNEL_VERSION),.tar.xz,$(KERNEL_URL_DIRECTORY)))