diff options
| -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 | ||
