buildroot/package/sedutil/sedutil.mk
Peter Korsgaard 97c4b80a0f sedutil: new package
Utilities to configure self encrypting drives that comply with the TCG OPAL
2.00 standard.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-09-27 13:59:09 +02:00

21 lines
650 B
Makefile

################################################################################
#
# sedutil
#
################################################################################
SEDUTIL_VERSION = 1.15.1
SEDUTIL_SITE = $(call github,Drive-Trust-Alliance,sedutil,$(SEDUTIL_VERSION))
SEDUTIL_LICENSE = GPL-3.0+
SEDUTIL_LICENSE_FILES = Common/LICENSE.txt
# Fetched from Github with no configure script
SEDUTIL_AUTORECONF = YES
# Calls git to figure out version info
define SEDUTIL_SET_VERSION
echo '#define GIT_VERSION "$(SEDUTIL_VERSION)"' > $(@D)/linux/Version.h
endef
SEDUTIL_POST_CONFIGURE_HOOKS += SEDUTIL_SET_VERSION
$(eval $(autotools-package))