|
1 | | -CFLAGS += -Wno-unused-parameter -Wno-unused |
2 | 1 | CFLAGS += -DWOLFSSL_USER_SETTINGS=1 |
3 | 2 | CFLAGS += -DWOLFSSL_RIOT_OS=1 |
| 3 | + |
4 | 4 | INCLUDES += -I$(PKGDIRBASE)/../../../ |
5 | 5 | INCLUDES += -I$(PKGDIRBASE)/wolfssl |
6 | 6 | INCLUDES += -I$(RIOTBASE)/pkg/wolfssl/sock_tls |
7 | 7 | INCLUDES += -I$(RIOTBASE)/pkg/wolfssl/include |
8 | 8 |
|
9 | | -# One current limitation is that it is not possible to build `wolfcrypt` without |
10 | | -# including `wolfssl`. |
11 | | -# It would require some changes: |
12 | | -# * Use a different name for the `wolfssl` implementation to differenciate from |
13 | | -# the package directory |
14 | | -# * Declare `wolfssl` a PSEUDOMODULES |
15 | | -# * Remove the archive in Makefile.include for packages as they could be |
16 | | -# PSEUDOMODULES |
17 | | -# `$(USEPKG:%=$(BINDIR)/%.a):` |
18 | | -ifneq (,$(filter wolfcrypt,$(USEMODULE))) |
19 | | - DIRS += $(PKGDIRBASE)/wolfssl/wolfcrypt/src |
20 | | -endif |
21 | | -ifneq (,$(filter wolfcrypt-test,$(USEMODULE))) |
22 | | - DIRS += $(PKGDIRBASE)/wolfssl/wolfcrypt/test |
23 | | -endif |
24 | | -ifneq (,$(filter wolfcrypt-benchmark,$(USEMODULE))) |
25 | | - DIRS += $(PKGDIRBASE)/wolfssl/wolfcrypt/benchmark |
26 | | -endif |
27 | | -ifneq (,$(filter wolfssl,$(USEPKG))) |
28 | | - DIRS += $(PKGDIRBASE)/wolfssl/src |
29 | | -endif |
30 | 9 | ifneq (,$(filter sock_tls,$(USEMODULE))) |
31 | 10 | DIRS += $(RIOTBASE)/pkg/wolfssl/sock_tls |
32 | 11 | endif |
|
0 commit comments