Message ID | 20180116132516.27653-2-ross.burton@intel.com |
---|---|
State | Accepted |
Commit | 9fec5ef920bd63fe3cc2e623add0c7aead95ecae |
Headers | show |
Series | [1/2] cmake: allow target names to be overridden | expand |
On Tue, Jan 16, 2018 at 11:25 AM, Ross Burton <ross.burton@intel.com> wrote: > 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> Acked-by: Otavio Salvador <otavio@ossystems.com.br> -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
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 \
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> --- meta/recipes-graphics/piglit/piglit_git.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core