summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2022-06-20 21:51:20 -0700
committerArmin Kuster <akuster808@gmail.com>2022-06-23 18:47:59 -0700
commita87a1a3e7cd87a3124d1d2b737a24ef62d023333 (patch)
treefb48416534b9aa865eb06aa6e68981ba9df7ab07
parenta68a46ded922b3c171dd1d1702663e2befc11e6e (diff)
downloadmeta-security-a87a1a3e7cd87a3124d1d2b737a24ef62d023333.tar.gz
chipsec: update to 1.8.5
minor recipe cleanup Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-security/chipsec/chipsec_1.8.5.bb (renamed from recipes-security/chipsec/chipsec_git.bb)21
1 files changed, 10 insertions, 11 deletions
diff --git a/recipes-security/chipsec/chipsec_git.bb b/recipes-security/chipsec/chipsec_1.8.5.bb
index d6c3ff2..48dfe45 100644
--- a/recipes-security/chipsec/chipsec_git.bb
+++ b/recipes-security/chipsec/chipsec_1.8.5.bb
@@ -7,21 +7,17 @@ DESCRIPTION = "CHIPSEC is a framework for analyzing the security \
7LICENSE = "GPL-2.0-only" 7LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=bc2d1f9b427be5fb63f6af9da56f7c5d" 8LIC_FILES_CHKSUM = "file://COPYING;md5=bc2d1f9b427be5fb63f6af9da56f7c5d"
9 9
10SRC_URI = "git://github.com/chipsec/chipsec.git;branch=master;protocol=https \ 10DEPENDS = "virtual/kernel nasm-native"
11 "
12 11
13SRCREV = "b2a61684826dc8b9f622a844a40efea579cd7e7d" 12SRC_URI = "git://github.com/chipsec/chipsec.git;branch=main;protocol=https"
14 13SRCREV = "07a532aac9f6c3d94b8895cf89336b6a2e60c0d9"
15COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
16 14
17S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
18EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}' CFLAGS='${CFLAGS}'"
19
20DEPENDS = "virtual/kernel nasm-native python3-setuptools-native"
21RDEPENDS:${PN} += "python3 python3-modules"
22 16
23inherit module setuptools3 17inherit module setuptools3
24 18
19EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}' CFLAGS='${CFLAGS}'"
20
25do_compile:append() { 21do_compile:append() {
26 cd ${S}/drivers/linux 22 cd ${S}/drivers/linux
27 oe_runmake KSRC=${STAGING_KERNEL_BUILDDIR} 23 oe_runmake KSRC=${STAGING_KERNEL_BUILDDIR}
@@ -31,5 +27,8 @@ do_install:append() {
31 install -m 0644 ${S}/drivers/linux/chipsec.ko ${D}${PYTHON_SITEPACKAGES_DIR}/chipsec/helper/linux 27 install -m 0644 ${S}/drivers/linux/chipsec.ko ${D}${PYTHON_SITEPACKAGES_DIR}/chipsec/helper/linux
32} 28}
33 29
34FILES:${PN} += "${exec_prefix} \ 30COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
35" 31
32FILES:${PN} += "${exec_prefix}"
33
34RDEPENDS:${PN} = "python3 python3-modules"