summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-01-08 17:48:35 -0500
committerBruno Martins <bgcngm@gmail.com>2023-11-06 09:28:24 +0000
commit5a6a66d8d2166b2a9e20575b410e8d39165d20e6 (patch)
tree26ed0715d37185c23e8900db99ff2d6dc986fdc7
parentdadcdb870e6a31f63789d7556ca4987359be6c5d (diff)
Makefile: strip prefixed v from version.h
We also no longer do anything dynamic with dkms.conf, and we don't rewrite any files at all, but rather pass this through as a cflag to the compiler optionally. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Reported-by: Egbert Verhage <egbert@eggiecode.org> Change-Id: Ieffe702464a3caeedcf6e9552da9dc339147cad2
-rw-r--r--drivers/net/wireguard/version.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireguard/version.h b/drivers/net/wireguard/version.h
index 35ef576765c9..937c8915aa1e 100644
--- a/drivers/net/wireguard/version.h
+++ b/drivers/net/wireguard/version.h
@@ -1 +1,3 @@
+#ifndef WIREGUARD_VERSION
#define WIREGUARD_VERSION "1.0.20210606"
+#endif