initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
From a53f3fd64a0f36ec9bc1307d7e66cdc2dee4aeaa Mon Sep 17 00:00:00 2001
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Tue, 4 Aug 2015 10:14:00 +0200
|
||||
Subject: [PATCH] poco: add the staging path to search path
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Add the mysql headers and client libraries to the search path of the
|
||||
preprocessor and the linker. The $MYSQL_LIBDIR / $MYSQL_INCIDR variables
|
||||
must be set from the make command line.
|
||||
|
||||
[Peter: Remove host dirs, add MYSQL_INCDIR]
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
[Jörg: Update to version 1.6.1 from github]
|
||||
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
[Julien: Rebased on version 1.10.1]
|
||||
Signed-off-by: Julien Olivain <juju@cotds.org>
|
||||
---
|
||||
Data/MySQL/Makefile | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Data/MySQL/Makefile b/Data/MySQL/Makefile
|
||||
index 64a7d3f82..955fee2d4 100644
|
||||
--- a/Data/MySQL/Makefile
|
||||
+++ b/Data/MySQL/Makefile
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
include $(POCO_BASE)/build/rules/global
|
||||
|
||||
-SYSLIBS += -L/usr/local/lib -L/usr/local/lib$(LIB64SUFFIX)/mysql -L/usr/lib$(LIB64SUFFIX)/mysql -L/usr/mysql/lib$(LIB64SUFFIX) -L/usr/mysql/lib$(LIB64SUFFIX)/mysql -L/usr/local/mysql/lib$(LIB64SUFFIX) -lmysqlclient
|
||||
-INCLUDE += -I/usr/local/include/mysql/ -I/usr/include/mysql/ -I/usr/mysql/include/mysql -I/usr/local/mysql/include
|
||||
+SYSLIBS += -L$(MYSQL_LIBDIR) -lmysqlclient
|
||||
+INCLUDE += -I$(MYSQL_INCDIR)
|
||||
SYSFLAGS += -DTHREADSAFE -DNO_TCL
|
||||
|
||||
objects = Binder Extractor SessionImpl Connector \
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From 221e308ad452035f4c1dc25e194f817a30f38f7b Mon Sep 17 00:00:00 2001
|
||||
From: Jochen Sprickerhof <github@jochen.sprickerhof.de>
|
||||
Date: Wed, 23 Aug 2017 16:50:51 +0200
|
||||
Subject: [PATCH] Add support for m68000 (#1856)
|
||||
|
||||
Originally taken from
|
||||
|
||||
https://github.com/google/double-conversion/commit/da11179623145f53b204105a93b8bbca431141da
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
[Julien: rebased on version 1.10.1]
|
||||
Signed-off-by: Julien Olivain <juju@cotds.org>
|
||||
---
|
||||
Foundation/src/utils.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/Foundation/src/utils.h b/Foundation/src/utils.h
|
||||
index c87cee13c..e891c0f10 100644
|
||||
--- a/Foundation/src/utils.h
|
||||
+++ b/Foundation/src/utils.h
|
||||
@@ -66,6 +66,8 @@
|
||||
defined(__AARCH64EL__) || \
|
||||
defined(nios2) || defined(__nios2) || defined(__nios2__)
|
||||
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
|
||||
+#elif defined(__mc68000__)
|
||||
+#undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS
|
||||
#elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
|
||||
#if defined(_WIN32)
|
||||
// Windows uses a 64bit wide floating point stack.
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
From fe7d230da03a35725ef768c07ce064324f941863 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sun, 1 Jul 2018 15:37:47 +0200
|
||||
Subject: [PATCH] Foundation/src/utils.h: backport double-conversion change for
|
||||
AArch64 BE support
|
||||
|
||||
This commit, identical to upstream double-conversion commit
|
||||
https://github.com/google/double-conversion/commit/cb2beeb6771025377c665d1c3ea08388bc6e619a
|
||||
allows Poco to build on AArch64 big-endian.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Upstream: https://github.com/pocoproject/poco/pull/2378
|
||||
[Julien: rebased on version 1.10.1]
|
||||
Signed-off-by: Julien Olivain <juju@cotds.org>
|
||||
---
|
||||
Foundation/src/utils.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Foundation/src/utils.h b/Foundation/src/utils.h
|
||||
index e891c0f10..892f7db18 100644
|
||||
--- a/Foundation/src/utils.h
|
||||
+++ b/Foundation/src/utils.h
|
||||
@@ -63,7 +63,7 @@
|
||||
defined(__SH4__) || defined(__alpha__) || \
|
||||
defined(_MIPS_ARCH_MIPS32R2) || \
|
||||
defined(__riscv) || \
|
||||
- defined(__AARCH64EL__) || \
|
||||
+ defined(__AARCH64EL__) || defined(__aarch64__) || \
|
||||
defined(nios2) || defined(__nios2) || defined(__nios2__)
|
||||
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
|
||||
#elif defined(__mc68000__)
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
config BR2_PACKAGE_POCO_ARCH_SUPPORTS
|
||||
bool
|
||||
default y
|
||||
depends on !BR2_arc
|
||||
depends on !BR2_microblaze
|
||||
depends on !BR2_mipsel
|
||||
depends on !BR2_or1k
|
||||
depends on !BR2_RISCV_32
|
||||
depends on !BR2_xtensa
|
||||
|
||||
config BR2_PACKAGE_POCO
|
||||
bool "poco"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14
|
||||
# pthread_condattr_setclock
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on !BR2_STATIC_LIBS # dlopen()
|
||||
depends on BR2_PACKAGE_POCO_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_PCRE
|
||||
help
|
||||
The C++ Portable Components Libraries
|
||||
|
||||
http://pocoproject.org
|
||||
|
||||
if BR2_PACKAGE_POCO
|
||||
|
||||
comment "poco components"
|
||||
|
||||
config BR2_PACKAGE_POCO_JSON
|
||||
bool "json"
|
||||
|
||||
config BR2_PACKAGE_POCO_XML
|
||||
bool "xml"
|
||||
select BR2_PACKAGE_EXPAT
|
||||
|
||||
config BR2_PACKAGE_POCO_UTIL
|
||||
bool "util"
|
||||
select BR2_PACKAGE_POCO_XML
|
||||
|
||||
config BR2_PACKAGE_POCO_NET
|
||||
bool "net"
|
||||
|
||||
config BR2_PACKAGE_POCO_CRYPTO
|
||||
bool "crypto"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
|
||||
|
||||
config BR2_PACKAGE_POCO_NETSSL_OPENSSL
|
||||
bool "netssl_openssl"
|
||||
select BR2_PACKAGE_POCO_NET
|
||||
select BR2_PACKAGE_POCO_CRYPTO
|
||||
select BR2_PACKAGE_POCO_UTIL
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
|
||||
config BR2_PACKAGE_POCO_ZIP
|
||||
bool "zip"
|
||||
select BR2_PACKAGE_POCO_XML
|
||||
select BR2_PACKAGE_POCO_NET
|
||||
select BR2_PACKAGE_POCO_UTIL
|
||||
|
||||
config BR2_PACKAGE_POCO_CPP_PARSER
|
||||
bool "cpp_parser"
|
||||
|
||||
config BR2_PACKAGE_POCO_PDF
|
||||
bool "pdf"
|
||||
select BR2_PACKAGE_POCO_JSON
|
||||
select BR2_PACKAGE_POCO_UTIL
|
||||
select BR2_PACKAGE_POCO_XML
|
||||
|
||||
config BR2_PACKAGE_POCO_REDIS
|
||||
bool "redis"
|
||||
select BR2_PACKAGE_POCO_NET
|
||||
|
||||
config BR2_PACKAGE_POCO_MONGODB
|
||||
bool "mongodb"
|
||||
select BR2_PACKAGE_POCO_NET
|
||||
|
||||
config BR2_PACKAGE_POCO_DATA
|
||||
bool
|
||||
|
||||
config BR2_PACKAGE_POCO_DATA_SQLITE
|
||||
bool "sqlite"
|
||||
select BR2_PACKAGE_POCO_DATA
|
||||
select BR2_PACKAGE_SQLITE
|
||||
|
||||
config BR2_PACKAGE_POCO_DATA_MYSQL
|
||||
bool "mysql"
|
||||
depends on BR2_USE_MMU # mysql
|
||||
select BR2_PACKAGE_POCO_DATA
|
||||
select BR2_PACKAGE_MYSQL
|
||||
|
||||
config BR2_PACKAGE_POCO_JWT
|
||||
bool "jwt"
|
||||
select BR2_PACKAGE_POCO_JSON
|
||||
select BR2_PACKAGE_POCO_CRYPTO
|
||||
|
||||
endif # BR2_PACKAGE_POCO
|
||||
|
||||
comment "poco needs a toolchain w/ wchar, NPTL, C++, dynamic library, gcc >= 5 w/ C++14"
|
||||
depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP \
|
||||
|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
|
||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
||||
depends on BR2_PACKAGE_POCO_ARCH_SUPPORTS
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 44592a488d2830c0b4f3bfe4ae41f0c46abbfad49828d938714444e858a00818 poco-1.10.1.tar.gz
|
||||
sha256 c4b1e1e5f36d8331737231fefcc30f5714326aec7c387ad59a8115eb0ba7d6b5 LICENSE
|
||||
@@ -0,0 +1,90 @@
|
||||
################################################################################
|
||||
#
|
||||
# poco
|
||||
#
|
||||
################################################################################
|
||||
|
||||
POCO_VERSION = 1.10.1
|
||||
POCO_SITE = $(call github,pocoproject,poco,poco-$(POCO_VERSION)-release)
|
||||
POCO_LICENSE = BSL-1.0
|
||||
POCO_LICENSE_FILES = LICENSE
|
||||
POCO_CPE_ID_VENDOR = pocoproject
|
||||
POCO_INSTALL_STAGING = YES
|
||||
|
||||
POCO_DEPENDENCIES = zlib pcre \
|
||||
$(if $(BR2_PACKAGE_POCO_XML),expat) \
|
||||
$(if $(BR2_PACKAGE_POCO_CRYPTO),openssl) \
|
||||
$(if $(BR2_PACKAGE_POCO_NETSSL_OPENSSL),openssl) \
|
||||
$(if $(BR2_PACKAGE_POCO_DATA_SQLITE),sqlite) \
|
||||
$(if $(BR2_PACKAGE_POCO_DATA_MYSQL),mysql)
|
||||
|
||||
POCO_OMIT = Data/ODBC PageCompiler \
|
||||
$(if $(BR2_PACKAGE_POCO_JSON),,JSON) \
|
||||
$(if $(BR2_PACKAGE_POCO_XML),,XML) \
|
||||
$(if $(BR2_PACKAGE_POCO_UTIL),,Util) \
|
||||
$(if $(BR2_PACKAGE_POCO_NET),,Net) \
|
||||
$(if $(BR2_PACKAGE_POCO_NETSSL_OPENSSL),,NetSSL_OpenSSL) \
|
||||
$(if $(BR2_PACKAGE_POCO_CRYPTO),,Crypto) \
|
||||
$(if $(BR2_PACKAGE_POCO_ZIP),,Zip) \
|
||||
$(if $(BR2_PACKAGE_POCO_CPP_PARSER),,CppParser) \
|
||||
$(if $(BR2_PACKAGE_POCO_PDF),,PDF) \
|
||||
$(if $(BR2_PACKAGE_POCO_REDIS),,Redis) \
|
||||
$(if $(BR2_PACKAGE_POCO_MONGODB),,MongoDB) \
|
||||
$(if $(BR2_PACKAGE_POCO_DATA),,Data) \
|
||||
$(if $(BR2_PACKAGE_POCO_DATA_MYSQL),,Data/MySQL) \
|
||||
$(if $(BR2_PACKAGE_POCO_DATA_SQLITE),,Data/SQLite) \
|
||||
$(if $(BR2_PACKAGE_POCO_JWT),,JWT)
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
||||
POCO_CONF_OPTS += --no-fpenvironment --no-wstring
|
||||
endif
|
||||
|
||||
# architectures missing some FE_* in their fenv.h
|
||||
ifeq ($(BR2_sh4a)$(BR2_nios2),y)
|
||||
POCO_CONF_OPTS += --no-fpenvironment
|
||||
endif
|
||||
|
||||
# disable fpenvironment for soft floating point configuration
|
||||
ifeq ($(BR2_SOFT_FLOAT),y)
|
||||
POCO_CONF_OPTS += --no-fpenvironment
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
POCO_MAKE_TARGET = static_release
|
||||
else ifeq ($(BR2_SHARED_LIBS),y)
|
||||
POCO_MAKE_TARGET = shared_release
|
||||
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
||||
POCO_MAKE_TARGET = all_release
|
||||
endif
|
||||
|
||||
define POCO_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) ./configure \
|
||||
--config=Linux \
|
||||
--prefix=/usr \
|
||||
--cflags=-std=c++14 \
|
||||
--omit="$(POCO_OMIT)" \
|
||||
$(POCO_CONF_OPTS) \
|
||||
--unbundled \
|
||||
--no-tests \
|
||||
--no-samples)
|
||||
endef
|
||||
|
||||
# Use $(MAKE1) to avoid failures on heavilly parallel machines (e.g. -j25)
|
||||
define POCO_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) POCO_TARGET_OSARCH=$(ARCH) CROSS_COMPILE=$(TARGET_CROSS) \
|
||||
MYSQL_LIBDIR=$(STAGING_DIR)/usr/lib/mysql \
|
||||
MYSQL_INCDIR=$(STAGING_DIR)/usr/include/mysql \
|
||||
DEFAULT_TARGET=$(POCO_MAKE_TARGET) -C $(@D)
|
||||
endef
|
||||
|
||||
define POCO_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(STAGING_DIR) POCO_TARGET_OSARCH=$(ARCH) \
|
||||
DEFAULT_TARGET=$(POCO_MAKE_TARGET) install -C $(@D)
|
||||
endef
|
||||
|
||||
define POCO_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) POCO_TARGET_OSARCH=$(ARCH) \
|
||||
DEFAULT_TARGET=$(POCO_MAKE_TARGET) install -C $(@D)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user