Radix cross Linux 3pp sources

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

423 Commits   0 Branches   0 Tags
3dd19145 (kx 2023-04-09 03:24:10 +0300  1) #
3dd19145 (kx 2023-04-09 03:24:10 +0300  2) # Project Home:
3dd19145 (kx 2023-04-09 03:24:10 +0300  3) # ============
3dd19145 (kx 2023-04-09 03:24:10 +0300  4) # https://standards.ieee.org/products-services/regauth/oui/index.html
3dd19145 (kx 2023-04-09 03:24:10 +0300  5) #
3dd19145 (kx 2023-04-09 03:24:10 +0300  6) # Downloads:
3dd19145 (kx 2023-04-09 03:24:10 +0300  7) # =========
3dd19145 (kx 2023-04-09 03:24:10 +0300  8) # https://regauth.standards.ieee.org/standards-ra-web/pub/view.html#registries :
3dd19145 (kx 2023-04-09 03:24:10 +0300  9) # -----------------------------------------------------------------------------
3dd19145 (kx 2023-04-09 03:24:10 +0300 10) # 1. MAC Address Block Large  (MA-L) :  http://standards-oui.ieee.org/oui/oui.txt
3dd19145 (kx 2023-04-09 03:24:10 +0300 11) # 2. MAC Address Block Medium (MA-M) :  http://standards-oui.ieee.org/oui28/mam.txt
3dd19145 (kx 2023-04-09 03:24:10 +0300 12) # 3. MAC Address Block Small  (MA-S) :  http://standards-oui.ieee.org/oui36/oui36.txt
3dd19145 (kx 2023-04-09 03:24:10 +0300 13) # 4. Company ID                      :  http://standards-oui.ieee.org/cid/cid.txt
3dd19145 (kx 2023-04-09 03:24:10 +0300 14) # 5. Ethertype                       :  http://standards-oui.ieee.org/ethertype/eth.txt
3dd19145 (kx 2023-04-09 03:24:10 +0300 15) # 6. ManufacturerID                  :  http://standards-oui.ieee.org/manid/manid.txt
3dd19145 (kx 2023-04-09 03:24:10 +0300 16) # 7. IEEE 802.16 Operator ID         :  http://standards-oui.ieee.org/bopid/opid.txt
3dd19145 (kx 2023-04-09 03:24:10 +0300 17) # 8. IAB                             :  http://standards-oui.ieee.org/iab/iab.txt
3dd19145 (kx 2023-04-09 03:24:10 +0300 18) #
3dd19145 (kx 2023-04-09 03:24:10 +0300 19) 
3dd19145 (kx 2023-04-09 03:24:10 +0300 20) PCI   ?= no
3dd19145 (kx 2023-04-09 03:24:10 +0300 21) USB   ?= no
3dd19145 (kx 2023-04-09 03:24:10 +0300 22) MAC   ?= yes
3dd19145 (kx 2023-04-09 03:24:10 +0300 23) CID   ?= no
3dd19145 (kx 2023-04-09 03:24:10 +0300 24) ETH   ?= no
3dd19145 (kx 2023-04-09 03:24:10 +0300 25) IAB   ?= no
3dd19145 (kx 2023-04-09 03:24:10 +0300 26) MANID ?= no
3dd19145 (kx 2023-04-09 03:24:10 +0300 27) OPID  ?= no
3dd19145 (kx 2023-04-09 03:24:10 +0300 28) SDIO  ?= yes
3dd19145 (kx 2023-04-09 03:24:10 +0300 29) 
3dd19145 (kx 2023-04-09 03:24:10 +0300 30) DATA_FILES-yes       =
3dd19145 (kx 2023-04-09 03:24:10 +0300 31) DATA_FILES-$(PCI)   += pci.ids
3dd19145 (kx 2023-04-09 03:24:10 +0300 32) DATA_FILES-$(USB)   += usb.ids
3dd19145 (kx 2023-04-09 03:24:10 +0300 33) DATA_FILES-$(MAC)   += ma-large.txt ma-medium.txt ma-small.txt
3dd19145 (kx 2023-04-09 03:24:10 +0300 34) DATA_FILES-$(CID)   += cid.txt
3dd19145 (kx 2023-04-09 03:24:10 +0300 35) DATA_FILES-$(ETH)   += eth.txt
3dd19145 (kx 2023-04-09 03:24:10 +0300 36) DATA_FILES-$(IAB)   += iab.txt
3dd19145 (kx 2023-04-09 03:24:10 +0300 37) DATA_FILES-$(MANID) += manid.txt
3dd19145 (kx 2023-04-09 03:24:10 +0300 38) DATA_FILES-$(OPID)  += opid.txt
3dd19145 (kx 2023-04-09 03:24:10 +0300 39) DATA_FILES-$(SDIO)  += sdio.ids
3dd19145 (kx 2023-04-09 03:24:10 +0300 40) 
3dd19145 (kx 2023-04-09 03:24:10 +0300 41) SYSTEMD_SOURCE = https://github.com/systemd/systemd/raw/main/hwdb.d
3dd19145 (kx 2023-04-09 03:24:10 +0300 42) 
3dd19145 (kx 2023-04-09 03:24:10 +0300 43) 
3dd19145 (kx 2023-04-09 03:24:10 +0300 44) version     = $(shell echo `date +%Y%m%d`)
3dd19145 (kx 2023-04-09 03:24:10 +0300 45) pkgname     = hwids
3dd19145 (kx 2023-04-09 03:24:10 +0300 46) suffix      = tar.xz
3dd19145 (kx 2023-04-09 03:24:10 +0300 47) 
3dd19145 (kx 2023-04-09 03:24:10 +0300 48) tarball     = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(version)))
3dd19145 (kx 2023-04-09 03:24:10 +0300 49) sha1s       = $(addsuffix .sha1sum, $(tarball))
3dd19145 (kx 2023-04-09 03:24:10 +0300 50) 
3dd19145 (kx 2023-04-09 03:24:10 +0300 51) 
3dd19145 (kx 2023-04-09 03:24:10 +0300 52) all: $(tarball) $(sha1s)
3dd19145 (kx 2023-04-09 03:24:10 +0300 53) 
3dd19145 (kx 2023-04-09 03:24:10 +0300 54) .PHONY: downloads_clean
3dd19145 (kx 2023-04-09 03:24:10 +0300 55) 
3dd19145 (kx 2023-04-09 03:24:10 +0300 56) $(tarball):
3dd19145 (kx 2023-04-09 03:24:10 +0300 57) 	@echo -e "\n======= Downloading source files =======\n"
3dd19145 (kx 2023-04-09 03:24:10 +0300 58) 	@mkdir src
3dd19145 (kx 2023-04-09 03:24:10 +0300 59) 	@( cd src ; \
3dd19145 (kx 2023-04-09 03:24:10 +0300 60) 	   wget -N https://pci-ids.ucw.cz/v2.2/pci.ids             ; \
3dd19145 (kx 2023-04-09 03:24:10 +0300 61) 	   wget -N http://www.linux-usb.org/usb.ids                ; \
3dd19145 (kx 2023-04-09 03:24:10 +0300 62) 	   wget -N -O ma-large.txt http://standards-oui.ieee.org/oui/oui.txt     ; \
3dd19145 (kx 2023-04-09 03:24:10 +0300 63) 	   wget -N -O ma-medium.txt http://standards-oui.ieee.org/oui28/mam.txt  ; \
3dd19145 (kx 2023-04-09 03:24:10 +0300 64) 	   wget -N -O ma-small.txt http://standards-oui.ieee.org/oui36/oui36.txt ; \
3dd19145 (kx 2023-04-09 03:24:10 +0300 65) 	   wget -N http://standards-oui.ieee.org/cid/cid.txt       ; \
3dd19145 (kx 2023-04-09 03:24:10 +0300 66) 	   wget -N http://standards-oui.ieee.org/ethertype/eth.txt ; \
3dd19145 (kx 2023-04-09 03:24:10 +0300 67) 	   wget -N http://standards-oui.ieee.org/manid/manid.txt   ; \
3dd19145 (kx 2023-04-09 03:24:10 +0300 68) 	   wget -N http://standards-oui.ieee.org/bopid/opid.txt    ; \
3dd19145 (kx 2023-04-09 03:24:10 +0300 69) 	   wget -N http://standards-oui.ieee.org/iab/iab.txt       ; \
3dd19145 (kx 2023-04-09 03:24:10 +0300 70) 	   wget -N $(SYSTEMD_SOURCE)/sdio.ids                      ; \
3dd19145 (kx 2023-04-09 03:24:10 +0300 71) 	   tar cJvf ../$(tarball) $(DATA_FILES-yes) ; \
3dd19145 (kx 2023-04-09 03:24:10 +0300 72) 	 )
3dd19145 (kx 2023-04-09 03:24:10 +0300 73) 	@rm -rf src
3dd19145 (kx 2023-04-09 03:24:10 +0300 74) 
3dd19145 (kx 2023-04-09 03:24:10 +0300 75) $(sha1s): $(tarball)
3dd19145 (kx 2023-04-09 03:24:10 +0300 76) 	@echo -e "\n======= Calculation the '$(tarball)' sha1sum =======\n"
3dd19145 (kx 2023-04-09 03:24:10 +0300 77) 	@sha1sum --binary $(tarball) > $(tarball).sha1sum ; \
3dd19145 (kx 2023-04-09 03:24:10 +0300 78) 
3dd19145 (kx 2023-04-09 03:24:10 +0300 79) downloads_clean:
3dd19145 (kx 2023-04-09 03:24:10 +0300 80) 	@rm -rf $(pkgname)-*$(suffix) $(pkgname)-*$(suffix).sha1sum