diff options
author | Marek Vasut <marex@denx.de> | 2015-09-20 00:43:17 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-23 09:53:09 +0100 |
commit | 554c817a7a00d409f3ec20bfe8910ced45a4ca04 (patch) | |
tree | 87e7b4b0ade1e28d905eef1a2e8067947d731dca | |
parent | 84e1100d121d9b4147bcc2ba0f5188332c8e0d93 (diff) | |
download | poky-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.patch | 46 | ||||
-rw-r--r-- | meta/recipes-support/libgpg-error/libgpg-error_1.19.bb | 4 |
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 @@ | |||
1 | From b2af652f43991e4ce6297917da542a9eb5135939 Mon Sep 17 00:00:00 2001 | ||
2 | From: Marek Vasut <marex@denx.de> | ||
3 | Date: Thu, 17 Sep 2015 03:28:06 +0200 | ||
4 | Subject: [PATCH] libgpg-error: Add nios2 support | ||
5 | |||
6 | Add configuration for the NIOS2 processor. | ||
7 | |||
8 | Signed-off-by: Marek Vasut <marex@denx.de> | ||
9 | Upstream-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 | |||
15 | diff --git a/src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h b/src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h | ||
16 | new file mode 100644 | ||
17 | index 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 | -- | ||
45 | 2.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 \ | |||
12 | SECTION = "libs" | 12 | SECTION = "libs" |
13 | 13 | ||
14 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.bz2 \ | 14 | SRC_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 | " | ||
16 | SRC_URI[md5sum] = "c04c16245b92829281f43b5bef7d16da" | 18 | SRC_URI[md5sum] = "c04c16245b92829281f43b5bef7d16da" |
17 | SRC_URI[sha256sum] = "53120e1333d5c5d28d87ff2854e9e98719c8e214152f17ad5291704d25c4978b" | 19 | SRC_URI[sha256sum] = "53120e1333d5c5d28d87ff2854e9e98719c8e214152f17ad5291704d25c4978b" |
18 | 20 | ||