Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
Remove explicit mips64 -mabi parameter
|
||||
|
||||
This breaks when building for n32 ABI on mips64.
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
|
||||
diff -Nuar Botan-1.10.8-orig/src/build-data/cc/gcc.txt Botan-1.10.8/src/build-data/cc/gcc.txt
|
||||
--- Botan-1.10.8-orig/src/build-data/cc/gcc.txt 2014-04-10 17:11:44.000000000 +0300
|
||||
+++ Botan-1.10.8/src/build-data/cc/gcc.txt 2014-10-23 09:20:34.506722323 +0300
|
||||
@@ -92,7 +92,6 @@
|
||||
# The 'linking' bit means "use this for both compiling *and* linking"
|
||||
<mach_abi_linking>
|
||||
x86_64 -> "-m64"
|
||||
-mips64 -> "-mabi=64"
|
||||
s390 -> "-m31"
|
||||
s390x -> "-m64"
|
||||
sparc32 -> "-m32 -mno-app-regs"
|
||||
20
deprecated/firmware/buildroot/package/botan/Config.in
Normal file
20
deprecated/firmware/buildroot/package/botan/Config.in
Normal file
@@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_m68k || \
|
||||
BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
|
||||
BR2_powerpc || BR2_powerpc64 || BR2_sparc || BR2_sh || \
|
||||
BR2_x86_64
|
||||
|
||||
config BR2_PACKAGE_BOTAN
|
||||
bool "botan"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
|
||||
help
|
||||
Botan is a crypto library for C++
|
||||
|
||||
http://botan.randombit.net
|
||||
|
||||
comment "botan needs a toolchain w/ C++, threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
|
||||
2
deprecated/firmware/buildroot/package/botan/botan.hash
Normal file
2
deprecated/firmware/buildroot/package/botan/botan.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 c2cdb47a8b1ac2368de5b9c51a8fab2a72a5641fbc1afd1abe81d5c6e4197420 Botan-1.10.8.tgz
|
||||
62
deprecated/firmware/buildroot/package/botan/botan.mk
Normal file
62
deprecated/firmware/buildroot/package/botan/botan.mk
Normal file
@@ -0,0 +1,62 @@
|
||||
################################################################################
|
||||
#
|
||||
# botan
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BOTAN_VERSION = 1.10.8
|
||||
BOTAN_SOURCE = Botan-$(BOTAN_VERSION).tgz
|
||||
BOTAN_SITE = http://files.randombit.net/botan
|
||||
BOTAN_LICENSE = BSD-2c
|
||||
BOTAN_LICENSE_FILES = doc/license.txt
|
||||
|
||||
BOTAN_INSTALL_STAGING = YES
|
||||
|
||||
BOTAN_CONF_OPTS = \
|
||||
--cpu=$(BR2_ARCH) \
|
||||
--os=linux \
|
||||
--cc=gcc \
|
||||
--cc-bin="$(TARGET_CXX)" \
|
||||
--prefix=/usr
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
BOTAN_CONF_OPTS += --disable-shared --no-autoload
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
||||
BOTAN_DEPENDENCIES += bzip2
|
||||
BOTAN_CONF_OPTS += --with-bzip2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GMP),y)
|
||||
BOTAN_DEPENDENCIES += gmp
|
||||
BOTAN_CONF_OPTS += --with-gnump
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
BOTAN_DEPENDENCIES += openssl
|
||||
BOTAN_CONF_OPTS += --with-openssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
BOTAN_DEPENDENCIES += zlib
|
||||
BOTAN_CONF_OPTS += --with-zlib
|
||||
endif
|
||||
|
||||
define BOTAN_CONFIGURE_CMDS
|
||||
(cd $(@D); ./configure.py $(BOTAN_CONF_OPTS))
|
||||
endef
|
||||
|
||||
define BOTAN_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) AR="$(TARGET_AR) crs"
|
||||
endef
|
||||
|
||||
define BOTAN_INSTALL_STAGING_CMDS
|
||||
$(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)/usr" install
|
||||
endef
|
||||
|
||||
define BOTAN_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)/usr" install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user