1 ################################################################################
5 ################################################################################
8 NVME_SITE
= $(call github
,linux-nvme
,nvme-cli
,$(NVME_VERSION
))
10 NVME_LICENSE_FILES
= LICENSE
12 # Yes LIBUDEV=0 means udev support enabled, LIBUDEV=1 means udev
14 ifeq ($(BR2_PACKAGE_HAS_UDEV
),y
)
15 NVME_DEPENDENCIES
+= udev
16 NVME_MAKE_OPTS
+= LIBUDEV
=0
18 NVME_MAKE_OPTS
+= LIBUDEV
=1
21 # LIBUDEV=1 means that libudev is _disabled_
22 define NVME_BUILD_CMDS
23 $(TARGET_MAKE_ENV
) $(TARGET_CONFIGURE_OPTS
) $(MAKE
) \
24 $(NVME_MAKE_OPTS
) -C
$(@D
)
27 define NVME_INSTALL_TARGET_CMDS
28 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
=$(TARGET_DIR
) \
29 PREFIX
=/usr install-bin
32 $(eval
$(generic-package
))