Initial Commit
- initial default booting image
This commit is contained in:
8
package/libnvme/Config.in
Normal file
8
package/libnvme/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_LIBNVME
|
||||
bool "libnvme"
|
||||
depends on BR2_USE_MMU # malloc_usable_size()
|
||||
help
|
||||
libnvme provides type definitions for NVMe specification
|
||||
and utilities for nvme devices handling in Linux.
|
||||
|
||||
https://github.com/linux-nvme/libnvme
|
||||
3
package/libnvme/libnvme.hash
Normal file
3
package/libnvme/libnvme.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated sha256 checksums
|
||||
sha256 1d850d5a871559abf641d6e6b63bb86047e4cb26f3ad144597c2c64b3cff7231 libnvme-1.16.2.tar.gz
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
|
||||
45
package/libnvme/libnvme.mk
Normal file
45
package/libnvme/libnvme.mk
Normal file
@@ -0,0 +1,45 @@
|
||||
################################################################################
|
||||
#
|
||||
# libnvme
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBNVME_VERSION = 1.16.2
|
||||
LIBNVME_SITE = $(call github,linux-nvme,libnvme,v$(LIBNVME_VERSION))
|
||||
LIBNVME_LICENSE = LGPL-2.1
|
||||
LIBNVME_LICENSE_FILES = COPYING
|
||||
LIBNVME_INSTALL_STAGING = YES
|
||||
|
||||
LIBNVME_CONF_OPTS += \
|
||||
-Dexamples=false \
|
||||
-Dtests=false
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||
LIBNVME_DEPENDENCIES += python3 host-swig
|
||||
LIBNVME_CONF_OPTS += -Dpython=enabled
|
||||
else
|
||||
LIBNVME_CONF_OPTS += -Dpython=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LIBNVME_DEPENDENCIES += openssl
|
||||
LIBNVME_CONF_OPTS += -Dopenssl=enabled
|
||||
else
|
||||
LIBNVME_CONF_OPTS += -Dopenssl=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JSON_C),y)
|
||||
LIBNVME_DEPENDENCIES += json-c
|
||||
LIBNVME_CONF_OPTS += -Djson-c=enabled
|
||||
else
|
||||
LIBNVME_CONF_OPTS += -Djson-c=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_KEYUTILS),y)
|
||||
LIBNVME_DEPENDENCIES += keyutils
|
||||
LIBNVME_CONF_OPTS += -Dkeyutils=enabled
|
||||
else
|
||||
LIBNVME_CONF_OPTS += -Dkeyutils=disabled
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user