Преглед на файлове

piglit: add PACKAGECONFIG for freeglut

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang преди 9 години
родител
ревизия
d563aa024d
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      meta/recipes-graphics/piglit/piglit_git.bb

+ 3 - 0
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.