summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/recipes-config/dev-mapping/dev-mapping_0.1.bb
blob: befb5443f16102b909289a77b68334ef2daf4023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
inherit allarch

SUMMARY = "AGL Device mapping configuration file"
DESCRIPTION = "This provide default dev-mapping.conf file \
 that defines mapping between kernel device and logical name \
 used in low-can binding by example."

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRC_URI += "file://dev-mapping.conf.default"

do_install() {
    install -d ${D}${sysconfdir}
    install -m 0644 ${WORKDIR}/dev-mapping.conf.default ${D}${sysconfdir}/dev-mapping.conf
}