diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-08-22 20:16:19 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-08-22 20:16:34 +0200 |
commit | 7ef17456a177d5a0e344642c06803dab04173cd6 (patch) | |
tree | 165c11fd5cfeec178f017f2696b9073395c9268c | |
parent | 423362b8014c75c5c544f03bbe17f9eb79c6f3ae (diff) |
libgpg-error: switch to buildroot way and create symlinks
13 files changed, 45 insertions, 282 deletions
diff --git a/package/libgpg-error/Makefile b/package/libgpg-error/Makefile index 6a82af05c..3efe09733 100644 --- a/package/libgpg-error/Makefile +++ b/package/libgpg-error/Makefile @@ -20,6 +20,51 @@ include ${ADK_TOPDIR}/mk/package.mk $(eval $(call PKG_template,LIBGPG_ERROR,libgpg-error,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +ifeq ($(ADK_TARGET_ARCH_AARCH64),y) +LIBGPG_PREFIX:= aarch64-unknown-linux-gnu +endif +ifeq ($(ADK_TARGET_ARCH_ARM),y) +LIBGPG_PREFIX:= arm-unknown-linux-gnueabi +endif +ifeq ($(ADK_TARGET_ARCH_M68K),y) +LIBGPG_PREFIX:= m68k-unknown-linux-gnu +endif +ifeq ($(ADK_TARGET_ARCH_MIPS),y) +LIBGPG_PREFIX:= mips-unknown-linux-gnu +endif +ifeq ($(ADK_TARGET_ARCH_MIPS64),y) +LIBGPG_PREFIX:= mips64el-unknown-linux-gnuabi64 +endif +ifeq ($(ADK_TARGET_ARCH_NIOS2),y) +LIBGPG_PREFIX:= nios2-unknown-linux-gnu +endif +ifeq ($(ADK_TARGET_ARCH_PPC),y) +LIBGPG_PREFIX:= powerpc-unknown-linux-gnu +endif +ifeq ($(ADK_TARGET_ARCH_PPC64),y) +LIBGPG_PREFIX:= powerpc64-unknown-linux-gnu +endif +ifeq ($(ADK_TARGET_ARCH_SH),y) +LIBGPG_PREFIX:= sh4-unknown-linux-gnu +endif +ifeq ($(ADK_TARGET_ARCH_SPARC),y) +LIBGPG_PREFIX:= sparc-unknown-linux-gnu +endif +ifeq ($(ADK_TARGET_ARCH_SPARC64),y) +LIBGPG_PREFIX:= sparc64-unknown-linux-gnu +endif +ifeq ($(ADK_TARGET_ARCH_X86),y) +LIBGPG_PREFIX:= i686-pc-linux-gnu +endif +ifeq ($(ADK_TARGET_ARCH_X86_64),y) +LIBGPG_PREFIX:= x86_64-pc-linux-gnu +endif + +post-extract: + cd $(WRKSRC)/src/syscfg && \ + ln -s lock-obj-pub.$(LIBGPG_PREFIX).h \ + lock-obj-pub.$(GNU_TARGET_NAME).h + libgpg-error-install: ${INSTALL_DIR} ${IDIR_LIBGPG_ERROR}/usr/lib ${CP} ${WRKINST}/usr/lib/libgpg-error.so* \ diff --git a/package/libgpg-error/src/src/syscfg/lock-obj-pub.arm-openadk-linux-gnueabi.h b/package/libgpg-error/src/src/syscfg/lock-obj-pub.arm-openadk-linux-gnueabi.h deleted file mode 100644 index 7a92276dc..000000000 --- a/package/libgpg-error/src/src/syscfg/lock-obj-pub.arm-openadk-linux-gnueabi.h +++ /dev/null @@ -1,23 +0,0 @@ -## lock-obj-pub.arm-unknown-linux-gnueabi.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: -## diff --git a/package/libgpg-error/src/src/syscfg/lock-obj-pub.arm-openadk-linux-gnueabihf.h b/package/libgpg-error/src/src/syscfg/lock-obj-pub.arm-openadk-linux-gnueabihf.h deleted file mode 100644 index 66364000d..000000000 --- a/package/libgpg-error/src/src/syscfg/lock-obj-pub.arm-openadk-linux-gnueabihf.h +++ /dev/null @@ -1,23 +0,0 @@ -## lock-obj-pub.arm-unknown-linux-gnueabihf.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: -## diff --git a/package/libgpg-error/src/src/syscfg/lock-obj-pub.arm-openadk-linux-uclibceabi.h b/package/libgpg-error/src/src/syscfg/lock-obj-pub.arm-openadk-linux-uclibceabi.h deleted file mode 100644 index 7a92276dc..000000000 --- a/package/libgpg-error/src/src/syscfg/lock-obj-pub.arm-openadk-linux-uclibceabi.h +++ /dev/null @@ -1,23 +0,0 @@ -## lock-obj-pub.arm-unknown-linux-gnueabi.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: -## diff --git a/package/libgpg-error/src/src/syscfg/lock-obj-pub.arm-openadk-linux-uclibceabihf.h b/package/libgpg-error/src/src/syscfg/lock-obj-pub.arm-openadk-linux-uclibceabihf.h deleted file mode 100644 index 66364000d..000000000 --- a/package/libgpg-error/src/src/syscfg/lock-obj-pub.arm-openadk-linux-uclibceabihf.h +++ /dev/null @@ -1,23 +0,0 @@ -## lock-obj-pub.arm-unknown-linux-gnueabihf.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: -## diff --git a/package/libgpg-error/src/src/syscfg/lock-obj-pub.i686-openadk-linux-gnu.h b/package/libgpg-error/src/src/syscfg/lock-obj-pub.i686-openadk-linux-gnu.h deleted file mode 100644 index b97273b40..000000000 --- a/package/libgpg-error/src/src/syscfg/lock-obj-pub.i686-openadk-linux-gnu.h +++ /dev/null @@ -1,23 +0,0 @@ -## lock-obj-pub.i686-pc-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: -## diff --git a/package/libgpg-error/src/src/syscfg/lock-obj-pub.i686-openadk-linux-uclibc.h b/package/libgpg-error/src/src/syscfg/lock-obj-pub.i686-openadk-linux-uclibc.h deleted file mode 100644 index b97273b40..000000000 --- a/package/libgpg-error/src/src/syscfg/lock-obj-pub.i686-openadk-linux-uclibc.h +++ /dev/null @@ -1,23 +0,0 @@ -## lock-obj-pub.i686-pc-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: -## diff --git a/package/libgpg-error/src/src/syscfg/lock-obj-pub.linux-musleabihf.h b/package/libgpg-error/src/src/syscfg/lock-obj-pub.linux-musleabihf.h deleted file mode 100644 index 66364000d..000000000 --- a/package/libgpg-error/src/src/syscfg/lock-obj-pub.linux-musleabihf.h +++ /dev/null @@ -1,23 +0,0 @@ -## lock-obj-pub.arm-unknown-linux-gnueabihf.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: -## diff --git a/package/libgpg-error/src/src/syscfg/lock-obj-pub.mips-openadk-linux-uclibc.h b/package/libgpg-error/src/src/syscfg/lock-obj-pub.mips-openadk-linux-uclibc.h deleted file mode 100644 index b31206ea0..000000000 --- a/package/libgpg-error/src/src/syscfg/lock-obj-pub.mips-openadk-linux-uclibc.h +++ /dev/null @@ -1,23 +0,0 @@ -## lock-obj-pub.mips-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: -## diff --git a/package/libgpg-error/src/src/syscfg/lock-obj-pub.mips64-openadk-linux-uclibc.h b/package/libgpg-error/src/src/syscfg/lock-obj-pub.mips64-openadk-linux-uclibc.h deleted file mode 100644 index 8a81e3faa..000000000 --- a/package/libgpg-error/src/src/syscfg/lock-obj-pub.mips64-openadk-linux-uclibc.h +++ /dev/null @@ -1,25 +0,0 @@ -## lock-obj-pub.mips64el-unknown-linux-gnuabi64.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[40]; - 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, \ - 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: -## diff --git a/package/libgpg-error/src/src/syscfg/lock-obj-pub.mips64el-openadk-linux-uclibc.h b/package/libgpg-error/src/src/syscfg/lock-obj-pub.mips64el-openadk-linux-uclibc.h deleted file mode 100644 index 8a81e3faa..000000000 --- a/package/libgpg-error/src/src/syscfg/lock-obj-pub.mips64el-openadk-linux-uclibc.h +++ /dev/null @@ -1,25 +0,0 @@ -## lock-obj-pub.mips64el-unknown-linux-gnuabi64.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[40]; - 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, \ - 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: -## diff --git a/package/libgpg-error/src/src/syscfg/lock-obj-pub.mipsel-openadk-linux-uclibc.h b/package/libgpg-error/src/src/syscfg/lock-obj-pub.mipsel-openadk-linux-uclibc.h deleted file mode 100644 index 3a2457165..000000000 --- a/package/libgpg-error/src/src/syscfg/lock-obj-pub.mipsel-openadk-linux-uclibc.h +++ /dev/null @@ -1,23 +0,0 @@ -## lock-obj-pub.mipsel-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: -## diff --git a/package/libgpg-error/src/src/syscfg/lock-obj-pub.x86_64-openadk-linux-uclibc.h b/package/libgpg-error/src/src/syscfg/lock-obj-pub.x86_64-openadk-linux-uclibc.h deleted file mode 100644 index 0dd6431d2..000000000 --- a/package/libgpg-error/src/src/syscfg/lock-obj-pub.x86_64-openadk-linux-uclibc.h +++ /dev/null @@ -1,25 +0,0 @@ -## lock-obj-pub.x86_64-pc-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[40]; - 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, \ - 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: -## |