mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
dee876f0e5
commit
3a41db396d
@@ -15,21 +15,9 @@ SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz"
|
||||
SRC_URI[md5sum] = "4f306664aa3886fa0cf93853603603f8"
|
||||
SRC_URI[sha256sum] = "bea6f9de2cdce376195bd91e4a2fdfdf80bf3e480abff8e05b90a6458c1deb47"
|
||||
|
||||
inherit pkgconfig
|
||||
inherit waf pkgconfig
|
||||
|
||||
PACKAGECONFIG ?= "gl gles2"
|
||||
|
||||
PACKAGECONFIG[gl] = "--enable-gl,,virtual/libgl"
|
||||
PACKAGECONFIG[gles2] = "--enable-glesv2,,virtual/libgles2"
|
||||
|
||||
do_configure() {
|
||||
./waf configure --prefix=${prefix} ${EXTRA_OECONF}
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
./waf build ${PARALLEL_MAKE}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
./waf install --destdir=${D}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user