diff options
author | 2016-12-26 16:34:53 +0100 | |
---|---|---|
committer | 2016-12-26 19:32:30 +0100 | |
commit | 5b5f6d8686eee808dd15009a04b2e9ab25b92096 (patch) | |
tree | 2c115fa7aeccf633d50611d8cf8edc27fd5a9cc4 /src/tests/qemu/Makefile | |
parent | blake2s: cleanup (diff) | |
download | wireguard-monolithic-historical-5b5f6d8686eee808dd15009a04b2e9ab25b92096.tar.xz wireguard-monolithic-historical-5b5f6d8686eee808dd15009a04b2e9ab25b92096.zip |
compat: support 3.18, 3.19, 4.0
Diffstat (limited to 'src/tests/qemu/Makefile')
-rw-r--r-- | src/tests/qemu/Makefile | 4 |
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))) |