Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -1,45 +0,0 @@
|
||||
From 4f1c6784b37a11c78fe84bb238fb7cc377ce0d36 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
|
||||
Date: Wed, 30 Mar 2016 23:28:33 +0200
|
||||
Subject: [PATCH] Fix for uClibc and gcc <= 4.8.2
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
getchar() is defined as a macro in uClibc. This hits gcc bug 58952 [1] for all
|
||||
gcc version <= 4.8.2 and building boost/test fails:
|
||||
|
||||
./boost/test/impl/unit_test_main.ipp: In function 'int boost::unit_test::unit_test_main(boost::unit_test::init_unit_test_func, int, char**)':
|
||||
./boost/test/impl/unit_test_main.ipp:194:18: error: expected unqualified-id before '(' token
|
||||
|
||||
To allow building boost/test with uClibc based toolchains with gcc <= 4.8.2 use
|
||||
parenthesis for std::getchar.
|
||||
|
||||
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58952
|
||||
|
||||
Upstream status: Pending
|
||||
https://github.com/boostorg/test/pull/97
|
||||
|
||||
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
---
|
||||
include/boost/test/impl/unit_test_main.ipp | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/boost/test/impl/unit_test_main.ipp b/boost/test/impl/unit_test_main.ipp
|
||||
index 1f30c02..db61930 100644
|
||||
--- a/boost/test/impl/unit_test_main.ipp
|
||||
+++ b/boost/test/impl/unit_test_main.ipp
|
||||
@@ -191,7 +191,9 @@ unit_test_main( init_unit_test_func init_func, int argc, char* argv[] )
|
||||
if( runtime_config::get<bool>( runtime_config::WAIT_FOR_DEBUGGER ) ) {
|
||||
results_reporter::get_stream() << "Press any key to continue..." << std::endl;
|
||||
|
||||
- std::getchar();
|
||||
+ // getchar is defined as a macro in uClibc. Use parenthesis to fix
|
||||
+ // gcc bug 58952 for gcc <= 4.8.2.
|
||||
+ (std::getchar)();
|
||||
results_reporter::get_stream() << "Continuing..." << std::endl;
|
||||
}
|
||||
|
||||
--
|
||||
2.7.4
|
||||
|
||||
26
bsp/buildroot/package/boost/0004-workaround-musl-bug.patch
Normal file
26
bsp/buildroot/package/boost/0004-workaround-musl-bug.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
From 0506e46640989e1f919388ad36890bd6063cd43a Mon Sep 17 00:00:00 2001
|
||||
From: Zach van Rijn <me@zv.io>
|
||||
Date: Sat, 26 Aug 2017 01:32:56 -0400
|
||||
Subject: [PATCH] explicitly include <string.h> for memset()
|
||||
|
||||
[Thomas: taken from
|
||||
https://github.com/boostorg/fiber/pull/142/commits/0506e46640989e1f919388ad36890bd6063cd43a. It
|
||||
is not going to be applied upstream because the actual bug is in musl,
|
||||
but it's a good enough workaround for now.]
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
libs/fiber/src/numa/linux/pin_thread.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/libs/fiber/src/numa/linux/pin_thread.cpp b/libs/fiber/src/numa/linux/pin_thread.cpp
|
||||
index ae696be3..e9b3c423 100644
|
||||
--- a/libs/fiber/src/numa/linux/pin_thread.cpp
|
||||
+++ b/libs/fiber/src/numa/linux/pin_thread.cpp
|
||||
@@ -9,6 +9,7 @@
|
||||
extern "C" {
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
+#include <string.h>
|
||||
}
|
||||
|
||||
#include <system_error>
|
||||
32
bsp/buildroot/package/boost/0005-fix-build-with-g-5.patch
Normal file
32
bsp/buildroot/package/boost/0005-fix-build-with-g-5.patch
Normal file
@@ -0,0 +1,32 @@
|
||||
From da2793fcde5c4e3ff448b4b21348ef8b1482c678 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Tue, 16 Jan 2018 14:51:32 +0100
|
||||
Subject: [PATCH] fix build with g++5
|
||||
|
||||
Patch needed to build domoticz
|
||||
|
||||
Patch fetch from one of the answer of
|
||||
https://github.com/domoticz/domoticz/issues/2034:
|
||||
workaround suggested to the boost developers
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
boost/asio/detail/consuming_buffers.hpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/boost/asio/detail/consuming_buffers.hpp b/boost/asio/detail/consuming_buffers.hpp
|
||||
index a429f97..b7a887c 100644
|
||||
--- a/boost/asio/detail/consuming_buffers.hpp
|
||||
+++ b/boost/asio/detail/consuming_buffers.hpp
|
||||
@@ -102,7 +102,7 @@ public:
|
||||
|
||||
std::advance(next, next_elem_);
|
||||
std::size_t elem_offset = next_elem_offset_;
|
||||
- while (next != end && max_size > 0 && result.count < result.max_buffers)
|
||||
+ while (next != end && max_size > 0 && (result.count) < result.max_buffers)
|
||||
{
|
||||
Buffer next_buf = Buffer(*next) + elem_offset;
|
||||
result.elems[result.count] = boost::asio::buffer(next_buf, max_size);
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -52,12 +52,18 @@ config BR2_PACKAGE_BOOST_LAYOUT
|
||||
|
||||
config BR2_PACKAGE_BOOST_ATOMIC
|
||||
bool "boost-atomic"
|
||||
help
|
||||
C++11-style atomic<>.
|
||||
|
||||
config BR2_PACKAGE_BOOST_CHRONO
|
||||
bool "boost-chrono"
|
||||
help
|
||||
Useful time utilities. C++11.
|
||||
|
||||
config BR2_PACKAGE_BOOST_CONTAINER
|
||||
bool "boost-container"
|
||||
help
|
||||
Standard library containers and extensions.
|
||||
|
||||
# see
|
||||
# http://www.boost.org/doc/libs/1_59_0/libs/context/doc/html/context/architectures.html
|
||||
@@ -67,38 +73,87 @@ config BR2_PACKAGE_BOOST_CONTEXT
|
||||
bool "boost-context"
|
||||
depends on ((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) || \
|
||||
BR2_i386 || BR2_mips || BR2_mipsel || BR2_powerpc || BR2_x86_64
|
||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
help
|
||||
C++11 context switching library.
|
||||
|
||||
config BR2_PACKAGE_BOOST_COROUTINE
|
||||
bool "boost-coroutine"
|
||||
depends on BR2_PACKAGE_BOOST_CONTEXT
|
||||
|
||||
config BR2_PACKAGE_BOOST_COROUTINE2
|
||||
bool "boost-coroutine2"
|
||||
depends on BR2_PACKAGE_BOOST_CONTEXT
|
||||
help
|
||||
deprecated coroutine library, the non-depricated coroutine2
|
||||
library is a header-only library and does not need to be
|
||||
selected.
|
||||
|
||||
config BR2_PACKAGE_BOOST_DATE_TIME
|
||||
bool "boost-date_time"
|
||||
help
|
||||
A set of date-time libraries based on generic programming
|
||||
concepts.
|
||||
|
||||
config BR2_PACKAGE_BOOST_EXCEPTION
|
||||
bool "boost-exception"
|
||||
help
|
||||
The Boost Exception library supports transporting of arbitrary
|
||||
data in exception objects, and transporting of exceptions
|
||||
between threads.
|
||||
|
||||
config BR2_PACKAGE_BOOST_FIBER
|
||||
bool "boost-fiber"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
# mips support uses the "pause" instruction, only available
|
||||
# since mips32r2/mips64r2.
|
||||
depends on !BR2_MIPS_CPU_MIPS32 && !BR2_MIPS_CPU_MIPS64
|
||||
help
|
||||
C++11 userland threads library.
|
||||
|
||||
comment "boost-fiber needs a toolchain w/ NPTL"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
|
||||
config BR2_PACKAGE_BOOST_FILESYSTEM
|
||||
bool "boost-filesystem"
|
||||
help
|
||||
The Boost Filesystem Library provides portable facilities to
|
||||
query and manipulate paths, files, and directories.
|
||||
|
||||
config BR2_PACKAGE_BOOST_GRAPH
|
||||
bool "boost-graph"
|
||||
help
|
||||
The BGL graph interface and graph components are generic, in
|
||||
the same sense as the the Standard Template Library (STL).
|
||||
|
||||
config BR2_PACKAGE_BOOST_GRAPH_PARALLEL
|
||||
bool "boost-graph_parallel"
|
||||
help
|
||||
The PBGL graph interface and graph components are generic, in
|
||||
the same sense as the the Standard Template Library (STL).
|
||||
|
||||
config BR2_PACKAGE_BOOST_IOSTREAMS
|
||||
bool "boost-iostreams"
|
||||
select BR2_PACKAGE_BZIP2
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
Boost.IOStreams provides a framework for defining streams,
|
||||
stream buffers and i/o filters.
|
||||
|
||||
config BR2_PACKAGE_BOOST_LOCALE
|
||||
bool "boost-locale"
|
||||
# When boost-locale is enabled with icu support, Boost no
|
||||
# longer supports building the libboost_* libraries as static
|
||||
# libraries, causing build failures when other boost features
|
||||
# than boost-locale are enabled. To work around this, we
|
||||
# prevent using boost-locale on static linking configurations
|
||||
# with icu enabled. See
|
||||
# https://svn.boost.org/trac/boost/ticket/9685 for more
|
||||
# details.
|
||||
depends on !(BR2_STATIC_LIBS && BR2_PACKAGE_ICU)
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
help
|
||||
Provide localization and Unicode handling tools for C++.
|
||||
|
||||
comment "boost-locale needs a toolchain w/ dynamic library"
|
||||
depends on BR2_PACKAGE_ICU
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
config BR2_PACKAGE_BOOST_LOG
|
||||
bool "boost-log"
|
||||
@@ -106,6 +161,8 @@ config BR2_PACKAGE_BOOST_LOG
|
||||
# for some reason, uClibc on PowerPC fails to build the boost
|
||||
# log module
|
||||
depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
|
||||
help
|
||||
Logging library.
|
||||
|
||||
comment "boost-log needs a toolchain w/ NPTL"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
@@ -113,54 +170,118 @@ comment "boost-log needs a toolchain w/ NPTL"
|
||||
|
||||
config BR2_PACKAGE_BOOST_MATH
|
||||
bool "boost-math"
|
||||
help
|
||||
Boost.Math includes several contributions in the domain of
|
||||
mathematics:
|
||||
|
||||
config BR2_PACKAGE_BOOST_METAPARSE
|
||||
depends on BR2_USE_MMU # boost-test
|
||||
select BR2_PACKAGE_BOOST_TEST
|
||||
bool "boost-metaparse"
|
||||
The Greatest Common Divisor and Least Common
|
||||
Multiple library provides run-time and compile-time evaluation
|
||||
of the greatest common divisor (GCD) or least common multiple
|
||||
(LCM) of two integers.
|
||||
|
||||
The Special Functions library currently provides eight
|
||||
templated special functions, in namespace boost.
|
||||
|
||||
The Complex Number Inverse Trigonometric Functions are the
|
||||
inverses of trigonometric functions currently present in the
|
||||
C++ standard.
|
||||
|
||||
Quaternions are a relative of complex numbers often used to
|
||||
parameterise rotations in three dimentional space.
|
||||
|
||||
Octonions, like quaternions, are a relative of complex
|
||||
numbers.
|
||||
|
||||
config BR2_PACKAGE_BOOST_MPI
|
||||
bool "boost-mpi"
|
||||
help
|
||||
Message Passing Interface library, for use in
|
||||
distributed-memory parallel application programming.
|
||||
|
||||
config BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
|
||||
bool "boost-program_options"
|
||||
help
|
||||
The program_options library allows program developers to
|
||||
obtain program options, that is (name, value) pairs from the
|
||||
user, via conventional methods such as command line and config
|
||||
file.
|
||||
|
||||
config BR2_PACKAGE_BOOST_PYTHON
|
||||
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
||||
bool "boost-python"
|
||||
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
||||
help
|
||||
The Boost Python Library is a framework for interfacing Python
|
||||
and C++. It allows you to quickly and seamlessly expose C++
|
||||
classes functions and objects to Python, and vice-versa,
|
||||
using no special tools -- just your C++ compiler.
|
||||
|
||||
config BR2_PACKAGE_BOOST_RANDOM
|
||||
bool "boost-random"
|
||||
help
|
||||
A complete system for random number generation.
|
||||
|
||||
config BR2_PACKAGE_BOOST_REGEX
|
||||
bool "boost-regex"
|
||||
help
|
||||
A new infrastructure for generic algorithms that builds on top
|
||||
of the new iterator concepts.
|
||||
|
||||
config BR2_PACKAGE_BOOST_SERIALIZATION
|
||||
bool "boost-serialization"
|
||||
help
|
||||
Serialization for persistence and marshalling.
|
||||
|
||||
config BR2_PACKAGE_BOOST_SIGNALS
|
||||
bool "boost-signals"
|
||||
help
|
||||
Managed signals & slots callback implementation.
|
||||
|
||||
config BR2_PACKAGE_BOOST_STACKTRACE
|
||||
bool "boost-stacktrace"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
Gather, store, copy and print backtraces.
|
||||
|
||||
comment "boost-stacktrace needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
config BR2_PACKAGE_BOOST_SYSTEM
|
||||
bool "boost-system"
|
||||
help
|
||||
Operating system support, including the diagnostics support
|
||||
that will be part of the C++0x standard library.
|
||||
|
||||
config BR2_PACKAGE_BOOST_TEST
|
||||
bool "boost-test"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Support for simple program testing, full unit testing, and for
|
||||
program execution monitoring.
|
||||
|
||||
config BR2_PACKAGE_BOOST_THREAD
|
||||
bool "boost-thread"
|
||||
help
|
||||
Portable C++ multi-threading. C++11, C++14.
|
||||
|
||||
config BR2_PACKAGE_BOOST_TIMER
|
||||
bool "boost-timer"
|
||||
help
|
||||
Event timer, progress timer, and progress display classes.
|
||||
|
||||
config BR2_PACKAGE_BOOST_TYPE_ERASURE
|
||||
bool "boost-type_erasure"
|
||||
help
|
||||
Runtime polymorphism based on concepts.
|
||||
|
||||
config BR2_PACKAGE_BOOST_WAVE
|
||||
bool "boost-wave"
|
||||
# limitation of assembler for coldfire
|
||||
# error: Tried to convert PC relative branch to absolute jump
|
||||
depends on !BR2_m68k_cf
|
||||
help
|
||||
The Boost.Wave library is a Standards conformant, and highly
|
||||
configurable implementation of the mandated C99/C++
|
||||
preprocessor functionality packed behind an easy to use
|
||||
iterator interface.
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# From http://sourceforge.net/projects/boost/files/boost/1.61.0/
|
||||
md5 6095876341956f65f9d35939ccea1a9f boost_1_61_0.tar.bz2
|
||||
sha1 f84b1a1ce764108ec3c2b7bd7704cf8dfd3c9d01 boost_1_61_0.tar.bz2
|
||||
# From http://www.boost.org/users/history/version_1_66_0.html
|
||||
sha256 5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9 boost_1_66_0.tar.bz2
|
||||
|
||||
# Locally computed
|
||||
sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE_1_0.txt
|
||||
|
||||
@@ -4,19 +4,19 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BOOST_VERSION = 1.61.0
|
||||
BOOST_VERSION = 1.66.0
|
||||
BOOST_SOURCE = boost_$(subst .,_,$(BOOST_VERSION)).tar.bz2
|
||||
BOOST_SITE = http://downloads.sourceforge.net/project/boost/boost/$(BOOST_VERSION)
|
||||
BOOST_INSTALL_STAGING = YES
|
||||
BOOST_LICENSE = Boost Software License 1.0
|
||||
BOOST_LICENSE = BSL-1.0
|
||||
BOOST_LICENSE_FILES = LICENSE_1_0.txt
|
||||
|
||||
# keep host variant as minimal as possible
|
||||
HOST_BOOST_FLAGS = --without-icu \
|
||||
HOST_BOOST_FLAGS = --without-icu --with-toolset=gcc \
|
||||
--without-libraries=$(subst $(space),$(comma),atomic chrono context \
|
||||
coroutine coroutine2 date_time exception filesystem graph \
|
||||
graph_parallel iostreams locale log math mpi program_options python \
|
||||
random regex serialization signals system test thread timer type_erasure \
|
||||
coroutine date_time exception filesystem graph graph_parallel iostreams \
|
||||
locale log math mpi program_options python random regex serialization \
|
||||
signals system test thread timer type_erasure \
|
||||
wave)
|
||||
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic)
|
||||
@@ -24,9 +24,9 @@ BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHRONO),,chrono)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTAINER),,container)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTEXT),,context)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_COROUTINE),,coroutine)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_COROUTINE2),,coroutine2)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_DATE_TIME),,date_time)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_EXCEPTION),,exception)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_FIBER),,fiber)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_FILESYSTEM),,filesystem)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_GRAPH),,graph)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_GRAPH_PARALLEL),,graph_parallel)
|
||||
@@ -34,7 +34,6 @@ BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_IOSTREAMS),,iostreams)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_LOCALE),,locale)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_LOG),,log)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_MATH),,math)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_METAPARSE),,metaparse)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_MPI),,mpi)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_PROGRAM_OPTIONS),,program_options)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_PYTHON),,python)
|
||||
@@ -42,6 +41,7 @@ BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_RANDOM),,random)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_REGEX),,regex)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SERIALIZATION),,serialization)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SIGNALS),,signals)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_STACKTRACE),,stacktrace)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SYSTEM),,system)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TEST),,test)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_THREAD),,thread)
|
||||
@@ -51,6 +51,8 @@ BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_WAVE),,wave)
|
||||
|
||||
BOOST_TARGET_CXXFLAGS = $(TARGET_CXXFLAGS)
|
||||
|
||||
BOOST_FLAGS = --with-toolset=gcc
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ICU),y)
|
||||
BOOST_FLAGS += --with-icu=$(STAGING_DIR)/usr
|
||||
BOOST_DEPENDENCIES += icu
|
||||
@@ -65,11 +67,11 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_BOOST_PYTHON),y)
|
||||
BOOST_FLAGS += --with-python-root=$(HOST_DIR)
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||
BOOST_FLAGS += --with-python=$(HOST_DIR)/usr/bin/python$(PYTHON3_VERSION_MAJOR)
|
||||
BOOST_FLAGS += --with-python=$(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR)
|
||||
BOOST_TARGET_CXXFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR)m
|
||||
BOOST_DEPENDENCIES += python3
|
||||
else
|
||||
BOOST_FLAGS += --with-python=$(HOST_DIR)/usr/bin/python$(PYTHON_VERSION_MAJOR)
|
||||
BOOST_FLAGS += --with-python=$(HOST_DIR)/bin/python$(PYTHON_VERSION_MAJOR)
|
||||
BOOST_TARGET_CXXFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
|
||||
BOOST_DEPENDENCIES += python
|
||||
endif
|
||||
@@ -167,14 +169,14 @@ define HOST_BOOST_BUILD_CMDS
|
||||
--user-config=$(@D)/user-config.jam \
|
||||
$(HOST_BOOST_OPTS) \
|
||||
--ignore-site-config \
|
||||
--prefix=$(HOST_DIR)/usr )
|
||||
--prefix=$(HOST_DIR) )
|
||||
endef
|
||||
|
||||
define HOST_BOOST_INSTALL_CMDS
|
||||
(cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \
|
||||
--user-config=$(@D)/user-config.jam \
|
||||
$(HOST_BOOST_OPTS) \
|
||||
--prefix=$(HOST_DIR)/usr \
|
||||
--prefix=$(HOST_DIR) \
|
||||
--ignore-site-config \
|
||||
--layout=$(BOOST_LAYOUT) install )
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user