Update buidlroot to version 2016.08.1
This commit is contained in:
7
bsp/buildroot/package/nvme/Config.in
Normal file
7
bsp/buildroot/package/nvme/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_NVME
|
||||
bool "nvme"
|
||||
help
|
||||
NVME utility, a utility for interacting with standard NVM
|
||||
Express (optimized PCI Express SSD interface) devices.
|
||||
|
||||
https://github.com/linux-nvme/nvme-cli
|
||||
2
bsp/buildroot/package/nvme/nvme.hash
Normal file
2
bsp/buildroot/package/nvme/nvme.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 c631e90dd4d411cdb618b26bc36b06706e6f1f2d3db38874bcfe48f4bc15aac4 nvme-v0.3.tar.gz
|
||||
32
bsp/buildroot/package/nvme/nvme.mk
Executable file
32
bsp/buildroot/package/nvme/nvme.mk
Executable file
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# nvme
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NVME_VERSION = v0.3
|
||||
NVME_SITE = $(call github,linux-nvme,nvme-cli,$(NVME_VERSION))
|
||||
NVME_LICENSE = GPLv2+
|
||||
NVME_LICENSE_FILES = LICENSE
|
||||
|
||||
# Yes LIBUDEV=0 means udev support enabled, LIBUDEV=1 means udev
|
||||
# support disabled.
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
NVME_DEPENDENCIES += udev
|
||||
NVME_MAKE_OPTS += LIBUDEV=0
|
||||
else
|
||||
NVME_MAKE_OPTS += LIBUDEV=1
|
||||
endif
|
||||
|
||||
# LIBUDEV=1 means that libudev is _disabled_
|
||||
define NVME_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \
|
||||
$(NVME_MAKE_OPTS) -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))
|
||||
Reference in New Issue
Block a user