File 0001-Linux-USB-support.patch of Package basicstation

From 138873e6fc0c504aba939dad4673d6c38128c955 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] 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 a123556..8faf7dc 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
@@ -142,6 +144,7 @@ CFLAGS.linux.testpin  = -g -O3
 CFLAGS.linux.std      = -g -O3
 
 LIBS.linux   = -llgw   ${MBEDLIBS}      -lpthread
+LIBS.linuxusb = -llgw   ${MBEDLIBS}      -lpthread -lmpsse
 LIBS.linuxV2 = -llgw2  ${MBEDLIBS} -lrt -lpthread -lspi
 LIBS.linuxpico = -llgw ${MBEDLIBS}      -lpthread
 LIBS.corecell = -llgw1302  ${MBEDLIBS}      -lpthread -lrt
-- 
2.28.0

openSUSE Build Service is sponsored by