On 7/13/21 7:13 PM, Khem Raj wrote:
> Get RV32 imlementation

The subject is miss leading. You are replacing the upstream url with
your github version to make riscv easier. Is this the preferred method
of supporting new Architectures?

-armin
>
> Signed-off-by: Khem Raj <[email protected]>
> ---
>  ...-configure.ac-Bump-version-to-2.5.99.patch | 26 +++++++++++++++++++
>  .../libseccomp/libseccomp_2.5.1.bb            |  7 +++--
>  2 files changed, 29 insertions(+), 4 deletions(-)
>  create mode 100644 
> meta/recipes-support/libseccomp/files/0001-configure.ac-Bump-version-to-2.5.99.patch
>
> diff --git 
> a/meta/recipes-support/libseccomp/files/0001-configure.ac-Bump-version-to-2.5.99.patch
>  
> b/meta/recipes-support/libseccomp/files/0001-configure.ac-Bump-version-to-2.5.99.patch
> new file mode 100644
> index 0000000000..f30ca77465
> --- /dev/null
> +++ 
> b/meta/recipes-support/libseccomp/files/0001-configure.ac-Bump-version-to-2.5.99.patch
> @@ -0,0 +1,26 @@
> +From 00b6bc440a75443f9bea431bbb41df50469b5093 Mon Sep 17 00:00:00 2001
> +From: Khem Raj <[email protected]>
> +Date: Tue, 8 Jun 2021 23:13:20 -0700
> +Subject: [PATCH] configure.ac: Bump version to 2.5.99
> +
> +Signed-off-by: Khem Raj <[email protected]>
> +---
> + configure.ac | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/configure.ac b/configure.ac
> +index 3e87734..48e796f 100644
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -19,7 +19,7 @@ dnl #
> + dnl ####
> + dnl libseccomp defines
> + dnl ####
> +-AC_INIT([libseccomp], [0.0.0])
> ++AC_INIT([libseccomp], [2.5.99])
> + 
> + dnl ####
> + dnl autoconf configuration
> +-- 
> +2.32.0
> +
> diff --git a/meta/recipes-support/libseccomp/libseccomp_2.5.1.bb 
> b/meta/recipes-support/libseccomp/libseccomp_2.5.1.bb
> index 8fe1023901..5f79f3dbcb 100644
> --- a/meta/recipes-support/libseccomp/libseccomp_2.5.1.bb
> +++ b/meta/recipes-support/libseccomp/libseccomp_2.5.1.bb
> @@ -7,14 +7,13 @@ LIC_FILES_CHKSUM = 
> "file://LICENSE;beginline=0;endline=1;md5=8eac08d22113880357c
>  
>  DEPENDS += "gperf-native"
>  
> -SRCREV = "4bf70431a339a2886ab8c82e9a45378f30c6e6c7"
> +SRCREV = "${AUTOREV}"
>  
> -SRC_URI = "git://github.com/seccomp/libseccomp.git;branch=release-2.5 \
> +SRC_URI = "git://github.com/kraj/libseccomp.git;branch=riscv32 \
> +           file://0001-configure.ac-Bump-version-to-2.5.99.patch \
>             file://run-ptest \
>             "
>  
> -COMPATIBLE_HOST_riscv32 = "null"
> -
>  S = "${WORKDIR}/git"
>  
>  inherit autotools-brokensep pkgconfig ptest features_check
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#153947): 
https://lists.openembedded.org/g/openembedded-core/message/153947
Mute This Topic: https://lists.openembedded.org/mt/84193760/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to