[oe-commits] Robert Yang : piglit: add PACKAGECONFIG for freeglut
git at git.openembedded.org
git at git.openembedded.org
Wed Apr 8 09:54:14 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: b500d5581d2ab802eb8e7de640b5ab253f01c3f6
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b500d5581d2ab802eb8e7de640b5ab253f01c3f6
Author: Robert Yang <liezhi.yang at windriver.com>
Date: Wed Apr 1 00:53:00 2015 -0700
piglit: add PACKAGECONFIG for freeglut
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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.
More information about the Openembedded-commits
mailing list