summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2018-03-16 16:48:41 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-25 09:40:42 +0100
commite317745665fe193a458860d5f9b9806212381917 (patch)
treed0d8d5bdddb90f9f084ab199fa4611afa6dda0c0
parent3727598586244340f49bfa41acbbf3747763e7ad (diff)
downloadpoky-e317745665fe193a458860d5f9b9806212381917.tar.gz
glide.bbclass: Add class to easy Glide use
To use 'glide' this class does the integration and reduces code duplication. (From OE-Core rev: e0dbcdc2ca0b05b6b062a0ec1496204bb2122fbf) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/glide.bbclass9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes/glide.bbclass b/meta/classes/glide.bbclass
new file mode 100644
index 0000000000..db421745bd
--- /dev/null
+++ b/meta/classes/glide.bbclass
@@ -0,0 +1,9 @@
1# Handle Glide Vendor Package Management use
2#
3# Copyright 2018 (C) O.S. Systems Software LTDA.
4
5DEPENDS_append = " glide-native"
6
7do_compile_prepend() {
8 ( cd ${B}/src/${GO_IMPORT} && glide install )
9}