diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/opie_git.bbclass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/classes/opie_git.bbclass b/classes/opie_git.bbclass new file mode 100644 index 0000000..d705555 --- /dev/null +++ b/classes/opie_git.bbclass @@ -0,0 +1,12 @@ +# Class for Opie git recipes to ensure they get the correct PV +# Relies on OPIE_GIT_PV and OPIE_SRCREV being set (see +# conf/distro/include/preferred-opie-git-versions.inc) + +# Note: you will need to ensure the first entry in SRC_URI pointing +# to the Opie git repository has name=first + +PV = "${OPIE_GIT_PV}${SRCPV}" + +SRCREV = "${OPIE_SRCREV}" +SRCREV_FORMAT = "first" + |