From: Yann E. MORIN Date: Thu, 10 Oct 2013 21:05:20 +0000 (+0200) Subject: package/wayland: install wayland-scanner to $(HOST) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efee2e4e1758d22e1fedc134016245e792f5c3b1;p=buildroot.git 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" Cc: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/package/wayland/wayland.mk b/package/wayland/wayland.mk index 0810536b7a..013d401568 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