3ad518b61d
Add support for building NVME utility - a utility for interacting with standard NVM Express (optimized PCI Express SSD interface) devices. Signed-off-by: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
613 B
Makefile
Executable File
24 lines
613 B
Makefile
Executable File
################################################################################
|
|
#
|
|
# nvme
|
|
#
|
|
################################################################################
|
|
|
|
NVME_VERSION = v0.3
|
|
NVME_SITE = $(call github,linux-nvme,nvme-cli,$(NVME_VERSION))
|
|
NVME_LICENSE = GPLv2+
|
|
NVME_LICENSE_FILES = COPYING
|
|
|
|
# LIBUDEV=1 means that libudev is _disabled_
|
|
define NVME_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \
|
|
LIBUDEV=1 -C $(@D)
|
|
endef
|
|
|
|
define NVME_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) \
|
|
PREFIX=/usr install-bin
|
|
endef
|
|
|
|
$(eval $(generic-package))
|