diff options
-rw-r--r-- | meta-oe/recipes-support/tbb/tbb.bb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/tbb/tbb.bb b/meta-oe/recipes-support/tbb/tbb.bb index f870104015..911139b0da 100644 --- a/meta-oe/recipes-support/tbb/tbb.bb +++ b/meta-oe/recipes-support/tbb/tbb.bb | |||
@@ -27,11 +27,14 @@ do_compile() { | |||
27 | } | 27 | } |
28 | 28 | ||
29 | do_install() { | 29 | do_install() { |
30 | install -d ${D}${includedir} ${D}${libdir}/pkgconfig | 30 | install -d ${D}${includedir} ${D}${libdir} |
31 | rm ${S}/include/tbb/index.html -f | 31 | rm ${S}/include/tbb/index.html -f |
32 | cp -R --no-dereference --preserve=mode,links -v ${S}/include/tbb ${D}${includedir} | 32 | cp -R --no-dereference --preserve=mode,links -v ${S}/include/tbb ${D}${includedir} |
33 | install -m 0755 ${B}/build/linux_*_release/lib*.so* ${D}${libdir} | 33 | for f in ${B}/build/linux_*_release/lib*.so* |
34 | install -m 0644 ${WORKDIR}/tbb.pc ${D}${libdir}/pkgconfig | 34 | do |
35 | install -Dm 0755 $f ${D}${libdir}/ | ||
36 | done | ||
37 | install -Dm 0644 ${WORKDIR}/tbb.pc ${D}${libdir}/pkgconfig/tbb.pc | ||
35 | } | 38 | } |
36 | 39 | ||
37 | # fails with thumb enabled: | 40 | # fails with thumb enabled: |