mirror of
https://github.com/Freescale/meta-freescale-distro.git
synced 2025-10-22 23:13:02 +02:00
imx-gpu-sdk: Add missing headers to image SDK
OE-core does not add -dev packages to the SDK for recipes with an empty main package. Work around this issue by adding a runtime dependency on any such recipes. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This commit is contained in:
parent
876fbd0c2b
commit
cdf2af2ba3
|
@ -105,10 +105,31 @@ FILES_${PN} += "/opt/${PN}"
|
|||
FILES_${PN}-dbg += "/opt/${PN}/*/*/.debug /usr/src/debug"
|
||||
INSANE_SKIP_${PN} += "already-stripped rpaths"
|
||||
|
||||
# Unfortunately recipes with an empty main package, like header-only libraries,
|
||||
# are not included in the SDK. Use RDEPENDS as a workaround.
|
||||
# NOTE: rapidvulkan also has an empty main package, but it is added through
|
||||
# RDEPENDS_VULKAN since we need to exclude it from 8M Mini.
|
||||
RDEPENDS_EMPTY_MAIN_PACKAGE = " \
|
||||
fmt \
|
||||
gli \
|
||||
glm \
|
||||
googletest \
|
||||
half \
|
||||
rapidjson \
|
||||
stb \
|
||||
"
|
||||
RDEPENDS_EMPTY_MAIN_PACKAGE_append_mx8 = " \
|
||||
rapidopencl \
|
||||
rapidopenvx \
|
||||
"
|
||||
RDEPENDS_VULKAN = ""
|
||||
RDEPENDS_VULKAN_mx8 = "vulkan-loader"
|
||||
RDEPENDS_VULKAN_mx8 = "vulkan-loader rapidvulkan"
|
||||
RDEPENDS_VULKAN_mx8mm = ""
|
||||
RDEPENDS_${PN} += "${RDEPENDS_VULKAN} googletest"
|
||||
|
||||
RDEPENDS_${PN} += " \
|
||||
${RDEPENDS_EMPTY_MAIN_PACKAGE} \
|
||||
${RDEPENDS_VULKAN} \
|
||||
"
|
||||
|
||||
# For backwards compatibility
|
||||
RPROVIDES_${PN} = "fsl-gpu-sdk"
|
||||
|
|
Loading…
Reference in New Issue
Block a user