directory fixes
This commit is contained in:
parent
b5db39e481
commit
92d3a6b2ec
6
Makefile
6
Makefile
@ -120,15 +120,15 @@ spirilink-driver:
|
||||
echo "Invalid input. Skipping SpiriLink driver installation."; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
$(SUDO) mkdir -p ~/tmp; \
|
||||
$(SUDO) mkdir -p /home/spiri/tmp; \
|
||||
if [ "$$DRIVER_TYPE" = "EU" ]; then \
|
||||
echo "Installing SpiriLink 8812EU driver..."; \
|
||||
git clone -b v5.15.0.1 https://github.com/libc0607/rtl88x2eu-20230815 ~/tmp/rtl8812eu && \
|
||||
git clone -b v5.15.0.1 https://github.com/libc0607/rtl88x2eu-20230815 /home/spiri/tmp/rtl8812eu && \
|
||||
cd ~/tmp/rtl8812eu && $(SUDO) sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile && \
|
||||
$(SUDO) sed -i 's/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile && $(SUDO) ./dkms-install.sh; \
|
||||
elif [ "$$DRIVER_TYPE" = "AU" ]; then \
|
||||
echo "Installing SpiriLink 8812AU driver..."; \
|
||||
git clone -b v5.2.20 https://github.com/svpcom/rtl8812au.git ~/tmp/rtl8812au && \
|
||||
git clone -b v5.2.20 https://github.com/svpcom/rtl8812au.git /home/spiri/rtl8812au && \
|
||||
cd ~/tmp/rtl8812au && $(SUDO) ./dkms-install.sh; \
|
||||
else \
|
||||
echo "Unknown driver type: $$DRIVER_TYPE. Skipping driver installation."; \
|
||||
|
Loading…
Reference in New Issue
Block a user