summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2024-02-04 11:36:04 +0800
committerKhem Raj <raj.khem@gmail.com>2024-02-03 22:03:04 -0800
commit8c327fadfa0d50debd56b6af3ff82d4cf677759b (patch)
treee6fb007cf994af16c6c1129337e095471bde2355 /meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb
parentfb98797c96470048962da897b084833874b7f3e6 (diff)
downloadmeta-openembedded-8c327fadfa0d50debd56b6af3ff82d4cf677759b.tar.gz
cpuid: fix do_install
Fix do_install to make cpuid-doc installed correctly Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
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 a88042ba65..ed339e0160 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"