diff options
author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2019-12-30 00:12:23 -0800 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2020-01-06 03:38:01 -0800 |
commit | 12340fc54183aedf9eaa91688628fb1bddbcf450 (patch) | |
tree | 9ce78f05d6a2e5c183353cc6d030d6a5e006d688 | |
parent | 4b34f2aa3cb010b22f5ca0cc0db86893dd5c3a21 (diff) | |
download | meta-xilinx-12340fc54183aedf9eaa91688628fb1bddbcf450.tar.gz |
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 <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/recipes-support/libgpg-error/files/lock-obj-pub.microblazeel-unknown-linux-gnu.h | 23 | ||||
-rw-r--r-- | meta-xilinx-bsp/recipes-support/libgpg-error/libgpg-error_%.bbappend | 8 |
2 files changed, 31 insertions, 0 deletions
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 @@ | |||
1 | ## lock-obj-pub.microblazeel-xilinx-linux-gnu.h | ||
2 | ## File created by gen-posix-lock-obj - DO NOT EDIT | ||
3 | ## To be included by mkheader into gpg-error.h | ||
4 | |||
5 | typedef struct | ||
6 | { | ||
7 | long _vers; | ||
8 | union { | ||
9 | volatile char _priv[24]; | ||
10 | long _x_align; | ||
11 | long *_xp_align; | ||
12 | } u; | ||
13 | } gpgrt_lock_t; | ||
14 | |||
15 | #define GPGRT_LOCK_INITIALIZER {1,{{0,0,0,0,0,0,0,0, \ | ||
16 | 0,0,0,0,0,0,0,0, \ | ||
17 | 0,0,0,0,0,0,0,0}}} | ||
18 | ## | ||
19 | ## Local Variables: | ||
20 | ## mode: c | ||
21 | ## buffer-read-only: t | ||
22 | ## End: | ||
23 | ## | ||
diff --git a/meta-xilinx-bsp/recipes-support/libgpg-error/libgpg-error_%.bbappend b/meta-xilinx-bsp/recipes-support/libgpg-error/libgpg-error_%.bbappend new file mode 100644 index 00000000..7a4d1142 --- /dev/null +++ b/meta-xilinx-bsp/recipes-support/libgpg-error/libgpg-error_%.bbappend | |||
@@ -0,0 +1,8 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
2 | |||
3 | SRC_URI_append_microblaze = " file://lock-obj-pub.microblazeel-unknown-linux-gnu.h" | ||
4 | |||
5 | do_configure_append_microblaze () { | ||
6 | cp ${WORKDIR}/lock-obj-pub.microblazeel-unknown-linux-gnu.h ${S}/src/syscfg/ | ||
7 | } | ||
8 | |||