mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-07-16 22:38:04 +00:00
0309200539
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
27 lines
700 B
BlitzBasic
27 lines
700 B
BlitzBasic
DESCRIPTION = "Userspace setup for beaglebone capes"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
|
|
|
|
PR = "r3"
|
|
|
|
inherit allarch
|
|
|
|
SRC_URI = "file://cape.service \
|
|
file://cape.sh \
|
|
file://cape-stop.sh \
|
|
"
|
|
|
|
do_install() {
|
|
install -d ${D}${base_libdir}/systemd/system/
|
|
install -m 0644 ${WORKDIR}/cape.service ${D}${base_libdir}/systemd/system
|
|
|
|
install -d ${D}${base_libdir}/systemd/system/basic.target.wants
|
|
ln -sf ../cape.service ${D}${base_libdir}/systemd/system/basic.target.wants/
|
|
|
|
install -d ${D}${bindir}
|
|
install -m 0755 ${WORKDIR}/cape*.sh ${D}${bindir}
|
|
}
|
|
|
|
FILES_${PN} += "${base_libdir}/systemd/system"
|