Radix cross Linux 3pp sources

RcL sources – is a tree of Third Party and Radix source tarballs

423 Commits   0 Branches   0 Tags
author: kx <kx@radix.pro> 2023-04-06 09:51:16 +0300 committer: kx <kx@radix.pro> 2023-04-06 09:51:16 +0300 commit: fca57b9d9b3cde5c47f3153a1a77d68fcfed3f4b parent: 13146f55076031ffcb25c0ce71839c8a92c27291
Commit Summary:
Linux kernels 6.x
Diffstat:
1 file changed, 29 insertions, 0 deletions
diff --git a/Linux/v6.x/Makefile b/Linux/v6.x/Makefile
new file mode 100644
index 0000000..d966246
--- /dev/null
+++ b/Linux/v6.x/Makefile
@@ -0,0 +1,38 @@
+#
+# url = https://www.kernel.org/pub/linux/kernel/v[2.6|3.x|4.x|5.x]
+#
+# mirrors:
+#
+# url = https://www.se.kernel.org/pub/linux/kernel/v[2.6|3.x|4.x|5.x]
+#
+
+url         = https://www.kernel.org/pub/linux/kernel/v6.x
+
+versions    = 6.0.7
+versions   += 6.1.20 6.1.22
+versions   += 6.2.9
+
+pkgname     = linux
+suffix      = tar.xz
+
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+all: $(tarballs) $(sha1s)
+
+.PHONY: downloads_clean
+
+$(tarballs):
+	@echo -e "\n======= Downloading source tarballs =======\n"
+	@for tarball in $(tarballs) ; do \
+	  wget -N $(url)/$$tarball ; \
+	done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)