diff options
Diffstat (limited to 'meta/classes/crate-fetch.bbclass')
-rw-r--r-- | meta/classes/crate-fetch.bbclass | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/classes/crate-fetch.bbclass b/meta/classes/crate-fetch.bbclass new file mode 100644 index 0000000000..c0ed434a96 --- /dev/null +++ b/meta/classes/crate-fetch.bbclass | |||
@@ -0,0 +1,13 @@ | |||
1 | # | ||
2 | # crate-fetch class | ||
3 | # | ||
4 | # Registers 'crate' method for Bitbake fetch2. | ||
5 | # | ||
6 | # Adds support for following format in recipe SRC_URI: | ||
7 | # crate://<packagename>/<version> | ||
8 | # | ||
9 | |||
10 | python () { | ||
11 | import crate | ||
12 | bb.fetch2.methods.append( crate.Crate() ) | ||
13 | } | ||