# SPDX-License-Identifier: MIT

INHIBIT_DEFAULT_DEPS = "1"
EXCLUDE_FROM_WORLD = "1"

inherit native
require conf/sbom-cve-check-config.inc

SBOM_CVE_CHECK_DB_NAME[doc] = "Database name, which is the Git repository directory name. \
    The git repository will be stored in ${SBOM_CVE_CHECK_DEPLOY_DB_DIR)/"

deltask do_configure
deltask do_compile
deltask do_install
deltask do_populate_sysroot

# Directly unpack the fetched CVE database to the deploy directory.
UNPACKDIR = "${SBOM_CVE_CHECK_DEPLOY_DB_DIR}/${SBOM_CVE_CHECK_DB_NAME}"
S = "${UNPACKDIR}"
