Compare commits
No commits in common. "0a9f136eee8973750be32ed706a7c587f3c4113a" and "f99a0609183fb4f1b11cc476e6cd2feafe9c5534" have entirely different histories.
0a9f136eee
...
f99a060918
|
|
@ -387,7 +387,7 @@ int UZ7HOSetFreq(int port, struct TNCINFO * TNC, struct AGWINFO * AGW, PDATAMESS
|
||||||
|
|
||||||
if (AGW->CenterFreq == 0)
|
if (AGW->CenterFreq == 0)
|
||||||
{
|
{
|
||||||
buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Invalid Modem Frequency\r");
|
buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Invalid Modem Freqency\r");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
22
makefile
22
makefile
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
# To exclude i2c support run make noi2c
|
# To exclude i2c support run make noi2c
|
||||||
|
|
||||||
OBJS = APRSIconData.o AISCommon.o\
|
OBJS = pngwtran.o pngrtran.o pngset.o pngrio.o pngwio.o pngtrans.o pngrutil.o pngwutil.o\
|
||||||
|
pngread.o pngwrite.o png.o pngerror.o pngget.o pngmem.o APRSIconData.o AISCommon.o\
|
||||||
upnp.o APRSStdPages.o HSMODEM.o WinRPR.o KISSHF.o TNCEmulators.o bpqhdlc.o SerialPort.o\
|
upnp.o APRSStdPages.o HSMODEM.o WinRPR.o KISSHF.o TNCEmulators.o bpqhdlc.o SerialPort.o\
|
||||||
adif.o WebMail.o utf8Routines.o VARA.o LzFind.o Alloc.o LzmaDec.o LzmaEnc.o LzmaLib.o \
|
adif.o WebMail.o utf8Routines.o VARA.o LzFind.o Alloc.o LzmaDec.o LzmaEnc.o LzmaLib.o \
|
||||||
Multicast.o ARDOP.o IPCode.o FLDigi.o linether.o CMSAuth.o APRSCode.o BPQtoAGW.o KAMPactor.o\
|
Multicast.o ARDOP.o IPCode.o FLDigi.o linether.o CMSAuth.o APRSCode.o BPQtoAGW.o KAMPactor.o\
|
||||||
|
|
@ -16,12 +17,12 @@ OBJS = APRSIconData.o AISCommon.o\
|
||||||
|
|
||||||
# Configuration:
|
# Configuration:
|
||||||
|
|
||||||
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
|
#Default to Linux
|
||||||
CFLAGS+=$(shell dpkg-buildflags --get CPPFLAGS)
|
CC = gcc
|
||||||
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
|
LDFLAGS = -Xlinker -Map=output.map -lrt
|
||||||
|
|
||||||
all: CFLAGS += -DLINBPQ -MMD -g -rdynamic -fcommon -fasynchronous-unwind-tables
|
all: CFLAGS = -DLINBPQ -MMD -g -fcommon -fasynchronous-unwind-tables $(EXTRA_CFLAGS)
|
||||||
all: LIBS = -lpaho-mqtt3a -ljansson -lminiupnpc -lrt -lm -lz -lpthread -lconfig -lpcap -lpng
|
all: LIBS = -lpaho-mqtt3a -ljansson -lminiupnpc -lm -lz -lpthread -lconfig -lpcap
|
||||||
all: linbpq
|
all: linbpq
|
||||||
|
|
||||||
#other OS
|
#other OS
|
||||||
|
|
@ -73,11 +74,12 @@ noi2c: linbpq
|
||||||
|
|
||||||
|
|
||||||
linbpq: $(OBJS)
|
linbpq: $(OBJS)
|
||||||
$(CC) $(OBJS) $(CFLAGS) $(LDFLAGS) $(LIBS) -o linbpq
|
cc $(OBJS) $(CFLAGS) $(LDFLAGS) $(LIBS) -o linbpq
|
||||||
|
sudo setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq
|
||||||
|
|
||||||
-include *.d
|
-include *.d
|
||||||
|
|
||||||
install:
|
clean :
|
||||||
install -b -m 755 -D -d debian/linbpq/usr/sbin
|
rm *.d
|
||||||
install -b -m 755 -p linbpq debian/linbpq/usr/sbin
|
rm linbpq $(OBJS)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue