]> code.ossystems Code Review - openembedded-core.git/commitdiff
piglit: override install target name instead of do_install
authorRoss Burton <ross.burton@intel.com>
Tue, 16 Jan 2018 13:25:16 +0000 (13:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Jan 2018 16:32:41 +0000 (16:32 +0000)
Simply override the install target, instead of reimplementing do_install.

Apart from being neater, this also stops the recipe expecting that cmake is
using the Make backend.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/piglit/piglit_git.bb

index 9471bd08c43974d9d85d20aaed6b5ad399555e89..06c5021eb7651a67c02d69dddd356161a8db2b9b 100644 (file)
@@ -41,9 +41,7 @@ do_configure_prepend() {
    fi
 }
 
-do_install() {
-       oe_runmake -C ${B} 'DESTDIR=${D}' install/strip
-}
+OECMAKE_TARGET_INSTALL = "install/strip"
 
 RDEPENDS_${PN} = "waffle python3 python3-mako python3-json \
        python3-subprocess python3-misc python3-importlib \