mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 03:46:56 +00:00
Convert to new override syntax
This is the result of automated script conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Andrei Gherzan
parent
8dc3a31088
commit
9ea7aa2cd2
@@ -1,3 +1,3 @@
|
||||
# when using userland graphic KHR/khrplatform.h is provided by userland but virtual/libgl is provided by mesa-gl where
|
||||
# we explicitly delete KHR/khrplatform.h since its already coming from userland package
|
||||
DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}"
|
||||
DEPENDS:append:rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# mesa-demos need libgles1 and userland driver does not have it
|
||||
COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', d)}"
|
||||
COMPATIBLE_HOST:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', d)}"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
PACKAGECONFIG_append_rpi = " gbm"
|
||||
PROVIDES_append_rpi = " virtual/libgbm"
|
||||
PACKAGECONFIG:append:rpi = " gbm"
|
||||
PROVIDES:append:rpi = " virtual/libgbm"
|
||||
|
||||
GALLIUMDRIVERS_append_rpi = ",swrast"
|
||||
GALLIUMDRIVERS:append:rpi = ",swrast"
|
||||
|
||||
do_install_append_rpi() {
|
||||
do_install:append:rpi() {
|
||||
rm -rf ${D}${includedir}/KHR/khrplatform.h
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
# With oe-core commit 8509e2e1a87578882b71948ccef3b50ccf1228b3 dri3 is set
|
||||
# as default. To state out clearly that Raspi needs dri3 and to avoid surprises
|
||||
# in case oe-core changes this default, we set dri3 explicitly.
|
||||
PACKAGECONFIG_append_rpi = " gallium vc4 v3d kmsro ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}"
|
||||
DRIDRIVERS_class-target_rpi = ""
|
||||
PACKAGECONFIG:append:rpi = " gallium vc4 v3d kmsro ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}"
|
||||
DRIDRIVERS:class-target:rpi = ""
|
||||
|
||||
Reference in New Issue
Block a user