diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-03-18 13:28:22 -0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-03-23 21:49:02 +0100 |
commit | 3a41db396dcf787a2167dad101cd2ebf084c5ee0 (patch) | |
tree | bdd4062363f71432e3fc56fd0243c5e080beb6d1 /meta-oe/recipes-benchmark | |
parent | dee876f0e5a6412ba3e6bd7ab778761bd6491850 (diff) | |
download | meta-openembedded-3a41db396dcf787a2167dad101cd2ebf084c5ee0.tar.gz |
glmark2: Rework recipe to use the 'waf' class
This removes the duplicated code and uses the OE-Core waf class.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark')
-rw-r--r-- | meta-oe/recipes-benchmark/glmark2/glmark2_2012.12.bb | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_2012.12.bb b/meta-oe/recipes-benchmark/glmark2/glmark2_2012.12.bb index 9edee149f..031e3b3d4 100644 --- a/meta-oe/recipes-benchmark/glmark2/glmark2_2012.12.bb +++ b/meta-oe/recipes-benchmark/glmark2/glmark2_2012.12.bb | |||
@@ -15,21 +15,9 @@ SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz" | |||
15 | SRC_URI[md5sum] = "4f306664aa3886fa0cf93853603603f8" | 15 | SRC_URI[md5sum] = "4f306664aa3886fa0cf93853603603f8" |
16 | SRC_URI[sha256sum] = "bea6f9de2cdce376195bd91e4a2fdfdf80bf3e480abff8e05b90a6458c1deb47" | 16 | SRC_URI[sha256sum] = "bea6f9de2cdce376195bd91e4a2fdfdf80bf3e480abff8e05b90a6458c1deb47" |
17 | 17 | ||
18 | inherit pkgconfig | 18 | inherit waf pkgconfig |
19 | 19 | ||
20 | PACKAGECONFIG ?= "gl gles2" | 20 | PACKAGECONFIG ?= "gl gles2" |
21 | 21 | ||
22 | PACKAGECONFIG[gl] = "--enable-gl,,virtual/libgl" | 22 | PACKAGECONFIG[gl] = "--enable-gl,,virtual/libgl" |
23 | PACKAGECONFIG[gles2] = "--enable-glesv2,,virtual/libgles2" | 23 | PACKAGECONFIG[gles2] = "--enable-glesv2,,virtual/libgles2" |
24 | |||
25 | do_configure() { | ||
26 | ./waf configure --prefix=${prefix} ${EXTRA_OECONF} | ||
27 | } | ||
28 | |||
29 | do_compile() { | ||
30 | ./waf build ${PARALLEL_MAKE} | ||
31 | } | ||
32 | |||
33 | do_install() { | ||
34 | ./waf install --destdir=${D} | ||
35 | } | ||