mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
21 lines
646 B
Makefile
21 lines
646 B
Makefile
DIRS += $(RIOTBASE)/pkg/wakaama/contrib
|
|
|
|
INCLUDES += -I$(RIOTBASE)/pkg/wakaama/include
|
|
INCLUDES += -I$(PKGDIRBASE)/wakaama/core
|
|
INCLUDES += -I$(PKGDIRBASE)/wakaama/core/er-coap-13
|
|
|
|
# NOTE: Use wakaama in client mode
|
|
CFLAGS += -DLWM2M_CLIENT_MODE
|
|
|
|
# Translate 'CONFIG_' options to package specific flags. This checks if the
|
|
# option is being set via Kconfig or CFLAGS
|
|
ifneq (,$(or $(CONFIG_LWM2M_BOOTSTRAP),$(filter -DCONFIG_LWM2M_BOOTSTRAP=1,$(CFLAGS))))
|
|
CFLAGS += -DLWM2M_BOOTSTRAP=1
|
|
endif
|
|
|
|
ifneq (,$(or $(CONFIG_LWM2M_WITH_LOGS),$(filter -DCONFIG_LWM2M_WITH_LOGS=1,$(CFLAGS))))
|
|
CFLAGS += -DLWM2M_WITH_LOGS=1
|
|
endif
|
|
|
|
PSEUDOMODULES += wakaama
|