summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2013-10-10 21:05:20 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-10-10 22:07:25 (GMT)
commitefee2e4e1758d22e1fedc134016245e792f5c3b1 (patch)
treec6e4ac0f5c5bb94cfa67e243f90f9a27bb101380
parent2cd6def998b530e39ac99c640ef46e4a9c6a5d44 (diff)
downloadbuildroot-efee2e4e1758d22e1fedc134016245e792f5c3b1.tar.gz
buildroot-efee2e4e1758d22e1fedc134016245e792f5c3b1.tar.bz2
package/wayland: install wayland-scanner to $(HOST)
wayland-scanner is needed by weston. [Peter: use $(INSTALL), fixup white space] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/wayland/wayland.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/wayland/wayland.mk b/package/wayland/wayland.mk
index 0810536..013d401 100644
--- a/package/wayland/wayland.mk
+++ b/package/wayland/wayland.mk
@@ -22,7 +22,9 @@ WAYLAND_CONF_OPT = --disable-scanner
define WAYLAND_BUILD_SCANNER
(cd $(@D)/src/; \
$(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \
- -o wayland-scanner scanner.c wayland-util.c -lexpat)
+ -o wayland-scanner scanner.c wayland-util.c -lexpat; \
+ $(INSTALL) -m 0755 -D wayland-scanner \
+ $(HOST_DIR)/usr/bin/wayland-scanner)
endef
WAYLAND_POST_CONFIGURE_HOOKS += WAYLAND_BUILD_SCANNER