diff options
author | Ross Burton <ross.burton@intel.com> | 2017-03-24 16:09:27 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-27 08:15:06 +0100 |
commit | 85293a044f7056a64eeec5096858783788aa3db9 (patch) | |
tree | 37f4904a180b3d5f0d2f6dc62ea9d42a9007e77f | |
parent | 814e960d379ec38ab32c161e4028fde66bab0dd9 (diff) | |
download | poky-85293a044f7056a64eeec5096858783788aa3db9.tar.gz |
boost: various cleanups
Re-order some assignments to be logically arranged.
Remove the set -ex statements as they serve no purpose.
Pass --debug-configuration to see what configuration steps boost is taking.
(From OE-Core rev: 2dc4796f02ecdc99ee3c51c668e8d9090e68a655)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/boost/boost.inc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc index dcadcbcc42..4ff70e399b 100644 --- a/meta/recipes-support/boost/boost.inc +++ b/meta/recipes-support/boost/boost.inc | |||
@@ -69,7 +69,6 @@ python __anonymous () { | |||
69 | } | 69 | } |
70 | 70 | ||
71 | # Override the contents of specific packages | 71 | # Override the contents of specific packages |
72 | FILES_${PN}-graph = "${libdir}/libboost_graph.so.*" | ||
73 | FILES_${PN}-graph_parallel = "${libdir}/libboost_graph_parallel.so.*" | 72 | FILES_${PN}-graph_parallel = "${libdir}/libboost_graph_parallel.so.*" |
74 | FILES_${PN}-locale = "${libdir}/libboost_locale.so.*" | 73 | FILES_${PN}-locale = "${libdir}/libboost_locale.so.*" |
75 | FILES_${PN}-mpi = "${libdir}/mpi.so ${libdir}/libboost_mpi*.so.*" | 74 | FILES_${PN}-mpi = "${libdir}/mpi.so ${libdir}/libboost_mpi*.so.*" |
@@ -80,15 +79,15 @@ FILES_boost-test = "${libdir}/libboost_prg_exec_monitor*.so.* \ | |||
80 | 79 | ||
81 | # -dev last to pick up the remaining stuff | 80 | # -dev last to pick up the remaining stuff |
82 | PACKAGES += "${PN}-dev ${PN}-staticdev" | 81 | PACKAGES += "${PN}-dev ${PN}-staticdev" |
83 | FILES_${PN} = "" | ||
84 | FILES_${PN}-dev = "${includedir} ${libdir}/libboost_*.so" | 82 | FILES_${PN}-dev = "${includedir} ${libdir}/libboost_*.so" |
85 | FILES_${PN}-staticdev = "${libdir}/libboost_*.a" | 83 | FILES_${PN}-staticdev = "${libdir}/libboost_*.a" |
86 | 84 | ||
87 | # "boost" is a metapackage which pulls in all boost librabries | 85 | # "boost" is a metapackage which pulls in all boost librabries |
88 | PACKAGES += "${PN}" | 86 | PACKAGES += "${PN}" |
87 | FILES_${PN} = "" | ||
88 | ALLOW_EMPTY_${PN} = "1" | ||
89 | RRECOMMENDS_${PN} += "${BOOST_PACKAGES}" | 89 | RRECOMMENDS_${PN} += "${BOOST_PACKAGES}" |
90 | RRECOMMENDS_${PN}_class-native = "" | 90 | RRECOMMENDS_${PN}_class-native = "" |
91 | ALLOW_EMPTY_${PN} = "1" | ||
92 | 91 | ||
93 | # to avoid GNU_HASH QA errors added LDFLAGS to ARCH; a little bit dirty but at least it works | 92 | # to avoid GNU_HASH QA errors added LDFLAGS to ARCH; a little bit dirty but at least it works |
94 | TARGET_CC_ARCH += "${LDFLAGS}" | 93 | TARGET_CC_ARCH += "${LDFLAGS}" |
@@ -196,16 +195,15 @@ do_configure() { | |||
196 | } | 195 | } |
197 | 196 | ||
198 | do_compile() { | 197 | do_compile() { |
199 | set -ex | ||
200 | rm -rf ${S}/${TARGET_SYS} | 198 | rm -rf ${S}/${TARGET_SYS} |
201 | bjam ${BJAM_OPTS} --prefix=${prefix} \ | 199 | bjam ${BJAM_OPTS} --prefix=${prefix} \ |
202 | --exec-prefix=${exec_prefix} \ | 200 | --exec-prefix=${exec_prefix} \ |
203 | --libdir=${libdir} \ | 201 | --libdir=${libdir} \ |
204 | --includedir=${includedir} | 202 | --includedir=${includedir} \ |
203 | --debug-configuration | ||
205 | } | 204 | } |
206 | 205 | ||
207 | do_install() { | 206 | do_install() { |
208 | set -ex | ||
209 | bjam ${BJAM_OPTS} \ | 207 | bjam ${BJAM_OPTS} \ |
210 | --libdir=${D}${libdir} \ | 208 | --libdir=${D}${libdir} \ |
211 | --includedir=${D}${includedir} \ | 209 | --includedir=${D}${includedir} \ |