2020-06-13 20:59:41 +02:00
|
|
|
PKG_SOURCE_DIR ?= $(PKGDIRBASE)/cryptoauthlib
|
|
|
|
PKG_TESTINCLDIR = $(PKG_SOURCE_DIR)/test
|
2019-12-18 20:18:50 +01:00
|
|
|
|
2020-06-13 20:59:41 +02:00
|
|
|
INCLUDES += -I$(PKG_SOURCE_DIR)
|
|
|
|
INCLUDES += -I$(PKG_SOURCE_DIR)/lib
|
|
|
|
INCLUDES += -I$(PKG_SOURCE_DIR)/app
|
2019-12-18 20:18:50 +01:00
|
|
|
INCLUDES += -I$(RIOTPKG)/cryptoauthlib/include
|
|
|
|
|
|
|
|
DIRS += $(RIOTPKG)/cryptoauthlib/contrib
|
2020-08-10 14:45:39 +02:00
|
|
|
ARCHIVES += $(BINDIR)/cryptoauthlib.a
|
2019-12-18 20:18:50 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter cryptoauthlib_test,$(USEMODULE)))
|
|
|
|
INCLUDES += -I$(PKG_TESTINCLDIR)
|
|
|
|
INCLUDES += -I$(PKG_TESTINCLDIR)/jwt
|
|
|
|
INCLUDES += -I$(PKG_TESTINCLDIR)/tng
|
|
|
|
INCLUDES += -I$(PKG_TESTINCLDIR)/atcacert
|
|
|
|
endif
|