diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-09-27 14:09:21 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-28 08:01:10 +0100 |
commit | afefe7de281e558ed823460f80ddc631e718feb3 (patch) | |
tree | 69cc46fb93265fcbc2bcf9064829b088fa2dbed5 /meta/recipes-support/libffi/libffi_3.4.2.bb | |
parent | 35708f8860adbf51549b2b2b07c176ba34eed812 (diff) | |
download | poky-afefe7de281e558ed823460f80ddc631e718feb3.tar.gz |
meta: fix version checks in all github recipes using the github-releases class
(From OE-Core rev: b04316bdd28b7945c2c91b4e43c007b650eedc14)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libffi/libffi_3.4.2.bb')
-rw-r--r-- | meta/recipes-support/libffi/libffi_3.4.2.bb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-support/libffi/libffi_3.4.2.bb b/meta/recipes-support/libffi/libffi_3.4.2.bb index 71d9518baf..41c3cad586 100644 --- a/meta/recipes-support/libffi/libffi_3.4.2.bb +++ b/meta/recipes-support/libffi/libffi_3.4.2.bb | |||
@@ -10,18 +10,16 @@ A layer must exist above `libffi' that handles type conversions for values passe | |||
10 | LICENSE = "MIT" | 10 | LICENSE = "MIT" |
11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=679b5c9bdc79a2b93ee574e193e7a7bc" | 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=679b5c9bdc79a2b93ee574e193e7a7bc" |
12 | 12 | ||
13 | SRC_URI = "https://github.com/libffi/libffi/releases/download/v${PV}/${BPN}-${PV}.tar.gz \ | 13 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BPN}-${PV}.tar.gz \ |
14 | file://not-win32.patch \ | 14 | file://not-win32.patch \ |
15 | file://0001-arm-sysv-reverted-clang-VFP-mitigation.patch \ | 15 | file://0001-arm-sysv-reverted-clang-VFP-mitigation.patch \ |
16 | " | 16 | " |
17 | SRC_URI[sha256sum] = "540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620" | 17 | SRC_URI[sha256sum] = "540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620" |
18 | UPSTREAM_CHECK_URI = "https://github.com/libffi/libffi/releases/" | ||
19 | UPSTREAM_CHECK_REGEX = "libffi-(?P<pver>\d+(\.\d+)+)\.tar" | ||
20 | 18 | ||
21 | EXTRA_OECONF += "--disable-builddir --disable-exec-static-tramp" | 19 | EXTRA_OECONF += "--disable-builddir --disable-exec-static-tramp" |
22 | EXTRA_OECONF:class-native += "--with-gcc-arch=generic" | 20 | EXTRA_OECONF:class-native += "--with-gcc-arch=generic" |
23 | EXTRA_OEMAKE:class-target = "LIBTOOLFLAGS='--tag=CC'" | 21 | EXTRA_OEMAKE:class-target = "LIBTOOLFLAGS='--tag=CC'" |
24 | inherit autotools texinfo multilib_header | 22 | inherit autotools texinfo multilib_header github-releases |
25 | 23 | ||
26 | do_install:append() { | 24 | do_install:append() { |
27 | oe_multilib_header ffi.h ffitarget.h | 25 | oe_multilib_header ffi.h ffitarget.h |