RIOT/pkg/semtech-loramac/Makefile.include
Alexandre Abadie 12044356de
pkg/semtech-loramac: cleanup build system integration
Avoid copying Makefile in the cloned directory
2020-06-10 14:11:22 +02:00

14 lines
383 B
Makefile

INCLUDES += -I$(RIOTBASE)/pkg/semtech-loramac/include
DIRS += $(RIOTBASE)/pkg/semtech-loramac/contrib
# Use EU868 as default region
LORA_REGION ?= EU868
CFLAGS += -DREGION_$(LORA_REGION)
CFLAGS += -DLORAMAC_ACTIVE_REGION=LORAMAC_REGION_$(LORA_REGION)
# There's no concrete semtech-loramac module that is built so declare it as a
# pseudo module.
PSEUDOMODULES += semtech-loramac