summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2019-08-30 10:53:41 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-01 22:33:07 +0100
commit00aa6a489003a856c4456197b4ae7e9c2cf41e6c (patch)
treed9916712bf9f0daf795ddd50c621d42112650b36 /meta/recipes-graphics
parent4c45bdff807173366137176b5e0b2f9884a03e48 (diff)
downloadpoky-00aa6a489003a856c4456197b4ae7e9c2cf41e6c.tar.gz
mesa: Add support for the panfrost PACKAGECONFIG
Add support to enable the Panfrost Gallium driver in PACKAGECONFIG (From OE-Core rev: 1685af76eb5d504e085a6e15fb16b902b89d857b) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 8040d78992..f916e553c9 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -125,6 +125,9 @@ PACKAGECONFIG[xa] = "-Dgallium-xa=true, -Dgallium-xa=false"
125PACKAGECONFIG[lima] = "" 125PACKAGECONFIG[lima] = ""
126GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" 126GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}"
127 127
128PACKAGECONFIG[panfrost] = ""
129GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'panfrost', ',panfrost', '', d)}"
130
128OSMESA = "${@bb.utils.contains('PACKAGECONFIG', 'gallium', 'gallium', 'classic', d)}" 131OSMESA = "${@bb.utils.contains('PACKAGECONFIG', 'gallium', 'gallium', 'classic', d)}"
129PACKAGECONFIG[osmesa] = "-Dosmesa=${OSMESA},-Dosmesa=none" 132PACKAGECONFIG[osmesa] = "-Dosmesa=${OSMESA},-Dosmesa=none"
130 133