xref: /OK3568_Linux_fs/yocto/poky/meta-yocto-bsp/recipes-bsp/gma500-gfx-check/gma500-gfx-check_1.0.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Intel gma500_gfx fix for certain hardware"
2*4882a593SmuzhiyunDESCRIPTION = "Avoid inserting gma500_gfx module for certain hardware devices."
3*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
4*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunSRC_URI = "file://gma500-gfx-check.conf \
7*4882a593Smuzhiyun	file://gma500-gfx-check.sh "
8*4882a593Smuzhiyun
9*4882a593Smuzhiyundo_install(){
10*4882a593Smuzhiyun    install -d ${D}${sysconfdir}/modprobe.d/
11*4882a593Smuzhiyun    install -m 755 ${WORKDIR}/gma500-gfx-check.sh ${D}${sysconfdir}/modprobe.d/gma500-gfx-check.sh
12*4882a593Smuzhiyun    install -m 644 ${WORKDIR}/gma500-gfx-check.conf ${D}${sysconfdir}/modprobe.d/gma500-gfx-check.conf
13*4882a593Smuzhiyun}
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunFILES:${PN}="${sysconfdir}/modprobe.d/gma500-gfx-check.conf \
16*4882a593Smuzhiyun             ${sysconfdir}/modprobe.d/gma500-gfx-check.sh"
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunCOMPATIBLE_MACHINE = "genericx86"
19