From c424572927cbb7548f1e156808b5f36690f1f315 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sat, 10 Sep 2022 17:24:31 -0300 Subject: rust-hello-world: move to recipes-extended There is no need to have a single recipe in recipes-example; moving it to recipes-extended put it with other recipes. (From OE-Core rev: c53b2539176199607eb12c706658a269c81d3232) Signed-off-by: Otavio Salvador Signed-off-by: Richard Purdie --- .../rust-hello-world/0001-enable-LTO.patch | 24 ---------------------- .../rust-hello-world/rust-hello-world_git.bb | 19 ----------------- 2 files changed, 43 deletions(-) delete mode 100644 meta/recipes-example/rust-hello-world/rust-hello-world/0001-enable-LTO.patch delete mode 100644 meta/recipes-example/rust-hello-world/rust-hello-world_git.bb (limited to 'meta/recipes-example') diff --git a/meta/recipes-example/rust-hello-world/rust-hello-world/0001-enable-LTO.patch b/meta/recipes-example/rust-hello-world/rust-hello-world/0001-enable-LTO.patch deleted file mode 100644 index f319545ee1..0000000000 --- a/meta/recipes-example/rust-hello-world/rust-hello-world/0001-enable-LTO.patch +++ /dev/null @@ -1,24 +0,0 @@ -From fa40b874f6470ec11a8fd7b0c9909d0cdd2d6feb Mon Sep 17 00:00:00 2001 -From: Dan Callaghan -Date: Fri, 5 Feb 2021 08:56:34 +1000 -Subject: [PATCH] enable LTO - -Upstream-Status: Pending ---- - Cargo.toml | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/Cargo.toml b/Cargo.toml -index 7a2f6c8..cdb6b5d 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -3,3 +3,6 @@ - name = "rust-hello-world" - version = "0.0.1" - authors = ["Cody P Schafer "] -+ -+[profile.release] -+lto = true --- -2.28.0 - diff --git a/meta/recipes-example/rust-hello-world/rust-hello-world_git.bb b/meta/recipes-example/rust-hello-world/rust-hello-world_git.bb deleted file mode 100644 index 1d91109b51..0000000000 --- a/meta/recipes-example/rust-hello-world/rust-hello-world_git.bb +++ /dev/null @@ -1,19 +0,0 @@ -inherit cargo - -SRC_URI = "git://github.com/meta-rust/rust-hello-world.git;protocol=https;branch=master" -SRCREV="e0fa23f1a3cb1eb1407165bd2fc36d2f6e6ad728" -LIC_FILES_CHKSUM="file://COPYRIGHT;md5=e6b2207ac3740d2d01141c49208c2147" - -SRC_URI += "\ - file://0001-enable-LTO.patch \ - " - -UPSTREAM_CHECK_COMMITS = "1" - -SUMMARY = "Hello World by Cargo for Rust" -HOMEPAGE = "https://github.com/meta-rust/rust-hello-world" -LICENSE = "MIT | Apache-2.0" - -S = "${WORKDIR}/git" - -BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf