xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/cpuid/cpuid_20211129.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Linux tool to dump x86 CPUID information about the CPU(s)"
2*4882a593SmuzhiyunDESCRIPTION = "cpuid dumps detailed information about the CPU(s) gathered \
3*4882a593Smuzhiyunfrom the CPUID instruction, and also determines the exact model of CPU(s). \
4*4882a593SmuzhiyunIt supports Intel, AMD, and VIA CPUs, as well as older Transmeta, Cyrix, \
5*4882a593SmuzhiyunUMC, NexGen, Rise, and SiS CPUs"
6*4882a593SmuzhiyunHOMEPAGE="http://www.etallen.com/cpuid.html"
7*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSRC_URI = "http://www.etallen.com/${BPN}/${BP}.src.tar.gz \
11*4882a593Smuzhiyun           "
12*4882a593SmuzhiyunSRC_URI[sha256sum] = "230772bb88c44732e68a42d2eff43bcff46d893bf4ea6e04151d4cb6e8c88e2f"
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunCOMPATIBLE_HOST = "(i.86|x86_64).*-linux"
15*4882a593Smuzhiyun
16*4882a593Smuzhiyuninherit perlnative
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun# The install rule from the Makefile has hardcoded paths, so we duplicate
19*4882a593Smuzhiyun# the actions to accommodate different paths.
20*4882a593Smuzhiyundo_install () {
21*4882a593Smuzhiyun    install -D -m 0755 ${B}/cpuid ${D}/${bindir}/cpuid
22*4882a593Smuzhiyun    install -D -m 0444 ${B}/cpuid.man.gz ${D}/${mandir}
23*4882a593Smuzhiyun}
24