kumquat-buildroot/package/ima-evm-utils/ima-evm-utils.mk
Ricardo Martincoski ee73336da9 package/ima-evm-utils: really install to staging
Commit "8229196d41 package/ima-evm-utils: new package" added
IMA_EVM_UTILS_INSTALL_STAGING_CMDS without enabling
IMA_EVM_UTILS_INSTALL_STAGING, so currently the package is not installed
to staging.

Enable installing to staging.

Cc: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-01-04 17:46:22 +01:00

34 lines
1.1 KiB
Makefile

################################################################################
#
# ima-evm-utils
#
################################################################################
IMA_EVM_UTILS_VERSION = 1.4
IMA_EVM_UTILS_SITE = http://downloads.sourceforge.net/project/linux-ima/ima-evm-utils
IMA_EVM_UTILS_LICENSE = GPL-2.0
IMA_EVM_UTILS_LICENSE_FILES = COPYING
IMA_EVM_UTILS_INSTALL_STAGING = YES
IMA_EVM_UTILS_DEPENDENCIES = host-pkgconf keyutils openssl tpm2-tss
# Tarball doesn't contain configure
IMA_EVM_UTILS_AUTORECONF = YES
# Build and install in the src subdirectory. This avoids building the
# documentation, which requires asciidoc and xsltproc. Note that configure still
# needs to be run from the top dir, so _SUBDIR can't be used.
define IMA_EVM_UTILS_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src all
endef
define IMA_EVM_UTILS_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(STAGING_DIR)" -C $(@D)/src install
endef
define IMA_EVM_UTILS_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D)/src install
endef
$(eval $(autotools-package))