diff options
Diffstat (limited to 'meta-oe/recipes-extended/fd-find/fd-find_10.4.2.bb')
| -rw-r--r-- | meta-oe/recipes-extended/fd-find/fd-find_10.4.2.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/fd-find/fd-find_10.4.2.bb b/meta-oe/recipes-extended/fd-find/fd-find_10.4.2.bb new file mode 100644 index 0000000000..408f97f490 --- /dev/null +++ b/meta-oe/recipes-extended/fd-find/fd-find_10.4.2.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | SUMMARY = "fd is a simple, fast and user-friendly alternative to find." | ||
| 2 | HOMEPAGE = "https://crates.io/crates/fd-find" | ||
| 3 | DESCRIPTION = "fd is a program to find entries in your filesystem. It \ | ||
| 4 | is a simple, fast and user-friendly alternative to find. \ | ||
| 5 | While it does not aim to support all of find's powerful \ | ||
| 6 | functionality, it provides sensible (opinionated) defaults \ | ||
| 7 | for a majority of use cases." | ||
| 8 | |||
| 9 | LICENSE = "MIT" | ||
| 10 | LIC_FILES_CHKSUM = " \ | ||
| 11 | file://LICENSE-MIT;md5=96713c739748a44f86272791c89ce344 \ | ||
| 12 | " | ||
| 13 | |||
| 14 | SRC_URI = "crate://crates.io/fd-find/${PV};name=fd-find" | ||
| 15 | SRC_URI += "file://0001-Define-ALIGNOF_MAX_ALIGN_T-for-riscv32.patch;patchdir=../tikv-jemallocator-0.6.1" | ||
| 16 | SRC_URI[fd-find.sha256sum] = "b95ed7d1f53e0446a7d47715801f6bee95f816c4aa33e25b5d89a2734ab00436" | ||
| 17 | S = "${CARGO_VENDORING_DIRECTORY}/fd-find-${PV}" | ||
| 18 | |||
| 19 | inherit cargo cargo-update-recipe-crates | ||
| 20 | |||
| 21 | #Upstream fd-find sets strip = true in [profile.release], which causes Cargo | ||
| 22 | #to strip the binary during compilation. This interferes with Yocto’s normal | ||
| 23 | #do_package stripping process.By adding the following flag, we ensure that | ||
| 24 | #stripping is handled by Yocto as usual: | ||
| 25 | CARGO_BUILD_FLAGS += " --config profile.release.strip=false" | ||
| 26 | |||
| 27 | require ${BPN}-crates.inc | ||
| 28 | |||
| 29 | BBCLASSEXTEND = "native" | ||
