Files
2026-09-22 09:38:26 +08:00

35 lines
857 B
BlitzBasic
Executable File

# SPDX-FileCopyrightText: 2024 Unisoc (Shanghai) Technologies Co., Ltd.
#
# SPDX-License-Identifier: LicenseRef-Unisoc-General-1.0
DESCRIPTION = "Unisoc dm-verity manager module"
HOMEPAGE = "http://www.unisoc.com/"
LICENSE = "Unisoc-General-1.0"
PACKAGES =+ "${PN}-veritymgr"
DEPENDS = "libtrusty openssl anti-rollback"
RDEPENDS:${PN} = "libtrusty anti-rollback"
SECTION = "base"
PROVIDES = "veritymgr"
EXTERNALSRC_BUILD = "${EXTERNALSRC}"
export ROOTFS_EFUSE_DOUBLE = "${IS_ROOTFS_EFUSE_DOUBLE}"
do_compile () {
oe_runmake -C ${S} O=${B} clean
oe_runmake -C ${S} O=${B}
}
do_install () {
install -d ${D}${bindir}/
install -m 0755 ${S}/veritymgr ${D}${bindir}/
}
FILES:${PN} += "${bindir}/veritymgr \"
INSANE_SKIP:${PN} += "installed-vs-shipped"
FILES_SOLIBSDEV = ""
INSANE_SKIP:${PN} += "dev-so"
TARGET_CC_ARCH += "${LDFLAGS}"