diff options
author | Bedel, Alban <alban.bedel@aerq.com> | 2019-08-15 12:37:28 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-30 16:44:42 +0100 |
commit | 5743d1591b43de91e02da43b505b90c7ebbc5fd4 (patch) | |
tree | c4ff9f0555746b291c83c49e773914f963b87cef /meta | |
parent | b472d5bf26900871eb33c92d32ddca79bb0b73e6 (diff) | |
download | poky-5743d1591b43de91e02da43b505b90c7ebbc5fd4.tar.gz |
boost: Fix build and enable context and coroutines on aarch64
Like for ARM bjam need some hints about the ABI to properly build on
aarch64. While at it also enable context and coroutine as these are
supported on aarch64.
(From OE-Core rev: 219befc2dad0c6df171f46725c995ce0038fa4f8)
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/boost/boost.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc index 9be3717fd6..c2e2cbb352 100644 --- a/meta/recipes-support/boost/boost.inc +++ b/meta/recipes-support/boost/boost.inc | |||
@@ -33,6 +33,7 @@ BOOST_LIBS_append_x86 = " context coroutine" | |||
33 | BOOST_LIBS_append_x86-64 = " context coroutine" | 33 | BOOST_LIBS_append_x86-64 = " context coroutine" |
34 | BOOST_LIBS_append_powerpc = " context coroutine" | 34 | BOOST_LIBS_append_powerpc = " context coroutine" |
35 | BOOST_LIBS_append_arm = " context coroutine" | 35 | BOOST_LIBS_append_arm = " context coroutine" |
36 | BOOST_LIBS_append_aarch64 = " context coroutine" | ||
36 | # need consistent settings for native builds (x86 override not applied for native) | 37 | # need consistent settings for native builds (x86 override not applied for native) |
37 | BOOST_LIBS_remove_class-native = " context coroutine" | 38 | BOOST_LIBS_remove_class-native = " context coroutine" |
38 | # does not compile | 39 | # does not compile |
@@ -151,6 +152,7 @@ BJAM_OPTS_append_x86-x32 = " abi=x32 address-model=64" | |||
151 | 152 | ||
152 | # cross compiling for arm fails to detect abi, so provide some help | 153 | # cross compiling for arm fails to detect abi, so provide some help |
153 | BJAM_OPTS_append_arm = " abi=aapcs architecture=arm" | 154 | BJAM_OPTS_append_arm = " abi=aapcs architecture=arm" |
155 | BJAM_OPTS_append_aarch64 = " abi=aapcs address-model=64 architecture=arm" | ||
154 | 156 | ||
155 | do_configure() { | 157 | do_configure() { |
156 | cp -f ${S}/boost/config/platform/linux.hpp ${S}/boost/config/platform/linux-gnueabi.hpp | 158 | cp -f ${S}/boost/config/platform/linux.hpp ${S}/boost/config/platform/linux-gnueabi.hpp |