All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/nvme: add systemd optional dependency
@ 2021-01-20 20:16 Fabrice Fontaine
  2021-01-23 20:58 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-01-20 20:16 UTC (permalink / raw)
  To: buildroot

systemd is an optional dependency (enabled by default) since version
1.10 and
https://github.com/linux-nvme/nvme-cli/commit/48c10dbfaf00777170e209db20f7d07e47f7a983

Fixes:
 - http://autobuild.buildroot.org/results/8d14a5702aa1ffe3f036d1e1505e9596e3d4d466

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/nvme/nvme.mk | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/package/nvme/nvme.mk b/package/nvme/nvme.mk
index 678b978211..53f9dff753 100644
--- a/package/nvme/nvme.mk
+++ b/package/nvme/nvme.mk
@@ -18,6 +18,15 @@ else
 NVME_MAKE_OPTS += LIBUUID=1
 endif
 
+# Yes, HAVE_SYSTEMD=0 means systemd support enabled.
+# HAVE_SYSTEMD=1 means systemd support disabled.
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+NVME_DEPENDENCIES += systemd
+NVME_MAKE_OPTS += HAVE_SYSTEMD=0
+else
+NVME_MAKE_OPTS += HAVE_SYSTEMD=1
+endif
+
 define NVME_BUILD_CMDS
 	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \
 		$(NVME_MAKE_OPTS) -C $(@D)
-- 
2.29.2

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

* [Buildroot] [PATCH 1/1] package/nvme: add systemd optional dependency
  2021-01-20 20:16 [Buildroot] [PATCH 1/1] package/nvme: add systemd optional dependency Fabrice Fontaine
@ 2021-01-23 20:58 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-01-23 20:58 UTC (permalink / raw)
  To: buildroot

On Wed, 20 Jan 2021 21:16:22 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> systemd is an optional dependency (enabled by default) since version
> 1.10 and
> https://github.com/linux-nvme/nvme-cli/commit/48c10dbfaf00777170e209db20f7d07e47f7a983
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/8d14a5702aa1ffe3f036d1e1505e9596e3d4d466
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/nvme/nvme.mk | 9 +++++++++
>  1 file changed, 9 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2021-01-23 20:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-20 20:16 [Buildroot] [PATCH 1/1] package/nvme: add systemd optional dependency Fabrice Fontaine
2021-01-23 20:58 ` Thomas Petazzoni

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.