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

Kaspar Schleiser notifications at github.com
Thu Apr 4 12:23:16 CEST 2019


kaspar030 commented on this pull request.



> +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
+
+$(PKGDIRBASE):
+	mkdir -p $(PKGDIRBASE)
+
+$(PKG_SHAFILE): $(PKGDIRBASE)
+	$(Q)echo "$(PKG_SHA512) $(PKGDIRBASE)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)" > $@

```test "$(PKG_SHA512) $(FILENAME)" = "$(sha512sum $FILENAME)"```

Don't forget double dollars to make make happy.
Maybe do ```export F=$(SUUUUUUUUUUUUUUUUUUUUUUUUUUPERLONGFILENAMEVARIABLE); test "$(SHA512) $$(F)" = ... ```

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


More information about the notifications mailing list