File 0006-Linux-USB-support.patch of Package basicstation
From b265b925bb5e86de6c51f9c56432062e0f11dab1 Mon Sep 17 00:00:00 2001
From: Frank Kunz <mailinglists@kunz-im-inter.net>
Date: Tue, 11 Aug 2020 21:00:25 +0200
Subject: [PATCH 6/6] Linux USB support
Signed-off-by: Frank Kunz <mailinglists@kunz-im-inter.net>
---
setup.gmk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/setup.gmk b/setup.gmk
index cea91a1..71fa9bd 100644
--- a/setup.gmk
+++ b/setup.gmk
@@ -41,6 +41,7 @@ variant ?= std
LOCAL_ARCH := $(shell gcc -dumpmachine)
ARCH.linux = x86_64-linux-gnu
+ARCH.linuxusb = x86_64-linux-gnu
ARCH.linuxV2 = x86_64-linux-gnu
ARCH.linuxpico = x86_64-linux-gnu
ARCH.corecell = arm-linux-gnueabihf
@@ -98,6 +99,7 @@ CFG.debugn = logini_lvl=DEBUG selftests tlsdebug ral_master_slave
# -- Platform specific
CFG.linux = linux lgw1 no_leds
+CFG.linuxusb = linux lgw1 no_leds
CFG.linuxpico = linux lgw1 no_leds smtcpico
CFG.linuxV2 = linux lgw2 no_leds lgw2genkey
CFG.corecell = linux lgw1 no_leds sx1302
@@ -138,6 +140,7 @@ CFLAGS.linux.testpin = -g -O3
CFLAGS.linux.std = -g -O3
LIBS.linux = -llgw ${MBEDLIBS} -lpthread -lsystemd
+LIBS.linuxusb = -llgw ${MBEDLIBS} -lpthread -lmpsse -lsystemd
LIBS.linuxV2 = -llgw2 ${MBEDLIBS} -lrt -lpthread -lspi -lsystemd
LIBS.linuxpico = -llgw ${MBEDLIBS} -lpthread -lsystemd
LIBS.corecell = -llgw1302 ${MBEDLIBS} -lpthread -lrt -lsystemd
--
2.51.1