[riot-notifications] [RIOT-OS/RIOT] pkg: add local.mk, allow source folder override for git packages (#8507)

Gaƫtan Harter notifications at github.com
Thu Feb 1 15:30:33 CET 2018


cladmi commented on this pull request.



> @@ -0,0 +1,20 @@
+#
+# This file allows specifying a local folder using PKG_SOURCE_LOCAL.
+#
+# Every clean or prepare will remove $(PKG_BUILDDIR) and copy over
+# $(PKG_SOURCE_LOCAL).  This is intended to be used during package development.
+#
+# WARNING: any local changes made to $(PKG_BUILDDIR) *will* get lost!
+
+.PHONY: prepare git-download clean
+
+git-download:
+	true
+
+prepare:

I would prefer doing the copy in a second target like:

```
prepare: source-copy
```

This way, `prepare` could still be used to patch the directory in the main Makefile. 

-- 
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/8507#pullrequestreview-93299166
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20180201/74acd81e/attachment.html>


More information about the notifications mailing list