From d4755fc065634a89b1c8d78ca76979a271052de6 Mon Sep 17 00:00:00 2001 From: Tyler Hall Date: Mon, 23 Oct 2017 17:28:42 -0400 Subject: [PATCH] time-rs: update 0.1.26 -> 0.1.38 This version does not need the C helpers. --- recipes-core/time/{time-rs_0.1.26.bb => time-rs_0.1.38.bb} | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) rename recipes-core/time/{time-rs_0.1.26.bb => time-rs_0.1.38.bb} (65%) diff --git a/recipes-core/time/time-rs_0.1.26.bb b/recipes-core/time/time-rs_0.1.38.bb similarity index 65% rename from recipes-core/time/time-rs_0.1.26.bb rename to recipes-core/time/time-rs_0.1.38.bb index 76ca2f5..71e9497 100644 --- a/recipes-core/time/time-rs_0.1.26.bb +++ b/recipes-core/time/time-rs_0.1.38.bb @@ -10,15 +10,12 @@ DEPENDS = "libc-rs" inherit rust-bin SRC_URI = "git://github.com/rust-lang/time.git;protocol=https" -SRCREV = "32b212b877b836dbfdc97af5674d91672e70ecbd" +SRCREV = "d265b7cf9f50db74fbd0a01f8bec90ad7d239d48" S = "${WORKDIR}/git" do_compile () { - rm -rf time_helpers.o libtimehelpers.a - ${CC} ${S}/src/time_helpers.c -fPIC -c -o time_helpers.o - ${AR} rcs libtime_helpers.a time_helpers.o - oe_compile_rust_lib -L native=$PWD -l static=time_helpers + oe_compile_rust_lib } do_install () {