Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH next 1/2] libaio: add host variant
@ 2018-08-16  9:29 Thomas Petazzoni
  2018-08-16  9:29 ` [Buildroot] [PATCH next 2/2] lvm2: host variant needs host-libaio Thomas Petazzoni
  2018-08-21  9:47 ` [Buildroot] [PATCH next 1/2] libaio: add host variant Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2018-08-16  9:29 UTC (permalink / raw)
  To: buildroot

Since the bump of lvm2 to 2.02.180 in commit
8e666bf29e762f3c7681a48d0ee350f8396d798f, lvm2 needs libaio. This was
properly taken into account for the target lvm2 variant, but not the
host lvm2 variant. In order to build the host lvm2, we now need
host-libaio, so this patch adds support for building libaio for the
host.

Part of fixing:

  http://autobuild.buildroot.net/results/f95dd353c17bdfd00fde6762e58aa32e6830b52b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/libaio/libaio.mk | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/package/libaio/libaio.mk b/package/libaio/libaio.mk
index 03029d84d8..76e6937cc2 100644
--- a/package/libaio/libaio.mk
+++ b/package/libaio/libaio.mk
@@ -35,4 +35,13 @@ define LIBAIO_INSTALL_TARGET_CMDS
 	$(LIBAIO_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
 endef
 
+define HOST_LIBAIO_BUILD_CMDS
+	$(HOST_CONFIGURE_OPTS) $(HOST_MAKE_ENV) $(MAKE) -C $(@D)
+endef
+
+define HOST_LIBAIO_INSTALL_CMDS
+	$(HOST_CONFIGURE_OPTS) $(HOST_MAKE_ENV) $(MAKE) -C $(@D) prefix=$(HOST_DIR) install
+endef
+
 $(eval $(generic-package))
+$(eval $(host-generic-package))
-- 
2.14.4

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

* [Buildroot] [PATCH next 2/2] lvm2: host variant needs host-libaio
  2018-08-16  9:29 [Buildroot] [PATCH next 1/2] libaio: add host variant Thomas Petazzoni
@ 2018-08-16  9:29 ` Thomas Petazzoni
  2018-08-21  9:47 ` [Buildroot] [PATCH next 1/2] libaio: add host variant Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2018-08-16  9:29 UTC (permalink / raw)
  To: buildroot

Since the bump of lvm2 to 2.02.180 in commit
8e666bf29e762f3c7681a48d0ee350f8396d798f, lvm2 needs libaio. This was
properly taken into account for the target lvm2 variant, but not the
host lvm2 variant. This commit adds host-libaio as a dependency of
host-lvm2.

Fixes:

  http://autobuild.buildroot.net/results/f95dd353c17bdfd00fde6762e58aa32e6830b52b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/lvm2/lvm2.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index 2352f17af0..152381d65d 100644
--- a/package/lvm2/lvm2.mk
+++ b/package/lvm2/lvm2.mk
@@ -59,7 +59,7 @@ ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
 LVM2_CONF_ENV += ac_cv_flag_HAVE_PIE=no
 endif
 
-HOST_LVM2_DEPENDENCIES = host-pkgconf
+HOST_LVM2_DEPENDENCIES = host-pkgconf host-libaio
 HOST_LVM2_CONF_OPTS = \
 	--enable-write_install \
 	--enable-pkgconfig \
-- 
2.14.4

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

* [Buildroot] [PATCH next 1/2] libaio: add host variant
  2018-08-16  9:29 [Buildroot] [PATCH next 1/2] libaio: add host variant Thomas Petazzoni
  2018-08-16  9:29 ` [Buildroot] [PATCH next 2/2] lvm2: host variant needs host-libaio Thomas Petazzoni
@ 2018-08-21  9:47 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2018-08-21  9:47 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 16 Aug 2018 11:29:43 +0200, Thomas Petazzoni wrote:
> Since the bump of lvm2 to 2.02.180 in commit
> 8e666bf29e762f3c7681a48d0ee350f8396d798f, lvm2 needs libaio. This was
> properly taken into account for the target lvm2 variant, but not the
> host lvm2 variant. In order to build the host lvm2, we now need
> host-libaio, so this patch adds support for building libaio for the
> host.
> 
> Part of fixing:
> 
>   http://autobuild.buildroot.net/results/f95dd353c17bdfd00fde6762e58aa32e6830b52b/
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ---
>  package/libaio/libaio.mk | 9 +++++++++
>  1 file changed, 9 insertions(+)

Both applied to next. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2018-08-21  9:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-16  9:29 [Buildroot] [PATCH next 1/2] libaio: add host variant Thomas Petazzoni
2018-08-16  9:29 ` [Buildroot] [PATCH next 2/2] lvm2: host variant needs host-libaio Thomas Petazzoni
2018-08-21  9:47 ` [Buildroot] [PATCH next 1/2] libaio: add host variant Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox