Sources

The Tree of Radix and Third Party Sources

1388 Commits   0 Branches   11 Tags
author: kx <kx@radix.pro> 2021-05-17 11:06:00 +0300 committer: kx <kx@radix.pro> 2021-05-17 11:06:00 +0300 commit: bc46760f5205cc3652506a036b8908758a43482f parent: 070d52e9a5db2d74d8eb4e387fe020b1f6e07637
Commit Summary:
Baikal-T1000: u-boot, kernel from SDK-T-5.6
Diffstat:
4 files changed, 50 insertions, 2 deletions
diff --git a/Linux/Baikal/Makefile b/Linux/Baikal/Makefile
index b1e4305..1160eb7 100644
--- a/Linux/Baikal/Makefile
+++ b/Linux/Baikal/Makefile
@@ -5,7 +5,8 @@
 #
 
 SUBDIRS := BFK   \
-           M1000
+           M1000 \
+           T1000
 
 
 all-recursive downloads_clean-recursive:
diff --git a/Linux/Baikal/T1000/Makefile b/Linux/Baikal/T1000/Makefile
new file mode 100644
index 0000000..dbb971a
--- /dev/null
+++ b/Linux/Baikal/T1000/Makefile
@@ -0,0 +1,32 @@
+#
+# Linux kernel for BFK board (TK-T1):
+#
+
+url         = ftp://ftp.radix.pro/3pp/Baikal-T1/linux
+
+versions    = 5.4.105-5.6.207
+
+pkgname     = linux-t1
+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/U-Boot/Baikal/Makefile b/U-Boot/Baikal/Makefile
index fea0759..da662bc 100644
--- a/U-Boot/Baikal/Makefile
+++ b/U-Boot/Baikal/Makefile
@@ -4,7 +4,8 @@
 # $ tree -fid .
 #
 
-SUBDIRS := BFK
+SUBDIRS := BFK   \
+           T1000
 
 
 all-recursive downloads_clean-recursive:
diff --git a/U-Boot/Baikal/T1000/Makefile b/U-Boot/Baikal/T1000/Makefile
new file mode 100644
index 0000000..1970dd2
--- /dev/null
+++ b/U-Boot/Baikal/T1000/Makefile
@@ -0,0 +1,32 @@
+#
+# U-Boot for BFK board (TK-T1):
+#
+
+url         = ftp://ftp.radix.pro/3pp/Baikal-T1/u-boot
+
+versions    = 2021.01-5.6.207
+
+pkgname     = u-boot-t1
+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)