summaryrefslogtreecommitdiff
path: root/libloragw/Makefile
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2022-10-13 18:21:26 -0500
committerHarsh Sharma <harsh.sharma@multitech.com>2022-10-13 18:21:26 -0500
commit36b276dc48316938af1e9d177d828bafbe10b3b9 (patch)
treec36a7bb80bd449c0c2a2bcd7da6db361002d5797 /libloragw/Makefile
parentf6c2760fa5c4c27014454014d38dffe361a24bac (diff)
downloadlora_gateway_mtac_full-36b276dc48316938af1e9d177d828bafbe10b3b9.tar.gz
lora_gateway_mtac_full-36b276dc48316938af1e9d177d828bafbe10b3b9.tar.bz2
lora_gateway_mtac_full-36b276dc48316938af1e9d177d828bafbe10b3b9.zip
Reduced spi speed for mtcdt35.0.15
Diffstat (limited to 'libloragw/Makefile')
-rw-r--r--libloragw/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libloragw/Makefile b/libloragw/Makefile
index 7e95eca..16ba23c 100644
--- a/libloragw/Makefile
+++ b/libloragw/Makefile
@@ -9,8 +9,9 @@ ARCH ?=
CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
AR := $(CROSS_COMPILE)ar
+HOSTNAME=$(shell hostname)
-CFLAGS := -O2 -Wall -Wextra -std=c99 -Iinc -I. -isystem =/usr/include/gps -DLIBLORAGW_VERSION=\"$(LIBLORAGW_VERSION)\"
+CFLAGS := -O2 -Wall -Wextra -std=c99 -Iinc -I. -isystem =/usr/include/gps -HOSTNAME=\"$(HOSTNAME)\ -DLIBLORAGW_VERSION=\"$(LIBLORAGW_VERSION)\"
OBJDIR = obj
INCLUDES = $(wildcard inc/*.h)