All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/bluez5_utils: ensure build order with the headers-only variant
@ 2018-10-21 16:00 Yann E. MORIN
  2018-10-21 16:29 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2018-10-21 16:00 UTC (permalink / raw)
  To: buildroot

Since bluez5_utils and bluez5_utils-headers would install the same set
of files (headers), we want to ensurfe the former is run after the
latter.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Grzegorz Blach <grzegorz@blach.pl>
Cc: Arnout Vandecappelle <arnout@mind.be>

---

This will help quell issues with top-level parallel build, to avoid two
unrelated packages to install the same files.
---
 package/bluez5_utils/bluez5_utils.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk
index a613def2e2..f5b827cc30 100644
--- a/package/bluez5_utils/bluez5_utils.mk
+++ b/package/bluez5_utils/bluez5_utils.mk
@@ -9,10 +9,14 @@ BLUEZ5_UTILS_VERSION = 5.50
 BLUEZ5_UTILS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz
 BLUEZ5_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
 BLUEZ5_UTILS_INSTALL_STAGING = YES
-BLUEZ5_UTILS_DEPENDENCIES = dbus libglib2
 BLUEZ5_UTILS_LICENSE = GPL-2.0+, LGPL-2.1+
 BLUEZ5_UTILS_LICENSE_FILES = COPYING COPYING.LIB
 
+BLUEZ5_UTILS_DEPENDENCIES = \
+	$(if $(BR2_PACKAGE_BLUEZ5_UTILS_HEADERS),bluez5_utils-headers) \
+	dbus \
+	libglib2
+
 BLUEZ5_UTILS_CONF_OPTS = \
 	--enable-tools \
 	--enable-library \
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] package/bluez5_utils: ensure build order with the headers-only variant
  2018-10-21 16:00 [Buildroot] [PATCH] package/bluez5_utils: ensure build order with the headers-only variant Yann E. MORIN
@ 2018-10-21 16:29 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2018-10-21 16:29 UTC (permalink / raw)
  To: buildroot



On 21/10/2018 17:00, Yann E. MORIN wrote:
> Since bluez5_utils and bluez5_utils-headers would install the same set
> of files (headers), we want to ensurfe the former is run after the
> latter.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Grzegorz Blach <grzegorz@blach.pl>
> Cc: Arnout Vandecappelle <arnout@mind.be>

 Applied to master, thanks.

 Regards,
 Arnout

> 
> ---
> 
> This will help quell issues with top-level parallel build, to avoid two
> unrelated packages to install the same files.
> ---
>  package/bluez5_utils/bluez5_utils.mk | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk
> index a613def2e2..f5b827cc30 100644
> --- a/package/bluez5_utils/bluez5_utils.mk
> +++ b/package/bluez5_utils/bluez5_utils.mk
> @@ -9,10 +9,14 @@ BLUEZ5_UTILS_VERSION = 5.50
>  BLUEZ5_UTILS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz
>  BLUEZ5_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
>  BLUEZ5_UTILS_INSTALL_STAGING = YES
> -BLUEZ5_UTILS_DEPENDENCIES = dbus libglib2
>  BLUEZ5_UTILS_LICENSE = GPL-2.0+, LGPL-2.1+
>  BLUEZ5_UTILS_LICENSE_FILES = COPYING COPYING.LIB
>  
> +BLUEZ5_UTILS_DEPENDENCIES = \
> +	$(if $(BR2_PACKAGE_BLUEZ5_UTILS_HEADERS),bluez5_utils-headers) \
> +	dbus \
> +	libglib2
> +
>  BLUEZ5_UTILS_CONF_OPTS = \
>  	--enable-tools \
>  	--enable-library \
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-21 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-21 16:00 [Buildroot] [PATCH] package/bluez5_utils: ensure build order with the headers-only variant Yann E. MORIN
2018-10-21 16:29 ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.