#24 Make Drats a build option

pull/32/head
Geoffrey Merck 4 years ago
parent e442acadc7
commit 948e0889ed

@ -11,6 +11,7 @@
"-j3",
"ENABLE_DEBUG=1",
"USE_GPSD=1",
"USE_DRATS=1",
"all"
],
"group": "build",

@ -240,9 +240,11 @@ bool CDStarGatewayApp::createThread()
delete restrictList;
}
#ifdef USE_DRATS
// Drats
TDRats drats;
m_config->getDRats(drats);
#endif
// Setup the repeaters
bool ddEnabled = false;

@ -38,7 +38,9 @@ export CPPFLAGS+= -DUSE_GPSD
export LDFLAGS+= -lgps
endif
ifeq ($(USE_DRATS), 1)
export CPPFLAGS+= -DUSE_DRATS
endif
.PHONY: all
all: DStarGateway/dstargateway DGWRemoteControl/dgwremotecontrol DGWTextTransmit/dgwtexttransmit DGWTimeServer/dgwtimeserver DGWVoiceTransmit/dgwvoicetransmit #tests

Loading…
Cancel
Save

Powered by TurnKey Linux.