[riot-notifications] [RIOT-OS/RIOT] c25519: Initial support for the c25519 package (#9389)

Kaspar Schleiser notifications at github.com
Thu Apr 4 11:43:45 CEST 2019


kaspar030 commented on this pull request.



> +include $(RIOTBASE)/Makefile.base
+endif
+
+.PHONY: all clean distclean
+
+prepare: $(PKG_BUILDDIR)/
+
+all: $(PKG_BUILDDIR)/
+	"$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(CURDIR)/Makefile.c25519
+
+$(PKG_BUILDDIR)/: $(PKGDIRBASE)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)
+	$(Q)$(UNZIP_HERE) -D -d $(PKGDIRBASE) $<
+
+$(PKGDIRBASE)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT):
+	mkdir -p $(PKGDIRBASE)
+	$(Q)$(DOWNLOAD_TO_FILE) $@ $(PKG_URL)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)

As this is a crypto library, IMO we must check a hash of the downloaded file here...

-- 
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/pull/9389#pullrequestreview-222657856
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190404/b4b19526/attachment.html>


More information about the notifications mailing list