diff options
Diffstat (limited to 'meta-oe/recipes-graphics/mesa/mesa-dri.inc')
-rw-r--r-- | meta-oe/recipes-graphics/mesa/mesa-dri.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/mesa/mesa-dri.inc b/meta-oe/recipes-graphics/mesa/mesa-dri.inc new file mode 100644 index 000000000..4f42b7930 --- /dev/null +++ b/meta-oe/recipes-graphics/mesa/mesa-dri.inc | |||
@@ -0,0 +1,10 @@ | |||
1 | DEPENDS += "dri2proto expat libdrm makedepend-native" | ||
2 | |||
3 | #not supported in oe-core base.bbclass | ||
4 | #FILESPATHPKG =. "mesa-${PV}:mesa:" | ||
5 | FILESPATH =. "${FILE_DIRNAME}/mesa:${FILE_DIRNAME}/mesa-${PV}:" | ||
6 | |||
7 | # most of our targets do not have DRI so will use mesa-xlib | ||
8 | DEFAULT_PREFERENCE = "-1" | ||
9 | |||
10 | EXTRA_OECONF += " --with-driver=dri --with-dri-drivers=swrast,${MACHINE_DRI_MODULES}" | ||