diff options
| author | Changqing Li <changqing.li@windriver.com> | 2024-02-04 11:36:04 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-02-03 22:03:04 -0800 |
| commit | 8c327fadfa0d50debd56b6af3ff82d4cf677759b (patch) | |
| tree | e6fb007cf994af16c6c1129337e095471bde2355 /meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb | |
| parent | fb98797c96470048962da897b084833874b7f3e6 (diff) | |
| download | meta-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.bb | 10 |
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" | |||
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 9 | 9 | ||
| 10 | SRC_URI = "http://www.etallen.com/${BPN}/${BP}.src.tar.gz \ | 10 | SRC_URI = "http://www.etallen.com/${BPN}/${BP}.src.tar.gz \ |
| 11 | file://0001-Makefile-update-the-hardcode-path-to-bindir-mandir.patch \ | ||
| 11 | " | 12 | " |
| 12 | SRC_URI[sha256sum] = "b1c83045efc26076307751e0662d580277f5f9bf89cf027231a7812003c3a4e8" | 13 | SRC_URI[sha256sum] = "b1c83045efc26076307751e0662d580277f5f9bf89cf027231a7812003c3a4e8" |
| 13 | 14 | ||
| @@ -15,9 +16,10 @@ COMPATIBLE_HOST = "(i.86|x86_64).*-linux" | |||
| 15 | 16 | ||
| 16 | inherit perlnative | 17 | inherit perlnative |
| 17 | 18 | ||
| 18 | # The install rule from the Makefile has hardcoded paths, so we duplicate | ||
| 19 | # the actions to accommodate different paths. | ||
| 20 | do_install () { | 19 | do_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 | |||
| 23 | RDEPENDS:${PN} = "perl" | ||
| 24 | |||
| 25 | INSANE_SKIP:${PN} += "already-stripped" | ||
