diff options
| -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 \ | |||
| 7 | LICENSE = "GPL-2.0-only" | 7 | LICENSE = "GPL-2.0-only" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc2d1f9b427be5fb63f6af9da56f7c5d" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc2d1f9b427be5fb63f6af9da56f7c5d" |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/chipsec/chipsec.git;branch=master;protocol=https \ | 10 | DEPENDS = "virtual/kernel nasm-native" |
| 11 | " | ||
| 12 | 11 | ||
| 13 | SRCREV = "b2a61684826dc8b9f622a844a40efea579cd7e7d" | 12 | SRC_URI = "git://github.com/chipsec/chipsec.git;branch=main;protocol=https" |
| 14 | 13 | SRCREV = "07a532aac9f6c3d94b8895cf89336b6a2e60c0d9" | |
| 15 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" | ||
| 16 | 14 | ||
| 17 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
| 18 | EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}' CFLAGS='${CFLAGS}'" | ||
| 19 | |||
| 20 | DEPENDS = "virtual/kernel nasm-native python3-setuptools-native" | ||
| 21 | RDEPENDS:${PN} += "python3 python3-modules" | ||
| 22 | 16 | ||
| 23 | inherit module setuptools3 | 17 | inherit module setuptools3 |
| 24 | 18 | ||
| 19 | EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}' CFLAGS='${CFLAGS}'" | ||
| 20 | |||
| 25 | do_compile:append() { | 21 | do_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 | ||
| 34 | FILES:${PN} += "${exec_prefix} \ | 30 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" |
| 35 | " | 31 | |
| 32 | FILES:${PN} += "${exec_prefix}" | ||
| 33 | |||
| 34 | RDEPENDS:${PN} = "python3 python3-modules" | ||
