Files
Chunrong Guo a0616822dd fbset-modes: fix a warning about not existant S
Set the S variable to $WORKDIR to remove the warning about S being not
existant

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-11 10:25:52 +02:00

23 lines
645 B
BlitzBasic

SUMMARY = "Default display timings and resolutions for fbset"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PV = "0.1.0"
PR = "r6"
SRC_URI = "file://fb.modes"
S = "${WORKDIR}"
do_install() {
install -d ${D}${sysconfdir}
install -m 0644 ${WORKDIR}/fb.modes ${D}${sysconfdir}
}
inherit allarch
# fb.modes file is MACHINE_ARCH, base.bbclass correctly changes it to MACHINE_ARCH, but too late for allarch.bbclass
# to disable "all" behavior (found when comparing qemuarm and qemux86 signatures)
PACKAGE_ARCH = "${MACHINE_ARCH}"
CONFFILES_${PN} = "${sysconfdir}/fb.modes"