Skip to content

Commit e99246b

Browse files
committed
libs::libdrm: add option to enable vmwgfx
1 parent 3d5bf67 commit e99246b

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

recipes/libs/libdrm.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Config:
99
type: bool
1010
default: false
1111
help: Enable support for Intel's KMS API.
12+
LIBDRM_VMWGFX:
13+
type: bool
14+
default: false
15+
help: Enable support for vmgfx's KMS API.
1216

1317
depends:
1418
- name: libs::xorg::libpciaccess-dev
@@ -27,7 +31,7 @@ checkoutSCM:
2731
digestSHA256: 45ba9983b51c896406a3d654de81d313b953b76e6391e2797073d543c5f617d5
2832
stripComponents: 1
2933

30-
buildVars: [LIBDRM_INTEL]
34+
buildVars: [LIBDRM_INTEL, LIBDRM_VMWGFX]
3135
buildScript: |
3236
FEATURE=( disabled enabled )
3337
@@ -38,7 +42,7 @@ buildScript: |
3842
-Dradeon=disabled \
3943
-Damdgpu=disabled \
4044
-Dnouveau=disabled \
41-
-Dvmwgfx=disabled \
45+
-Dvmwgfx=${FEATURE[$LIBDRM_VMWGFX]} \
4246
-Domap=disabled \
4347
-Detnaviv=disabled \
4448
-Dexynos=disabled \

0 commit comments

Comments
 (0)