summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/boost
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-06-20 19:17:29 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-23 12:07:31 +0100
commit9633eebe1d0f487164ac0da9787e224bcb497e7f (patch)
tree9ae8b0259222741bb727cf21aa46c412a08c2c24 /meta/recipes-support/boost
parent745fffc5c2e79729bc2a574b7011ea712ed23033 (diff)
downloadpoky-9633eebe1d0f487164ac0da9787e224bcb497e7f.tar.gz
boost: Move the do_configure_prepend to a seperate task
We need to perform those actions after patch, and before configure. Otherwise a rebuild starting with configure will fail. (From OE-Core rev: 2499777a7f16e98e1e34ea22d2e6a3409e35915b) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/boost')
-rw-r--r--meta/recipes-support/boost/boost-36.inc6
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"
9DEPENDS = "boost-jam-native zlib" 9DEPENDS = "boost-jam-native zlib"
10PRIORITY = "optional" 10PRIORITY = "optional"
11LICENSE = "Boost" 11LICENSE = "Boost"
12PR = "r3" 12PR = "r4"
13 13
14ARM_INSTRUCTION_SET = "arm" 14ARM_INSTRUCTION_SET = "arm"
15BOOST_VER = "${@"_".join(bb.data.getVar("PV",d,1).split("."))}" 15BOOST_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
129do_configure_prepend() { 129do_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
135addtask do_boostconfig after do_patch before do_configure
136
135do_compile() { 137do_compile() {
136 set -ex 138 set -ex
137 bjam ${BJAM_OPTS} --prefix=${prefix} \ 139 bjam ${BJAM_OPTS} --prefix=${prefix} \