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 <[email protected]>
---
 meta/recipes-graphics/piglit/piglit_git.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/recipes-graphics/piglit/piglit_git.bb 
b/meta/recipes-graphics/piglit/piglit_git.bb
index 9471bd08c43..06c5021eb76 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -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 \
-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to