summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb')
-rw-r--r--meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb10
1 files changed, 6 insertions, 4 deletions
diff --git a/meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb b/meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb
index a88042ba6..ed339e016 100644
--- a/meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb
+++ b/meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb
@@ -8,6 +8,7 @@ LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
9 9
10SRC_URI = "http://www.etallen.com/${BPN}/${BP}.src.tar.gz \ 10SRC_URI = "http://www.etallen.com/${BPN}/${BP}.src.tar.gz \
11 file://0001-Makefile-update-the-hardcode-path-to-bindir-mandir.patch \
11 " 12 "
12SRC_URI[sha256sum] = "b1c83045efc26076307751e0662d580277f5f9bf89cf027231a7812003c3a4e8" 13SRC_URI[sha256sum] = "b1c83045efc26076307751e0662d580277f5f9bf89cf027231a7812003c3a4e8"
13 14
@@ -15,9 +16,10 @@ COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
15 16
16inherit perlnative 17inherit perlnative
17 18
18# The install rule from the Makefile has hardcoded paths, so we duplicate
19# the actions to accommodate different paths.
20do_install () { 19do_install () {
21 install -D -m 0755 ${B}/cpuid ${D}/${bindir}/cpuid 20 oe_runmake DESTDIR=${D} bindir=${bindir} mandir=${mandir} install
22 install -D -m 0444 ${B}/cpuid.man.gz ${D}/${mandir}
23} 21}
22
23RDEPENDS:${PN} = "perl"
24
25INSANE_SKIP:${PN} += "already-stripped"