Sources

The Tree of Radix and Third Party Sources

1388 Commits   0 Branches   11 Tags
author: kx <kx@radix.pro> 2021-12-20 02:59:47 +0300 committer: kx <kx@radix.pro> 2021-12-20 02:59:47 +0300 commit: 09692504dde46beb01b393c3e066af89cb1b3f98 parent: 58c56ad7371d4f7419cb0deba1ee88babcdf5ab3
Commit Summary:
Broadcom wireless drivers for BCM43142
Diffstat:
3 files changed, 50 insertions, 2 deletions
diff --git a/hal/drivers/wireless/Makefile b/hal/drivers/wireless/Makefile
index 148489b..d889766 100644
--- a/hal/drivers/wireless/Makefile
+++ b/hal/drivers/wireless/Makefile
@@ -4,8 +4,10 @@
 # $ tree -fid .
 #
 
-SUBDIRS := Amlogic     \
-           broadcom-wl
+SUBDIRS := Amlogic            \
+           broadcom-wl        \
+           broadcom-wl-x86    \
+           broadcom-wl-x86_64
 
 
 all-recursive downloads_clean-recursive:
diff --git a/hal/drivers/wireless/broadcom-wl-x86/Makefile b/hal/drivers/wireless/broadcom-wl-x86/Makefile
new file mode 100644
index 0000000..dc61b58
--- /dev/null
+++ b/hal/drivers/wireless/broadcom-wl-x86/Makefile
@@ -0,0 +1,32 @@
+#
+# Broadcom hybrid-v35 wireless driver:
+#
+
+url         = https://ftp.radix.pro/3pp/Broadcom/hybrid-v35-x86
+
+versions    = 6.30.233.271
+
+pkgname     = broadcom-wl-x86
+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/hal/drivers/wireless/broadcom-wl-x86_64/Makefile b/hal/drivers/wireless/broadcom-wl-x86_64/Makefile
new file mode 100644
index 0000000..c5eb755
--- /dev/null
+++ b/hal/drivers/wireless/broadcom-wl-x86_64/Makefile
@@ -0,0 +1,32 @@
+#
+# Broadcom hybrid-v35_64 wireless driver:
+#
+
+url         = https://ftp.radix.pro/3pp/Broadcom/hybrid-v35-x86_64
+
+versions    = 6.30.233.271
+
+pkgname     = broadcom-wl-x86_64
+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)