Commit Message

This class lets you use BBCLASSEXTEND to add a variant of the recipe that
fetches from git instead of a tarball.
For example:
BBCLASSEXTEND = "gitupstream"
SRC_URI_class-gitupstream = "git://git.example.com/example"
SRCREV_class-gitupstream = "abcd1234"
This variant will have DEFAULT_PREFERENCE set to -1 so it needs to be selected
to be used, and any git-specific tweaks can be done with the class-gitupstream
override, for example:
DEPENDS_append_class-gitupstream = " gperf-native"
do_configure_prepend_class-gitupstream() {
touch ${S}/README
}
It currently only supports creating a git variant of the target recipe, not
native or nativesdk.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/classes/gitupstream.bbclass | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 meta/classes/gitupstream.bbclass
--
2.8.1
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core