xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/mcelog/mce-test_git.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#
2*4882a593Smuzhiyun# Copyright (C) 2012 Wind River Systems, Inc.
3*4882a593Smuzhiyun#
4*4882a593SmuzhiyunSUMMARY = "MCE test suite"
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunDESCRIPTION = "The MCE test suite is a collection of tools and test scripts for \
7*4882a593Smuzhiyuntesting the Linux RAS related features, including CPU/Memory error \
8*4882a593Smuzhiyuncontainment and recovery, ACPI/APEI support etc."
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
11*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunSRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git;protocol=git;branch=master \
14*4882a593Smuzhiyun           file://makefile-remove-ldflags.patch \
15*4882a593Smuzhiyun           file://0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch \
16*4882a593Smuzhiyun          "
17*4882a593SmuzhiyunSRCREV = "7643baf6c3919b3d727e6ba6c2e545dc6a653307"
18*4882a593SmuzhiyunPV = "20190917+git${SRCPV}"
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunRDEPENDS:${PN} = "mcelog mce-inject dialog bash"
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunCOMPATIBLE_HOST = '(i.86|x86_64).*-linux'
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunS ="${WORKDIR}/git"
25*4882a593Smuzhiyun
26*4882a593Smuzhiyundo_install:append(){
27*4882a593Smuzhiyun   install -d ${D}/opt/mce-test
28*4882a593Smuzhiyun   cp -rf ${S}/* ${D}/opt/mce-test/
29*4882a593Smuzhiyun}
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunFILES:${PN} += "/opt"
32