mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-12-14 22:45:40 +01:00
opencl-icd-loader: Add .cmake and cllayerinfo to install
The .cmake files are missing from the package install. To fix this, use the source install as the base of do_install. The source install also adds cllayerinfo and OpenCL.pc as compared to the base recipe. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This commit is contained in:
parent
d0bd511f5f
commit
b5b310e3dc
|
|
@ -1,10 +1,25 @@
|
|||
do_install:append() {
|
||||
install -d ${D}${libdir}/pkgconfig
|
||||
install -m 0644 ${B}/OpenCL.pc ${D}${libdir}/pkgconfig
|
||||
do_install() {
|
||||
if [ "${OECMAKE_TARGET_INSTALL}" = "install" ]; then
|
||||
DESTDIR='${D}' cmake_runcmake_install
|
||||
else
|
||||
# Legacy path which supports also custom install targets
|
||||
DESTDIR='${D}' cmake_runcmake_build --target ${OECMAKE_TARGET_INSTALL}
|
||||
fi
|
||||
install -m 0755 ${B}/icd_loader_test ${D}${bindir}/
|
||||
chrpath -d ${D}${bindir}/icd_loader_test
|
||||
install -m 0644 ${B}/libIcdLog.so ${D}${libdir}/
|
||||
install -m 0644 ${B}/libOpenCLDriverStub.so ${D}${libdir}/
|
||||
chrpath -d ${D}${libdir}/libOpenCLDriverStub.so
|
||||
}
|
||||
|
||||
FILES:${PN} += " \
|
||||
${bindir}/* \
|
||||
"
|
||||
|
||||
FILES:${PN}-dev += " \
|
||||
${libdir}/pkgconfig \
|
||||
${libdir}/cmake \
|
||||
${datadir}/cmake \
|
||||
"
|
||||
|
||||
# Enable mali-imx ICD implementation
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user