[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-backports
Subject: [PATCH 1/6] backport: add v5.* to the Makefile
From: Luca Coelho <luca () coelho ! fi>
Date: 2019-03-15 14:33:13
Message-ID: 20190315143318.4714-2-luca () coelho ! fi
[Download RAW message or body]
From: Luca Coelho <luciano.coelho@intel.com>
Now that 4.21 became 5.0, we need to update the Makefile accordingly.
Stop looking at 4.19 for the 4.* series and add 5.*.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
---
backport/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/backport/Makefile b/backport/Makefile
index 0fd4cdb2f322..ee7df4ba29ce 100644
--- a/backport/Makefile
+++ b/backport/Makefile
@@ -85,12 +85,13 @@ mrproper:
done \
) > Kconfig.kernel ;\
kver=$$($(MAKE) --no-print-directory -C $(KLIB_BUILD) kernelversion | \
- sed 's/^\(\([3-4]\|2\.6\)\.[0-9]\+\).*/\1/;t;d') ;\
+ sed 's/^\(\([3-5]\|2\.6\)\.[0-9]\+\).*/\1/;t;d') ;\
test "$$kver" != "" || echo "Kernel version parse failed!" ;\
test "$$kver" != "" ;\
kvers="$$(seq 14 39 | sed 's/^/2.6./')" ;\
kvers="$$kvers $$(seq 0 19 | sed 's/^/3./')" ;\
- kvers="$$kvers $$(seq 0 99 | sed 's/^/4./')" ;\
+ kvers="$$kvers $$(seq 0 20 | sed 's/^/4./')" ;\
+ kvers="$$kvers $$(seq 0 99 | sed 's/^/5./')" ;\
print=0 ;\
for v in $$kvers ; do \
if [ "$$print" = "1" ] ; then \
--
2.20.1
--
To unsubscribe from this list: send the line "unsubscribe backports" in
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic