[OE-core] [PATCH 2/2] piglit: override install target name instead of do_install
Ross Burton
ross.burton at intel.com
Tue Jan 16 13:25:16 UTC 2018
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>
---
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
More information about the Openembedded-core
mailing list