Skip to content

Commit

Permalink
fix(Makefile): use libserialport mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowApex committed Aug 25, 2024
1 parent 9cb4054 commit 824d1c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,10 @@ $(CACHE_DIR)/libiio:
tar xvf $(CACHE_DIR)/libiio.tar -C $(CACHE_DIR)/libiio


LIBSERIALPORT_URL ?= https://mirror.rackspace.com/archlinux/extra/os/x86_64/libserialport-0.1.1-5-x86_64.pkg.tar.zst
$(CACHE_DIR)/libserialport:
rm -rf $(CACHE_DIR)/libserialport*
wget https://archlinux.org/packages/extra/x86_64/libserialport/download/ \
wget $(LIBSERIALPORT_URL) \
-O $(CACHE_DIR)/libserialport.tar.zst
zstd -d $(CACHE_DIR)/libserialport.tar.zst
mkdir -p $(CACHE_DIR)/libserialport
Expand Down

0 comments on commit 824d1c2

Please sign in to comment.