[OE-core] [PATCH] pointercal-xinput: set ALLOW_EMPTY

Martin Jansa martin.jansa at gmail.com
Wed Aug 3 11:23:45 UTC 2016


On Tue, Aug 02, 2016 at 09:02:39PM +0100, Ross Burton wrote:
> Many BSPs don't have pointer calibration, so set ALLOW_EMPTY so the package
> still exists (for dependencies) even if there isn't a calibration file to
> package.

And what's the point of that empty package?

xinput-calibrator is already using RRECOMMENDS for it to work correctly
when there isn't pointercal-xinput for given BSP and the packagegroup
change isn't needed (as you don't need pointercal-xinput without
xinput-calibrator)

xinput-calibrator_git.bb:RRECOMMENDS_${PN} = "pointercal-xinput"

> 
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
> index 65348c3..71756c3 100644
> --- a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
> +++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
> @@ -17,4 +17,5 @@ do_install() {
>  }
>  
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
> +ALLOW_EMPTY_${PN} = "1"
>  CONFFILES_${PN} = "${sysconfdir}/pointercal.xinput"
> -- 
> 2.8.1
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160803/a444e713/attachment-0002.sig>


More information about the Openembedded-core mailing list