mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
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>
This commit is contained in:
@@ -8,6 +8,7 @@ LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
SRC_URI = "http://www.etallen.com/${BPN}/${BP}.src.tar.gz \
|
||||
file://0001-Makefile-update-the-hardcode-path-to-bindir-mandir.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "b1c83045efc26076307751e0662d580277f5f9bf89cf027231a7812003c3a4e8"
|
||||
|
||||
@@ -15,9 +16,10 @@ COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
|
||||
|
||||
inherit perlnative
|
||||
|
||||
# The install rule from the Makefile has hardcoded paths, so we duplicate
|
||||
# the actions to accommodate different paths.
|
||||
do_install () {
|
||||
install -D -m 0755 ${B}/cpuid ${D}/${bindir}/cpuid
|
||||
install -D -m 0444 ${B}/cpuid.man.gz ${D}/${mandir}
|
||||
oe_runmake DESTDIR=${D} bindir=${bindir} mandir=${mandir} install
|
||||
}
|
||||
|
||||
RDEPENDS:${PN} = "perl"
|
||||
|
||||
INSANE_SKIP:${PN} += "already-stripped"
|
||||
|
||||
Reference in New Issue
Block a user