[oe-commits] [openembedded-core] 10/21: glide.bbclass: Add class to easy Glide use
git at git.openembedded.org
git at git.openembedded.org
Sun Mar 25 08:41:50 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit e0dbcdc2ca0b05b6b062a0ec1496204bb2122fbf
Author: Otavio Salvador <otavio at ossystems.com.br>
AuthorDate: Fri Mar 16 16:48:41 2018 -0300
glide.bbclass: Add class to easy Glide use
To use 'glide' this class does the integration and reduces code
duplication.
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/glide.bbclass | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/meta/classes/glide.bbclass b/meta/classes/glide.bbclass
new file mode 100644
index 0000000..db42174
--- /dev/null
+++ b/meta/classes/glide.bbclass
@@ -0,0 +1,9 @@
+# Handle Glide Vendor Package Management use
+#
+# Copyright 2018 (C) O.S. Systems Software LTDA.
+
+DEPENDS_append = " glide-native"
+
+do_compile_prepend() {
+ ( cd ${B}/src/${GO_IMPORT} && glide install )
+}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list