xapp_xinit: point to target's "mcookie"

The X11 package builds the "mcookie" executable, when selected, into
the directory output/host/usr/bin/mcookie. The xapp_init's "configure"
attempts to find the "mcookie" executable using the host's path. If
the host has an installed "mcookie" application in their /bin folder,
it can influence the build. The following patch forces the expected
mcookie location.

Related:
http://thread.gmane.org/gmane.comp.lib.uclibc.buildroot/50310

Signed-off-by: Yugendra Sai Babu Nadupuru <yugendra.sai.babu.nadupuru@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas:
 - remove conditional on the mcookie package being enabled, since
   xapp_xinit depends on the X.org server, and the X.org server
   selects mcookie.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yugendra Sai Babu Nadupuru 2016-07-14 16:10:39 -05:00 committed by Thomas Petazzoni
parent 752a3aad96
commit 8159b4f80a

View File

@ -10,5 +10,6 @@ XAPP_XINIT_SITE = http://xorg.freedesktop.org/releases/individual/app
XAPP_XINIT_DEPENDENCIES = xapp_xauth xlib_libX11
XAPP_XINIT_LICENSE = MIT
XAPP_XINIT_LICENSE_FILES = COPYING
XAPP_XINIT_CONF_OPTS = MCOOKIE=/usr/bin/mcookie
$(eval $(autotools-package))