aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-04-01 00:53:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-02 12:01:41 +0100
commitd563aa024d699d253d10ee5dae53901c06503579 (patch)
tree0f4e69fe66a15b49bbb8e3e1b7eb75107e6aced3
parent32443c87b64a6dc6636a60cb8fc7fe084cc6071b (diff)
downloadopenembedded-core-master-next-1.9.zip
openembedded-core-master-next-1.9.tar.gz
openembedded-core-master-next-1.9.tar.bz2
piglit: add PACKAGECONFIG for freeglutmaster-next-1.9
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/piglit/piglit_git.bb3
1 files changed, 3 insertions, 0 deletions
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.