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

Martine Lenders notifications at github.com
Thu Apr 4 13:35:10 CEST 2019


miri64 commented on this pull request.



> +PKG_BUILDDIR ?= $(PKGDIRBASE)/$(PKG_NAME)
+PKG_ZIPFILE = $(PKGDIRBASE)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)
+
+ifneq ($(RIOTBASE),)
+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)
+	test "$(PKG_SHA512)  $(PKG_ZIPFILE)" =  "$$(sha512sum "${PKG_ZIPFILE}")"

Question from the sidelines: Why don't you put the hash into a file so you can just use sha512sum?

-- 
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-222705748
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190404/b8fa3696/attachment.html>


More information about the notifications mailing list