Move buildroot to bsp directory.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
diff --git a/acinclude.m4 b/acinclude.m4
|
||||
index a7bc0fa..1a5bffc 100644
|
||||
--- a/acinclude.m4
|
||||
+++ b/acinclude.m4
|
||||
@@ -76,13 +76,14 @@ case "${host}" in
|
||||
i386-emx-os2 | i[3456]86-pc-os2*emx | i386-pc-msdosdjgpp)
|
||||
ac_cv_sys_symbol_underscore=yes
|
||||
;;
|
||||
- *)
|
||||
- if test "$cross_compiling" = yes; then
|
||||
- if test "x$ac_cv_sys_symbol_underscore" = x ; then
|
||||
- ac_cv_sys_symbol_underscore=yes
|
||||
- fi
|
||||
- else
|
||||
- tmp_do_check="yes"
|
||||
+ *) if test -z "$ac_cv_sys_symbol_underscore"; then
|
||||
+ if test "$cross_compiling" = yes; then
|
||||
+ if test "x$ac_cv_sys_symbol_underscore" = x ; then
|
||||
+ ac_cv_sys_symbol_underscore=yes
|
||||
+ fi
|
||||
+ else
|
||||
+ tmp_do_check="yes"
|
||||
+ fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
27
bsp/buildroot/package/libgcrypt/0002-reconfigure.patch
Normal file
27
bsp/buildroot/package/libgcrypt/0002-reconfigure.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
diff --git a/configure b/configure
|
||||
index 70a6d50..8f55d95 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -22306,14 +22306,15 @@ case "${host}" in
|
||||
i386-emx-os2 | i345686-pc-os2*emx | i386-pc-msdosdjgpp)
|
||||
ac_cv_sys_symbol_underscore=yes
|
||||
;;
|
||||
- *)
|
||||
- if test "$cross_compiling" = yes; then
|
||||
- if test "x$ac_cv_sys_symbol_underscore" = x ; then
|
||||
- ac_cv_sys_symbol_underscore=yes
|
||||
+ *)if test -z "$ac_cv_sys_symbol_underscore";then
|
||||
+ if test "$cross_compiling" = yes; then
|
||||
+ if test "x$ac_cv_sys_symbol_underscore" = x ; then
|
||||
+ ac_cv_sys_symbol_underscore=yes
|
||||
+ fi
|
||||
+ else
|
||||
+ tmp_do_check="yes"
|
||||
+ fi
|
||||
fi
|
||||
- else
|
||||
- tmp_do_check="yes"
|
||||
- fi
|
||||
;;
|
||||
esac
|
||||
if test "$tmp_do_check" = "yes"; then
|
||||
7
bsp/buildroot/package/libgcrypt/Config.in
Normal file
7
bsp/buildroot/package/libgcrypt/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_LIBGCRYPT
|
||||
bool "libgcrypt"
|
||||
select BR2_PACKAGE_LIBGPG_ERROR
|
||||
help
|
||||
LibGCrypt is GNU's basic cryptographic library.
|
||||
|
||||
http://www.gnu.org/software/libgcrypt/
|
||||
4
bsp/buildroot/package/libgcrypt/libgcrypt.hash
Normal file
4
bsp/buildroot/package/libgcrypt/libgcrypt.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From https://lists.gnupg.org/pipermail/gnupg-announce/2016q1/000384.html
|
||||
sha1 c3a5a13e717f7b3e3895650afc1b6e0d3fe9c726 libgcrypt-1.6.5.tar.bz2
|
||||
# Calculated based on the hash above
|
||||
sha256 f49ebc5842d455ae7019def33eb5a014a0f07a2a8353dc3aa50a76fd1dafa924 libgcrypt-1.6.5.tar.bz2
|
||||
33
bsp/buildroot/package/libgcrypt/libgcrypt.mk
Normal file
33
bsp/buildroot/package/libgcrypt/libgcrypt.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# libgcrypt
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBGCRYPT_VERSION = 1.6.5
|
||||
LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2
|
||||
LIBGCRYPT_LICENSE = LGPLv2.1+
|
||||
LIBGCRYPT_LICENSE_FILES = COPYING.LIB
|
||||
LIBGCRYPT_SITE = ftp://ftp.gnupg.org/gcrypt/libgcrypt
|
||||
LIBGCRYPT_INSTALL_STAGING = YES
|
||||
LIBGCRYPT_DEPENDENCIES = libgpg-error
|
||||
LIBGCRYPT_CONFIG_SCRIPTS = libgcrypt-config
|
||||
|
||||
LIBGCRYPT_CONF_ENV = \
|
||||
ac_cv_sys_symbol_underscore=no
|
||||
LIBGCRYPT_CONF_OPTS = \
|
||||
--with-gpg-error-prefix=$(STAGING_DIR)/usr
|
||||
|
||||
# Code doesn't build in thumb mode
|
||||
ifeq ($(BR2_arm),y)
|
||||
LIBGCRYPT_CONF_ENV += CFLAGS="$(patsubst -mthumb,,$(TARGET_CFLAGS))"
|
||||
endif
|
||||
|
||||
# Tests use fork()
|
||||
define LIBGCRYPT_DISABLE_TESTS
|
||||
$(SED) 's/ tests//' $(@D)/Makefile.in
|
||||
endef
|
||||
|
||||
LIBGCRYPT_POST_PATCH_HOOKS += LIBGCRYPT_DISABLE_TESTS
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user