2012-08-07 15:33:51 +00:00
|
|
|
DESCRIPTION = "Osmocom PCU for sysmoBTS"
|
|
|
|
LICENSE = "GPLv2"
|
2017-09-26 12:49:22 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
2012-08-07 15:33:51 +00:00
|
|
|
|
2023-02-13 16:21:17 +00:00
|
|
|
SRCREV = "1.2.0"
|
|
|
|
SRC_URI = "git://gerrit.osmocom.org/osmo-pcu;protocol=https;branch=master;nobranch=1"
|
|
|
|
PV = "${SRCREV}+git${SRCPV}"
|
2018-03-27 15:34:37 +00:00
|
|
|
PR = "r0.${META_TELEPHONY_OSMO_INC}"
|
2012-08-07 15:33:51 +00:00
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
2017-06-11 09:44:46 +00:00
|
|
|
DEPENDS = "libosmocore osmo-bts"
|
|
|
|
DEPENDS_append_sysmobts-v2 = " femtobts-api"
|
|
|
|
DEPENDS_append_litecell15 = " lc15-firmware"
|
|
|
|
DEPENDS_append_sysmobts2100 = " lc15-firmware"
|
2019-03-20 14:23:58 +00:00
|
|
|
DEPENDS_append_oc2g = " oc2g-firmware"
|
2013-03-17 16:35:56 +00:00
|
|
|
|
2018-03-27 15:34:37 +00:00
|
|
|
# This implements PCU Interface v8 (GPRS RSSI)
|
2018-05-06 20:13:20 +00:00
|
|
|
RDEPENDS_${PN} = "osmo-bts (>= 0.8.0)"
|
2012-08-07 15:33:51 +00:00
|
|
|
|
2017-09-06 10:20:45 +00:00
|
|
|
EXTRA_OECONF_sysmobts-v2 += "--enable-sysmocom-dsp"
|
2017-06-11 09:44:46 +00:00
|
|
|
EXTRA_OECONF_litecell15 += "--enable-lc15bts-phy"
|
|
|
|
EXTRA_OECONF_sysmobts2100 += "--enable-lc15bts-phy"
|
2019-03-20 14:23:58 +00:00
|
|
|
EXTRA_OECONF_oc2g += "--enable-oc2gbts-phy"
|
2012-08-07 15:33:51 +00:00
|
|
|
|
2017-07-17 11:38:39 +00:00
|
|
|
inherit autotools pkgconfig systemd
|
|
|
|
|
2018-09-14 13:35:10 +00:00
|
|
|
PACKAGECONFIG ??= "\
|
|
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
|
|
|
"
|
|
|
|
PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir"
|
|
|
|
|
2017-07-17 11:38:39 +00:00
|
|
|
SYSTEMD_PACKAGES = "${PN}"
|
|
|
|
SYSTEMD_AUTO_ENABLE_${PN}="enable"
|
|
|
|
SYSTEMD_SERVICE_${PN} = "osmo-pcu.service"
|
2012-08-07 15:33:51 +00:00
|
|
|
|
|
|
|
# Select the API version
|
|
|
|
inherit femtobts_api
|
2017-06-11 09:44:46 +00:00
|
|
|
CPPFLAGS_append_sysmobts-v2 = " ${BTS_HW_VERSION} "
|
2012-08-07 15:33:51 +00:00
|
|
|
|
2017-12-04 17:54:12 +00:00
|
|
|
CONFFILES_${PN} = "${sysconfdir}/osmocom/osmo-pcu.cfg"
|