diff options
author | Ross Burton <ross.burton@intel.com> | 2017-02-20 16:56:24 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-23 12:49:51 -0800 |
commit | e39ffbcf9278d01aa7397f09f23d0644b92237a8 (patch) | |
tree | dcad95fb8a943d3691d49eff7f4cfc2336e30e5c | |
parent | 0cce08ba5ad3cb3b0b2391a21b85d1dbc6115774 (diff) | |
download | poky-e39ffbcf9278d01aa7397f09f23d0644b92237a8.tar.gz |
unifdef: add UPSTREAM_CHECK_REGEX to filter out development snapshots
Upstream is releasing development snapshots of the form
unifdef-2.11.23.1cca442.tar.gz so filter out versions which end is something
that looks like a git SHA.
(From OE-Core rev: dcf582f8f210c8e9d46f96950d48743819b87f9a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/unifdef/unifdef_2.11.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/unifdef/unifdef_2.11.bb b/meta/recipes-devtools/unifdef/unifdef_2.11.bb index 1d13b9a6bf..1ffc11e76b 100644 --- a/meta/recipes-devtools/unifdef/unifdef_2.11.bb +++ b/meta/recipes-devtools/unifdef/unifdef_2.11.bb | |||
@@ -10,6 +10,8 @@ SRC_URI = "http://dotat.at/prog/${BPN}/${BP}.tar.xz" | |||
10 | SRC_URI[md5sum] = "337053fd8a7d9ab3adf5e50f88af95b7" | 10 | SRC_URI[md5sum] = "337053fd8a7d9ab3adf5e50f88af95b7" |
11 | SRC_URI[sha256sum] = "828ffc270ac262b88fe011136acef2780c05b0dc3c5435d005651740788d4537" | 11 | SRC_URI[sha256sum] = "828ffc270ac262b88fe011136acef2780c05b0dc3c5435d005651740788d4537" |
12 | 12 | ||
13 | UPSTREAM_CHECK_REGEX = "unifdef-(?P<pver>((\d+\.*)+)(?![a-f0-9]{6,})).tar" | ||
14 | |||
13 | do_install() { | 15 | do_install() { |
14 | oe_runmake install DESTDIR=${D} prefix=${prefix} | 16 | oe_runmake install DESTDIR=${D} prefix=${prefix} |
15 | } | 17 | } |