diff options
-rw-r--r-- | meta/recipes-support/boost/bjam-native_1.53.0.bb | 15 | ||||
-rw-r--r-- | meta/recipes-support/boost/boost-1.53.0.inc | 19 | ||||
-rw-r--r-- | meta/recipes-support/boost/boost.inc | 49 | ||||
-rw-r--r-- | meta/recipes-support/boost/boost_1.53.0.bb | 6 |
4 files changed, 40 insertions, 49 deletions
diff --git a/meta/recipes-support/boost/bjam-native_1.53.0.bb b/meta/recipes-support/boost/bjam-native_1.53.0.bb new file mode 100644 index 0000000000..59a031032c --- /dev/null +++ b/meta/recipes-support/boost/bjam-native_1.53.0.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | include boost-${PV}.inc | ||
2 | |||
3 | DESCRIPTION = "Portable Boost.Jam build tool for boost" | ||
4 | SECTION = "devel" | ||
5 | |||
6 | inherit native | ||
7 | |||
8 | do_compile() { | ||
9 | ./bootstrap.sh --with-toolset=gcc | ||
10 | } | ||
11 | |||
12 | do_install() { | ||
13 | install -d ${D}${bindir}/ | ||
14 | install -c -m 755 bjam ${D}${bindir}/ | ||
15 | } | ||
diff --git a/meta/recipes-support/boost/boost-1.53.0.inc b/meta/recipes-support/boost/boost-1.53.0.inc new file mode 100644 index 0000000000..dbcaabcd10 --- /dev/null +++ b/meta/recipes-support/boost/boost-1.53.0.inc | |||
@@ -0,0 +1,19 @@ | |||
1 | # The Boost web site provides free peer-reviewed portable | ||
2 | # C++ source libraries. The emphasis is on libraries which | ||
3 | # work well with the C++ Standard Library. The libraries are | ||
4 | # intended to be widely useful, and are in regular use by | ||
5 | # thousands of programmers across a broad spectrum of applications. | ||
6 | HOMEPAGE = "http://www.boost.org/" | ||
7 | LICENSE = "BSL-1.0 & MIT & Python-2.0" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c" | ||
9 | |||
10 | BOOST_VER = "${@"_".join(d.getVar("PV",1).split("."))}" | ||
11 | BOOST_MAJ = "${@"_".join(d.getVar("PV",1).split(".")[0:2])}" | ||
12 | BOOST_P = "boost_${BOOST_VER}" | ||
13 | |||
14 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BOOST_P}.tar.bz2" | ||
15 | |||
16 | SRC_URI[md5sum] = "a00d22605d5dbcfb4c9936a9b35bc4c2" | ||
17 | SRC_URI[sha256sum] = "f88a041b01882b0c9c5c05b39603ec8383fb881f772f6f9e6e6fd0e0cddb9196" | ||
18 | |||
19 | S = "${WORKDIR}/${BOOST_P}" | ||
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc index 1266666e30..a1c35c7b95 100644 --- a/meta/recipes-support/boost/boost.inc +++ b/meta/recipes-support/boost/boost.inc | |||
@@ -1,25 +1,9 @@ | |||
1 | # The Boost web site provides free peer-reviewed portable | ||
2 | # C++ source libraries. The emphasis is on libraries which | ||
3 | # work well with the C++ Standard Library. The libraries are | ||
4 | # intended to be widely useful, and are in regular use by | ||
5 | # thousands of programmers across a broad spectrum of applications. | ||
6 | DESCRIPTION = "Free peer-reviewed portable C++ source libraries" | 1 | DESCRIPTION = "Free peer-reviewed portable C++ source libraries" |
7 | HOMEPAGE = "http://www.boost.org/" | ||
8 | SECTION = "libs" | 2 | SECTION = "libs" |
9 | DEPENDS = "boost-native zlib bzip2" | 3 | DEPENDS = "bjam-native zlib bzip2" |
10 | DEPENDS_class-native = "" | ||
11 | LICENSE = "BSL-1.0 & MIT & Python-2.0" | ||
12 | 4 | ||
13 | ARM_INSTRUCTION_SET = "arm" | 5 | ARM_INSTRUCTION_SET = "arm" |
14 | 6 | ||
15 | BOOST_VER = "${@"_".join(d.getVar("PV",1).split("."))}" | ||
16 | BOOST_MAJ = "${@"_".join(d.getVar("PV",1).split(".")[0:2])}" | ||
17 | BOOST_P = "boost_${BOOST_VER}" | ||
18 | |||
19 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BOOST_P}.tar.bz2" | ||
20 | |||
21 | S = "${WORKDIR}/${BOOST_P}" | ||
22 | |||
23 | BOOST_LIBS = "\ | 7 | BOOST_LIBS = "\ |
24 | date_time \ | 8 | date_time \ |
25 | filesystem \ | 9 | filesystem \ |
@@ -126,6 +110,8 @@ BJAM_OPTS = '${PARALLEL_MAKE} \ | |||
126 | --disable-icu \ | 110 | --disable-icu \ |
127 | ${BJAM_EXTRA}' | 111 | ${BJAM_EXTRA}' |
128 | 112 | ||
113 | # Native compilation of bzip2 isn't working | ||
114 | BJAM_OPTS_append_class-native = ' -sNO_BZIP2=1' | ||
129 | 115 | ||
130 | do_boostconfig() { | 116 | do_boostconfig() { |
131 | cp -f boost/config/platform/linux.hpp boost/config/platform/linux-gnueabi.hpp | 117 | cp -f boost/config/platform/linux.hpp boost/config/platform/linux-gnueabi.hpp |
@@ -138,7 +124,7 @@ do_boostconfig() { | |||
138 | 124 | ||
139 | echo "using python : ${PYTHON_VERSION} : : ${STAGING_INCDIR}/python${PYTHON_VERSION} ;" >> ${S}/tools/build/v2/user-config.jam | 125 | echo "using python : ${PYTHON_VERSION} : : ${STAGING_INCDIR}/python${PYTHON_VERSION} ;" >> ${S}/tools/build/v2/user-config.jam |
140 | 126 | ||
141 | CC="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" ./bootstrap.sh --with-toolset=gcc --with-python-root=${PYTHON_ROOT} | 127 | CC="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" ./bootstrap.sh --with-bjam=bjam --with-toolset=gcc --with-python-root=${PYTHON_ROOT} |
142 | sed -i '/^using python/d' project-config.jam | 128 | sed -i '/^using python/d' project-config.jam |
143 | } | 129 | } |
144 | 130 | ||
@@ -170,30 +156,3 @@ do_install() { | |||
170 | } | 156 | } |
171 | 157 | ||
172 | BBCLASSEXTEND = "native" | 158 | BBCLASSEXTEND = "native" |
173 | |||
174 | do_configure_class-native() { | ||
175 | : | ||
176 | } | ||
177 | |||
178 | do_boostconfig_class-native() { | ||
179 | : | ||
180 | } | ||
181 | |||
182 | do_compile_class-native() { | ||
183 | set -ex | ||
184 | cd ${S}/tools/build/v2/engine | ||
185 | rm -rf bin.* | ||
186 | ./build.sh gcc | ||
187 | } | ||
188 | |||
189 | # This is too terrible - the build script doesn't give any good | ||
190 | # way I can see to find out where the binaries are placed, so | ||
191 | # rely on only one bin.foo directory being created. | ||
192 | do_install_class-native () { | ||
193 | set -ex | ||
194 | cd ${S}/tools/build/v2/engine | ||
195 | install -d ${D}${bindir}/ | ||
196 | install -c -m 755 bin.*/bjam ${D}${bindir}/ | ||
197 | } | ||
198 | |||
199 | |||
diff --git a/meta/recipes-support/boost/boost_1.53.0.bb b/meta/recipes-support/boost/boost_1.53.0.bb index de721c532f..3a5a6cc386 100644 --- a/meta/recipes-support/boost/boost_1.53.0.bb +++ b/meta/recipes-support/boost/boost_1.53.0.bb | |||
@@ -1,9 +1,7 @@ | |||
1 | include boost-${PV}.inc | ||
1 | include boost.inc | 2 | include boost.inc |
2 | 3 | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c" | 4 | PR = "r1" |
4 | 5 | ||
5 | SRC_URI += "file://arm-intrinsics.patch \ | 6 | SRC_URI += "file://arm-intrinsics.patch \ |
6 | " | 7 | " |
7 | |||
8 | SRC_URI[md5sum] = "a00d22605d5dbcfb4c9936a9b35bc4c2" | ||
9 | SRC_URI[sha256sum] = "f88a041b01882b0c9c5c05b39603ec8383fb881f772f6f9e6e6fd0e0cddb9196" | ||