> On Sep 17, 2015, at 7:31 AM, Marek Vasut <[email protected]> wrote:
>
> Add a patch which adds a configuration for the nios2 processor.
>
> Signed-off-by: Marek Vasut <[email protected]>
> ---
> .../0001-libgpg-error-Add-nios2-support.patch | 45 ++++++++++++++++++++++
> .../libgpg-error/libgpg-error_1.19.bb | 4 +-
> 2 files changed, 48 insertions(+), 1 deletion(-)
> create mode 100644
> meta/recipes-support/libgpg-error/libgpg-error/0001-libgpg-error-Add-nios2-support.patch
>
> diff --git
> a/meta/recipes-support/libgpg-error/libgpg-error/0001-libgpg-error-Add-nios2-support.patch
>
> b/meta/recipes-support/libgpg-error/libgpg-error/0001-libgpg-error-Add-nios2-support.patch
> new file mode 100644
> index 0000000..8362c69
> --- /dev/null
> +++
> b/meta/recipes-support/libgpg-error/libgpg-error/0001-libgpg-error-Add-nios2-support.patch
> @@ -0,0 +1,45 @@
> +From b2af652f43991e4ce6297917da542a9eb5135939 Mon Sep 17 00:00:00 2001
> +From: Marek Vasut <[email protected]>
> +Date: Thu, 17 Sep 2015 03:28:06 +0200
> +Subject: [PATCH] libgpg-error: Add nios2 support
> +
> +Add configuration for the NIOS2 processor.
> +
> +Signed-off-by: Marek Vasut <[email protected]>
> +---
> + src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h | 23
> +++++++++++++++++++++++
> + 1 file changed, 23 insertions(+)
> + create mode 100644 src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h
> +
> +diff --git a/src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h
> b/src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h
> +new file mode 100644
> +index 0000000..3a24571
> +--- /dev/null
> ++++ b/src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h
> +@@ -0,0 +1,23 @@
> ++## lock-obj-pub.nios2-unknown-linux-gnu.h
> ++## File created by gen-posix-lock-obj - DO NOT EDIT
> ++## To be included by mkheader into gpg-error.h
> ++
how was this file generated ?
> ++typedef struct
> ++{
> ++ long _vers;
> ++ union {
> ++ volatile char _priv[24];
> ++ long _x_align;
> ++ long *_xp_align;
> ++ } u;
> ++} gpgrt_lock_t;
> ++
> ++#define GPGRT_LOCK_INITIALIZER {1,{{0,0,0,0,0,0,0,0, \
> ++ 0,0,0,0,0,0,0,0, \
> ++ 0,0,0,0,0,0,0,0}}}
> ++##
> ++## Local Variables:
> ++## mode: c
> ++## buffer-read-only: t
> ++## End:
> ++##
> +--
> +2.5.1
> +
> diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.19.bb
> b/meta/recipes-support/libgpg-error/libgpg-error_1.19.bb
> index 39dbbcf..c69930a 100644
> --- a/meta/recipes-support/libgpg-error/libgpg-error_1.19.bb
> +++ b/meta/recipes-support/libgpg-error/libgpg-error_1.19.bb
> @@ -12,7 +12,9 @@ LIC_FILES_CHKSUM =
> "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
> SECTION = "libs"
>
> SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.bz2
> \
> - file://pkgconfig.patch"
> + file://pkgconfig.patch \
> + file://0001-libgpg-error-Add-nios2-support.patch \
> + "
> SRC_URI[md5sum] = "c04c16245b92829281f43b5bef7d16da"
> SRC_URI[sha256sum] =
> "53120e1333d5c5d28d87ff2854e9e98719c8e214152f17ad5291704d25c4978b"
>
> --
> 2.1.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core