diff options
author | Marek Vasut <marex@denx.de> | 2015-09-20 00:43:17 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-21 23:05:46 +0100 |
commit | 16a04f25c114837e5d309a95d3841c9399b9f417 (patch) | |
tree | 60452345f352cd9fd5a88715772222792c5c8ff1 /meta/recipes-support | |
parent | a88733677a6d809c2fca8dc5ec14c7cb4a869ea7 (diff) | |
download | openembedded-core-16a04f25c114837e5d309a95d3841c9399b9f417.tar.gz openembedded-core-16a04f25c114837e5d309a95d3841c9399b9f417.tar.bz2 openembedded-core-16a04f25c114837e5d309a95d3841c9399b9f417.zip |
libgpg-error: Add support for nios2
Add a patch which adds a configuration for the nios2 processor.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support')
-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 @@ +From b2af652f43991e4ce6297917da542a9eb5135939 Mon Sep 17 00:00:00 2001 +From: Marek Vasut <marex@denx.de> +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 <marex@denx.de> +Upstream-Status: Submitted +--- + 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 ++ ++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 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 \ 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" |