Sources

The Tree of Radix and Third Party Sources

1388 Commits   0 Branches   11 Tags
author: kx <kx@radix.pro> 2021-05-06 02:02:07 +0300 committer: kx <kx@radix.pro> 2021-05-06 02:02:07 +0300 commit: ecbd43183dc27d2b06b3ba1b6faaf424ddffe501 parent: ce4d2f83c43ba70f7cdac9cea9db9066c41baa94
Commit Summary:
Baikal M1000 kernel from SDK-5.1.76 20210323
Diffstat:
2 files changed, 25 insertions, 1 deletion
diff --git a/Linux/Baikal/M1000/Makefile b/Linux/Baikal/M1000/Makefile
new file mode 100644
index 0000000..dddb746
--- /dev/null
+++ b/Linux/Baikal/M1000/Makefile
@@ -0,0 +1,32 @@
+#
+# Linux kernel for BFK board (TK-T1):
+#
+
+url         = ftp://ftp.radix.pro/3pp/Baikal-M1/linux
+
+versions    = 5.4.92-5.1.76
+
+pkgname     = linux-m1
+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)
diff --git a/Linux/Baikal/Makefile b/Linux/Baikal/Makefile
index fea0759..b1e4305 100644
--- a/Linux/Baikal/Makefile
+++ b/Linux/Baikal/Makefile
@@ -4,7 +4,8 @@
 # $ tree -fid .
 #
 
-SUBDIRS := BFK
+SUBDIRS := BFK   \
+           M1000
 
 
 all-recursive downloads_clean-recursive: