[riot-notifications] [RIOT-OS/RIOT] Add cross-compiled library to RIOT OS (#16799)

forellendev notifications at github.com
Tue Sep 14 14:21:47 CEST 2021


Thank you @miri64, I forgot to outcomment a path variable. I thought a little about manual cross-compiling the library, but now want to try to add it as a package (and hopefully as a new pkg to RIOT OS). I have the following Makefile in a new pkg folder:

```
PKG_NAME = libsafecrypto
PKG_URL = https://github.com/safecrypto/libsafecrypto.git
PKG_VERSION = 65b962f6d608704336ac16f226c8a5ff63b75851 # 0.2.0-52
PKG_LICENSE = MIT

include $(RIOTBASE)/pkg/pkg.mk

.PHONY: libsafecrypto%

LIBSAFECRYPTO_MODULES = \
INCLUDES += -I$(PKGDIRBASE)/libsafecrypto/include \
INCLUDES += -I$(PKGDIRBASE)/libsafecrypto/bindings \
INCLUDES += -I$(PKGDIRBASE)/libsafecrypto/build_tools \
INCLUDES += -I$(PKGDIRBASE)/libsafecrypto/src \
INCLUDES += -I$(PKGDIRBASE)/libsafecrypto/src/utils/crypto \
INCLUDES += -I$(PKGDIRBASE)/libsafecrypto/src/utils/threading \
INCLUDES += -I$(PKGDIRBASE)/libsafecrypto/src/schemes \

all:
	$(MAKE) -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base
```

The problem is that nothing is downloaded at all and my bin/native/libsafecrypto folders are empty.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/16799#issuecomment-919097567
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210914/8625a60a/attachment.htm>


More information about the notifications mailing list