14 lines
454 B
Plaintext
14 lines
454 B
Plaintext
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
|
|
|
SRC_URI += " \
|
|
file://icd_VSI.json \
|
|
file://0001-CMakeLists.txt-Change-the-installation-path-of-JSON-.patch \
|
|
"
|
|
|
|
do_install:append () {
|
|
install -d ${D}${sysconfdir}/vulkan/icd.d
|
|
cp ${WORKDIR}/icd_VSI.json ${D}${sysconfdir}/vulkan/icd.d
|
|
sed -i "s,/usr/lib,${libdir}," ${D}${sysconfdir}/vulkan/icd.d/icd_VSI.json
|
|
sed -i "s,1.0.30,${PV}," ${D}${sysconfdir}/vulkan/icd.d/icd_VSI.json
|
|
}
|