sysmobts-calib: Build, package and make sure it is installed
Install the sysmobts calibration utility. task-sysmocom-bts is installed on every bts and will now pull in the calibration utility. The sysmobts screen needs to be stopped before this application can run.
This commit is contained in:
parent
a6ae74f721
commit
e0bf4c7fea
|
@ -4,12 +4,13 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
|
||||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
DEPENDS = "virtual/kernel"
|
DEPENDS = "virtual/kernel"
|
||||||
ALLOW_EMPTY = "1"
|
ALLOW_EMPTY = "1"
|
||||||
PR = "r11"
|
PR = "r12"
|
||||||
|
|
||||||
# TODO: re-add femtobts-calib after it went through the API migration
|
# TODO: re-add femtobts-calib after it went through the API migration
|
||||||
RDEPENDS_task-sysmocom-bts = "\
|
RDEPENDS_task-sysmocom-bts = "\
|
||||||
osmo-bts \
|
osmo-bts \
|
||||||
osmo-bts-remote \
|
osmo-bts-remote \
|
||||||
|
sysmobts-calib \
|
||||||
lmsensors-scripts \
|
lmsensors-scripts \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=os
|
||||||
SRCREV_osmobts = "b19592f7134baeae1541e55b6efead887739291d"
|
SRCREV_osmobts = "b19592f7134baeae1541e55b6efead887739291d"
|
||||||
SRCREV_openbsc = "019f913ca383bda9256e273c06327041b1761330"
|
SRCREV_openbsc = "019f913ca383bda9256e273c06327041b1761330"
|
||||||
PV = "0.0+git${SRCPV}"
|
PV = "0.0+git${SRCPV}"
|
||||||
PR = "r20"
|
PR = "r21"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
SRCREV_FORMAT = "openbsc-rosmobts"
|
SRCREV_FORMAT = "openbsc-rosmobts"
|
||||||
|
@ -26,6 +26,11 @@ do_configure_prepend() {
|
||||||
ln -sf ../openbsc openbsc
|
ln -sf ../openbsc openbsc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_compile_append() {
|
||||||
|
cd ${S}/contrib/sysmobts-calib/
|
||||||
|
oe_runmake
|
||||||
|
}
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -d ${D}${sysconfdir}/osmocom
|
install -d ${D}${sysconfdir}/osmocom
|
||||||
install -m 0660 ${S}/doc/examples/osmo-bts.cfg ${D}${sysconfdir}/osmocom
|
install -m 0660 ${S}/doc/examples/osmo-bts.cfg ${D}${sysconfdir}/osmocom
|
||||||
|
@ -33,6 +38,8 @@ do_install_append() {
|
||||||
install -m 0644 ${S}/contrib/screenrc-sysmobts ${D}${sysconfdir}/osmocom/
|
install -m 0644 ${S}/contrib/screenrc-sysmobts ${D}${sysconfdir}/osmocom/
|
||||||
install -d ${D}${sysconfdir}/init.d
|
install -d ${D}${sysconfdir}/init.d
|
||||||
install -m 0755 ${S}/contrib/sysmobts.init ${D}${sysconfdir}/init.d/sysmobts
|
install -m 0755 ${S}/contrib/sysmobts.init ${D}${sysconfdir}/init.d/sysmobts
|
||||||
|
|
||||||
|
install -m 0755 ${S}/contrib/sysmobts-calib/sysmobts-calib ${D}${bindir}/
|
||||||
}
|
}
|
||||||
|
|
||||||
CONFFILES_${PN} = "${sysconfdir}/osmocom/osmo-bts.cfg"
|
CONFFILES_${PN} = "${sysconfdir}/osmocom/osmo-bts.cfg"
|
||||||
|
@ -40,6 +47,7 @@ INITSCRIPT_PACKAGES = "${PN}"
|
||||||
INITSCRIPT_NAME_${PN} = "sysmobts"
|
INITSCRIPT_NAME_${PN} = "sysmobts"
|
||||||
INITSCRIPT_PARAMS_${PN} = "defaults 30 30"
|
INITSCRIPT_PARAMS_${PN} = "defaults 30 30"
|
||||||
|
|
||||||
PACKAGES =+ "osmo-bts-remote"
|
PACKAGES =+ "osmo-bts-remote sysmobts-calib"
|
||||||
|
|
||||||
FILES_osmo-bts-remote = " ${bindir}/sysmobts-remote "
|
FILES_osmo-bts-remote = " ${bindir}/sysmobts-remote "
|
||||||
|
FILES_sysmobts-calib = " ${bindir}/sysmobts-calib "
|
||||||
|
|
Loading…
Reference in New Issue