diff options
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/boost/boost-36.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-support/boost/boost-36.inc b/meta/recipes-support/boost/boost-36.inc index 3adc3ed770..bc4e750a92 100644 --- a/meta/recipes-support/boost/boost-36.inc +++ b/meta/recipes-support/boost/boost-36.inc | |||
@@ -9,7 +9,7 @@ SECTION = "libs" | |||
9 | DEPENDS = "boost-jam-native zlib" | 9 | DEPENDS = "boost-jam-native zlib" |
10 | PRIORITY = "optional" | 10 | PRIORITY = "optional" |
11 | LICENSE = "Boost" | 11 | LICENSE = "Boost" |
12 | PR = "r3" | 12 | PR = "r4" |
13 | 13 | ||
14 | ARM_INSTRUCTION_SET = "arm" | 14 | ARM_INSTRUCTION_SET = "arm" |
15 | BOOST_VER = "${@"_".join(bb.data.getVar("PV",d,1).split("."))}" | 15 | BOOST_VER = "${@"_".join(bb.data.getVar("PV",d,1).split("."))}" |
@@ -126,12 +126,14 @@ BJAM_OPTS = '${BJAM_TOOLS} \ | |||
126 | ${BJAM_EXTRA}' | 126 | ${BJAM_EXTRA}' |
127 | 127 | ||
128 | 128 | ||
129 | do_configure_prepend() { | 129 | do_boostconfig() { |
130 | cp -f boost/config/platform/linux.hpp boost/config/platform/linux-gnueabi.hpp | 130 | cp -f boost/config/platform/linux.hpp boost/config/platform/linux-gnueabi.hpp |
131 | 131 | ||
132 | echo 'using gcc : 4.3.1 : ${CXX} : compileflags -DBOOST_SP_USE_PTHREADS -I${includedir} linkflags -L${libdir} ;' >> ${S}/tools/build/v2/user-config.jam | 132 | echo 'using gcc : 4.3.1 : ${CXX} : compileflags -DBOOST_SP_USE_PTHREADS -I${includedir} linkflags -L${libdir} ;' >> ${S}/tools/build/v2/user-config.jam |
133 | } | 133 | } |
134 | 134 | ||
135 | addtask do_boostconfig after do_patch before do_configure | ||
136 | |||
135 | do_compile() { | 137 | do_compile() { |
136 | set -ex | 138 | set -ex |
137 | bjam ${BJAM_OPTS} --prefix=${prefix} \ | 139 | bjam ${BJAM_OPTS} --prefix=${prefix} \ |