summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-09-20 00:43:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-23 09:53:09 +0100
commit554c817a7a00d409f3ec20bfe8910ced45a4ca04 (patch)
tree87e7b4b0ade1e28d905eef1a2e8067947d731dca
parent84e1100d121d9b4147bcc2ba0f5188332c8e0d93 (diff)
downloadpoky-554c817a7a00d409f3ec20bfe8910ced45a4ca04.tar.gz
libgpg-error: Add support for nios2
Add a patch which adds a configuration for the nios2 processor. (From OE-Core rev: 16a04f25c114837e5d309a95d3841c9399b9f417) Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error/0001-libgpg-error-Add-nios2-support.patch46
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error_1.19.bb4
2 files changed, 49 insertions, 1 deletions
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 0000000000..dab1c13b6e
--- /dev/null
+++ b/meta/recipes-support/libgpg-error/libgpg-error/0001-libgpg-error-Add-nios2-support.patch
@@ -0,0 +1,46 @@
1From b2af652f43991e4ce6297917da542a9eb5135939 Mon Sep 17 00:00:00 2001
2From: Marek Vasut <marex@denx.de>
3Date: Thu, 17 Sep 2015 03:28:06 +0200
4Subject: [PATCH] libgpg-error: Add nios2 support
5
6Add configuration for the NIOS2 processor.
7
8Signed-off-by: Marek Vasut <marex@denx.de>
9Upstream-Status: Submitted
10---
11 src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h | 23 +++++++++++++++++++++++
12 1 file changed, 23 insertions(+)
13 create mode 100644 src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h
14
15diff --git a/src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h b/src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h
16new file mode 100644
17index 0000000..3a24571
18--- /dev/null
19+++ b/src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h
20@@ -0,0 +1,23 @@
21+## lock-obj-pub.nios2-unknown-linux-gnu.h
22+## File created by gen-posix-lock-obj - DO NOT EDIT
23+## To be included by mkheader into gpg-error.h
24+
25+typedef struct
26+{
27+ long _vers;
28+ union {
29+ volatile char _priv[24];
30+ long _x_align;
31+ long *_xp_align;
32+ } u;
33+} gpgrt_lock_t;
34+
35+#define GPGRT_LOCK_INITIALIZER {1,{{0,0,0,0,0,0,0,0, \
36+ 0,0,0,0,0,0,0,0, \
37+ 0,0,0,0,0,0,0,0}}}
38+##
39+## Local Variables:
40+## mode: c
41+## buffer-read-only: t
42+## End:
43+##
44--
452.5.1
46
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 39dbbcf337..c69930a92a 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 \
12SECTION = "libs" 12SECTION = "libs"
13 13
14SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.bz2 \ 14SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.bz2 \
15 file://pkgconfig.patch" 15 file://pkgconfig.patch \
16 file://0001-libgpg-error-Add-nios2-support.patch \
17 "
16SRC_URI[md5sum] = "c04c16245b92829281f43b5bef7d16da" 18SRC_URI[md5sum] = "c04c16245b92829281f43b5bef7d16da"
17SRC_URI[sha256sum] = "53120e1333d5c5d28d87ff2854e9e98719c8e214152f17ad5291704d25c4978b" 19SRC_URI[sha256sum] = "53120e1333d5c5d28d87ff2854e9e98719c8e214152f17ad5291704d25c4978b"
18 20