mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/nvme: add systemd optional dependency
systemd is an optional dependency (enabled by default) since version
1.10 and
48c10dbfaf
Fixes:
- http://autobuild.buildroot.org/results/8d14a5702aa1ffe3f036d1e1505e9596e3d4d466
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
c25115daf2
commit
282c7b6e64
@@ -18,6 +18,15 @@ else
|
|||||||
NVME_MAKE_OPTS += LIBUUID=1
|
NVME_MAKE_OPTS += LIBUUID=1
|
||||||
endif
|
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
|
define NVME_BUILD_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \
|
||||||
$(NVME_MAKE_OPTS) -C $(@D)
|
$(NVME_MAKE_OPTS) -C $(@D)
|
||||||
|
|||||||
Reference in New Issue
Block a user