[OE-core] [PATCH 1/3] piglit: add PACKAGECONFIG for freeglut

Robert Yang liezhi.yang at windriver.com
Wed Apr 1 07:53:00 UTC 2015


Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 meta/recipes-graphics/piglit/piglit_git.bb |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb
index 68ac7e7..e33e4a7 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -21,6 +21,9 @@ REQUIRED_DISTRO_FEATURES = "x11"
 # contents out of $S and $B.
 B="${S}"
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1,-DPIGLIT_USE_GLUT=0,freeglut,"
+
 # CMake sets the rpath at build time with the source tree, and will reset it at
 # install time. As we don't install this doesn't happen, so force the rpath to
 # what we need.
-- 
1.7.9.5




More information about the Openembedded-core mailing list