From 12340fc54183aedf9eaa91688628fb1bddbcf450 Mon Sep 17 00:00:00 2001 From: Manjukumar Matha Date: Mon, 30 Dec 2019 00:12:23 -0800 Subject: libgpg-error: Add microblaze platform specific gpg-error.h file Add support for microblaze by generating the platform specific gpg-error.h file. This was generated based on a patch from Nathan Rossi, using qemu_wrapper_cmdline, more detials on patch can be found here https://github.com/nathanrossi/meta-xilinx/commit/107f4564041c64a68bb3250f4c5f96bd9d257aaf Signed-off-by: Manjukumar Matha --- .../lock-obj-pub.microblazeel-unknown-linux-gnu.h | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-xilinx-bsp/recipes-support/libgpg-error/files/lock-obj-pub.microblazeel-unknown-linux-gnu.h (limited to 'meta-xilinx-bsp/recipes-support/libgpg-error/files/lock-obj-pub.microblazeel-unknown-linux-gnu.h') diff --git a/meta-xilinx-bsp/recipes-support/libgpg-error/files/lock-obj-pub.microblazeel-unknown-linux-gnu.h b/meta-xilinx-bsp/recipes-support/libgpg-error/files/lock-obj-pub.microblazeel-unknown-linux-gnu.h new file mode 100644 index 00000000..9843f4d9 --- /dev/null +++ b/meta-xilinx-bsp/recipes-support/libgpg-error/files/lock-obj-pub.microblazeel-unknown-linux-gnu.h @@ -0,0 +1,23 @@ +## lock-obj-pub.microblazeel-xilinx-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: +## -- cgit v1.2.3-54-g00ecf