summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/recipes-bsp/gma500-gfx-check/gma500-gfx-check_1.0.bb
blob: 6726f6831996766f6b8972074b1e0ccdf211be8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SUMMARY = "Intel gma500_gfx fix for certain hardware"
DESCRIPTION = "Avoid inserting gma500_gfx module for certain hardware devices."
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"

SRC_URI = "file://gma500-gfx-check.conf \
	file://gma500-gfx-check.sh "

do_install(){
    install -d ${D}${sysconfdir}/modprobe.d/
    install -m 755 ${WORKDIR}/gma500-gfx-check.sh ${D}${sysconfdir}/modprobe.d/gma500-gfx-check.sh
    install -m 644 ${WORKDIR}/gma500-gfx-check.conf ${D}${sysconfdir}/modprobe.d/gma500-gfx-check.conf
}

FILES:${PN}="${sysconfdir}/modprobe.d/gma500-gfx-check.conf \
             ${sysconfdir}/modprobe.d/gma500-gfx-check.sh"

COMPATIBLE_MACHINE = "genericx86"