summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/unicens/unicens_0.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo-hmi/unicens/unicens_0.1.bb')
-rw-r--r--recipes-demo-hmi/unicens/unicens_0.1.bb49
1 files changed, 0 insertions, 49 deletions
diff --git a/recipes-demo-hmi/unicens/unicens_0.1.bb b/recipes-demo-hmi/unicens/unicens_0.1.bb
deleted file mode 100644
index 4f289c619..000000000
--- a/recipes-demo-hmi/unicens/unicens_0.1.bb
+++ /dev/null
@@ -1,49 +0,0 @@
-DESCRIPTION = "Build NetworkManager"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-#LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
-# "
-
-PV = "0.1"
-
-DEPENDS += "libxml2"
-
-SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/unicens;protocol=https;branch=${AGL_BRANCH}"
-SRC_URI += "file://0001-Fix-cross-compilation-with-yocto.patch"
-SRC_URI += "file://0001-Support-booting-by-systemd.patch \
- file://most-network-startup.service \
- file://most-network-manager.service"
-
-S = "${WORKDIR}/git"
-#SRCREV = "8c5f2324d7aa61669324aec1a0ad091fe1379489"
-SRCREV = "${AGL_DEFAULT_REVISION}"
-
-do_install() {
- install -m 0755 -d ${D}/usr/AGL/most
- install -m 0755 ${S}/NetworkManager ${D}/usr/AGL/most/MostNetworkManager
- install -m 0644 ${S}/scripts/config-agl.xml ${D}/usr/AGL/most/
- install -m 0644 ${S}/scripts/camera-os88122-ts.script ${D}/usr/AGL/most/
- install -m 0644 ${S}/scripts/i2c-slim-amplifier-v2.3.script ${D}/usr/AGL/most/
- install -m 0644 ${S}/scripts/i2c-uda1388-v2.3.script ${D}/usr/AGL/most
- install -m 0755 ${S}/scripts/loadDriver.sh ${D}/usr/AGL/most
-
- # Install MOST network startup systemd service (user)
- if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
- install -m 644 -p -D ${WORKDIR}/most-network-startup.service ${D}${systemd_user_unitdir}/most-network-startup.service
- install -m 644 -p -D ${WORKDIR}/most-network-manager.service ${D}${systemd_user_unitdir}/most-network-manager.service
-
- # Execute install manually for root user on behalf of systemctl script
- # because it doesn't support user mode of systemd.
- install -m 0755 -d ${D}${ROOT_HOME}/.config/systemd/user/default.target.wants/
- ln -sf ${systemd_user_unitdir}/most-network-startup.service ${D}${ROOT_HOME}/.config/systemd/user/default.target.wants/most-network-startup.service
- ln -sf ${systemd_user_unitdir}/most-network-manager.service ${D}${ROOT_HOME}/.config/systemd/user/default.target.wants/most-network-manager.service
- fi
-}
-
-FILES_${PN} += " \
- /usr/AGL/most \
- ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_user_unitdir}/most-network-startup.service', '', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_user_unitdir}/most-network-manager.service', '', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${ROOT_HOME}/.config/systemd/user/default.target.wants/most-network-startup.service', '', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${ROOT_HOME}/.config/systemd/user/default.target.wants/most-network-manager.service', '', d)} \
- "