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:58:44 +0300 committer: kx <kx@radix.pro> 2023-04-06 09:58:44 +0300 commit: c66a32050916ffe56531b9f3a515f824c02a7ec3 parent: fca57b9d9b3cde5c47f3153a1a77d68fcfed3f4b
Commit Summary:
ATF and Denx U-boot
Diffstat:
1 file changed, 33 insertions, 0 deletions
diff --git a/U-Boot/denx/Makefile b/U-Boot/denx/Makefile
new file mode 100644
index 0000000..e121f57
--- /dev/null
+++ b/U-Boot/denx/Makefile
@@ -0,0 +1,42 @@
+#
+# Project Home:
+# ============
+# https://www.denx.de/wiki/U-Boot/
+#
+# FTP snapshots:
+# =============
+# ftp://ftp.denx.de/pub/u-boot/
+#
+# HTTP snapshots:
+# ==============
+# https://ftp.denx.de/pub/u-boot/
+#
+
+url         = https://ftp.denx.de/pub/u-boot
+
+versions    = 2013.10 2014.01 2014.07 2014.10 2015.01 2015.04 2015.07 2016.01
+versions   += 2017.09 2017.11 2018.11 2019.10 2020.10 2021.04 2022.10 2023.04
+
+suffix      = tar.bz2
+
+tarballs    = $(addsuffix .$(suffix), $(addprefix u-boot-, $(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)