diff options
Diffstat (limited to 'recipes-ti/beagleboard/beaglebone-capes.bb')
-rw-r--r-- | recipes-ti/beagleboard/beaglebone-capes.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-ti/beagleboard/beaglebone-capes.bb b/recipes-ti/beagleboard/beaglebone-capes.bb new file mode 100644 index 00000000..88d4a173 --- /dev/null +++ b/recipes-ti/beagleboard/beaglebone-capes.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | DESCRIPTION = "Userspace setup for beaglebone capes" | ||
2 | |||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" | ||
5 | |||
6 | inherit allarch | ||
7 | |||
8 | SRC_URI = "file://cape.service \ | ||
9 | file://cape.sh \ | ||
10 | " | ||
11 | |||
12 | do_install() { | ||
13 | install -d ${D}${base_libdir}/systemd/system/ | ||
14 | install -m 0644 ${WORKDIR}/cape.service ${D}${base_libdir}/systemd/system | ||
15 | |||
16 | install -d ${D}${base_libdir}/systemd/system/basic.target.wants | ||
17 | ln -sf ../cape.service ${D}${base_libdir}/systemd/system/basic.target.wants/ | ||
18 | |||
19 | install -d ${D}${bindir} | ||
20 | install -m 0755 ${WORKDIR}/cape.sh ${D}${bindir} | ||
21 | } | ||
22 | |||
23 | FILES_${PN} += "${base_libdir}/systemd/system" | ||