From 9fec5ef920bd63fe3cc2e623add0c7aead95ecae Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 16 Jan 2018 13:25:16 +0000 Subject: piglit: override install target name instead of do_install 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 Signed-off-by: Richard Purdie --- meta/recipes-graphics/piglit/piglit_git.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'meta/recipes-graphics/piglit/piglit_git.bb') diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index 9471bd08c4..06c5021eb7 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 \ -- cgit 1.2.3-korg