[oe-commits] [openembedded-core] 03/07: piglit: override install target name instead of do_install

git at git.openembedded.org git at git.openembedded.org
Wed Jan 17 22:33:54 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 9fec5ef920bd63fe3cc2e623add0c7aead95ecae
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue Jan 16 13:25:16 2018 +0000

    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 <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 9471bd0..06c5021 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 \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list