diff options
| -rw-r--r-- | meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.bb | 5 | ||||
| -rw-r--r-- | meta/recipes-graphics/eglinfo/eglinfo.inc | 11 |
2 files changed, 3 insertions, 13 deletions
diff --git a/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.bb b/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.bb index 65b265fcb7..455d31e872 100644 --- a/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.bb +++ b/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.bb | |||
| @@ -1,11 +1,6 @@ | |||
| 1 | EGLINFO_PLATFORM ?= "fb" | 1 | EGLINFO_PLATFORM ?= "fb" |
| 2 | EGLINFO_BINARY_NAME ?= "eglinfo-fb" | 2 | EGLINFO_BINARY_NAME ?= "eglinfo-fb" |
| 3 | 3 | ||
| 4 | # .bbappend files in BSP meta layers can add EGLINFO_DEVICE | ||
| 5 | # values if necessary. eglinfo.inc contains default values for | ||
| 6 | # the currently supported devices. | ||
| 7 | # Consult the eglinfo README.md for details | ||
| 8 | |||
| 9 | include eglinfo.inc | 4 | include eglinfo.inc |
| 10 | 5 | ||
| 11 | SUMMARY += "(Framebuffer version)" | 6 | SUMMARY += "(Framebuffer version)" |
diff --git a/meta/recipes-graphics/eglinfo/eglinfo.inc b/meta/recipes-graphics/eglinfo/eglinfo.inc index d53d0ff21e..785e7f15f3 100644 --- a/meta/recipes-graphics/eglinfo/eglinfo.inc +++ b/meta/recipes-graphics/eglinfo/eglinfo.inc | |||
| @@ -13,15 +13,10 @@ S = "${WORKDIR}/git" | |||
| 13 | 13 | ||
| 14 | inherit waf | 14 | inherit waf |
| 15 | 15 | ||
| 16 | # BSP layers should add .bbappend files for the -x11 and -fb .bb recipes, | 16 | # BSP layers should add .bbappend files for the -x11 and -fb .bb recipes, which |
| 17 | # which append the respective EGL/OpenGLES/OpenVG libraries to DEPENDS | 17 | # append the respective EGL/OpenGLES/OpenVG libraries to DEPENDS and set |
| 18 | # not doing that here, since some platforms might not have OpenGL ES or OpenVG support | 18 | # EGL_DEVICE as appropriate. |
| 19 | # (in that case, the eglinfo build scripts automatically disable the relevant code paths) | ||
| 20 | |||
| 21 | EGLINFO_DEVICE ?= "generic" | 19 | EGLINFO_DEVICE ?= "generic" |
| 22 | EGLINFO_DEVICE_raspberrypi ?= "raspberrypi" | ||
| 23 | EGLINFO_DEVICE_beagleboard ?= "beagleboard" | ||
| 24 | EGLINFO_DEVICE_mx6 ?= "imx6" | ||
| 25 | 20 | ||
| 26 | EXTRA_OECONF = "--platform=${EGLINFO_PLATFORM} \ | 21 | EXTRA_OECONF = "--platform=${EGLINFO_PLATFORM} \ |
| 27 | --device=${EGLINFO_DEVICE} \ | 22 | --device=${EGLINFO_DEVICE} \ |
