pointercal-xinput: set ALLOW_EMPTY

Message ID 1470168159-1748-1-git-send-email-ross.burton@intel.com
State New
Headers show

Commit Message

Ross Burton Aug. 2, 2016, 8:02 p.m.
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 <ross.burton@intel.com>

---
 meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb | 1 +
 1 file changed, 1 insertion(+)

-- 
2.8.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

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"