pointercal-xinput: set ALLOW_EMPTY
PATCH 1/1 pointercal-xinput: set ALLOW_EMPTY
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.
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb +1 -0
@@ -17,4 +17,5 @@ do_install() { } PACKAGE_ARCH = "${MACHINE_ARCH}" +ALLOW_EMPTY_${PN} = "1" CONFFILES_${PN} = "${sysconfdir}/pointercal.xinput"
Signature · 1 line
2.8.1
Quoted 3 lines · Ross Burton
Many BSPs don't have pointer calibration, so set
ALLOW_EMPTYso 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"
Quoted 24 lines
Signed-off-by Ross Burton <[email protected]>--- meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb +1
-0@@ -17,4 +17,5 @@ do_install() { } PACKAGE_ARCH = "${MACHINE_ARCH}" +ALLOW_EMPTY_${PN} = "1" CONFFILES_${PN} = "${sysconfdir}/pointercal.xinput"Signature · 7 lines
2.8.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]