mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +00:00
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 7e27eb5fca)
36 lines
1011 B
BlitzBasic
36 lines
1011 B
BlitzBasic
SUMMARY = "CHIPSEC: Platform Security Assessment Framework"
|
|
|
|
DESCRIPTION = "CHIPSEC is a framework for analyzing the security \
|
|
of PC platforms including hardware, system firmware \
|
|
(BIOS/UEFI), and platform components."
|
|
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=bc2d1f9b427be5fb63f6af9da56f7c5d"
|
|
|
|
SRC_URI = "git://github.com/chipsec/chipsec.git;branch=master;protocol=https \
|
|
"
|
|
|
|
SRCREV = "b2a61684826dc8b9f622a844a40efea579cd7e7d"
|
|
|
|
COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
|
|
|
|
S = "${WORKDIR}/git"
|
|
EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}' CFLAGS='${CFLAGS}'"
|
|
|
|
DEPENDS = "virtual/kernel nasm-native python3-setuptools-native"
|
|
RDEPENDS:${PN} += "python3 python3-modules"
|
|
|
|
inherit module distutils3
|
|
|
|
do_compile:append() {
|
|
cd ${S}/drivers/linux
|
|
oe_runmake KSRC=${STAGING_KERNEL_BUILDDIR}
|
|
}
|
|
|
|
do_install:append() {
|
|
install -m 0644 ${S}/drivers/linux/chipsec.ko ${D}${PYTHON_SITEPACKAGES_DIR}/chipsec/helper/linux
|
|
}
|
|
|
|
FILES:${PN} += "${exec_prefix} \
|
|
"
|