]> code.ossystems Code Review - openembedded-core.git/commitdiff
piglit: add PACKAGECONFIG for freeglut
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 1 Apr 2015 07:53:00 +0000 (00:53 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Apr 2015 19:36:03 +0000 (20:36 +0100)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/piglit/piglit_git.bb

index 68ac7e76770606c2a1cf4406f5f5fc025e4c5613..e33e4a7237100ac7b3e451370204f1ebc9220b7e 100644 (file)
@@ -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.