diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2018-03-16 16:48:41 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-25 09:40:42 +0100 |
commit | e317745665fe193a458860d5f9b9806212381917 (patch) | |
tree | d0d8d5bdddb90f9f084ab199fa4611afa6dda0c0 /meta | |
parent | 3727598586244340f49bfa41acbbf3747763e7ad (diff) | |
download | poky-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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/glide.bbclass | 9 |
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 | |||
5 | DEPENDS_append = " glide-native" | ||
6 | |||
7 | do_compile_prepend() { | ||
8 | ( cd ${B}/src/${GO_IMPORT} && glide install ) | ||
9 | } | ||