osmo-bts: sysmo-bts-calib is now handled inside autotools
Since osmo-bts bef6eae05b959b2ce395b3f949675d2a93053f0d sysmobts-calib is integrated into autotools build system.
This commit is contained in:
parent
9a59237a7e
commit
6c3b089c8f
|
@ -19,7 +19,7 @@ RCONFLICTS_${PN}_append_sysmobts-v2 = " sysmobts-firmware (< 5.1)"
|
||||||
|
|
||||||
RDEPENDS_${PN}_append_sysmobts2100 = " lc15-firmware"
|
RDEPENDS_${PN}_append_sysmobts2100 = " lc15-firmware"
|
||||||
|
|
||||||
EXTRA_OECONF_sysmobts-v2 += "--enable-sysmocom-bts"
|
EXTRA_OECONF_sysmobts-v2 += "--enable-sysmocom-bts --enable-sysmobts-calib"
|
||||||
EXTRA_OECONF_sysmobts2100 += "--enable-litecell15"
|
EXTRA_OECONF_sysmobts2100 += "--enable-litecell15"
|
||||||
|
|
||||||
inherit autotools pkgconfig systemd
|
inherit autotools pkgconfig systemd
|
||||||
|
@ -31,19 +31,12 @@ SYSTEMD_AUTO_ENABLE_${PN}="enable"
|
||||||
inherit femtobts_api
|
inherit femtobts_api
|
||||||
CPPFLAGS_append_sysmobts-v2 = " ${BTS_HW_VERSION} "
|
CPPFLAGS_append_sysmobts-v2 = " ${BTS_HW_VERSION} "
|
||||||
|
|
||||||
do_compile_append_sysmobts-v2() {
|
|
||||||
cd ${S}/contrib/sysmobts-calib/
|
|
||||||
oe_runmake
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -d ${D}${sysconfdir}/osmocom
|
install -d ${D}${sysconfdir}/osmocom
|
||||||
install -d ${D}/${systemd_system_unitdir}
|
install -d ${D}/${systemd_system_unitdir}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_append_sysmobts-v2() {
|
do_install_append_sysmobts-v2() {
|
||||||
install -m 0755 ${S}/contrib/sysmobts-calib/sysmobts-calib ${D}${bindir}/
|
|
||||||
|
|
||||||
install -m 0660 ${S}/doc/examples/sysmo/osmo-bts.cfg ${D}${sysconfdir}/osmocom
|
install -m 0660 ${S}/doc/examples/sysmo/osmo-bts.cfg ${D}${sysconfdir}/osmocom
|
||||||
|
|
||||||
# Install systemd and enable on sysinit
|
# Install systemd and enable on sysinit
|
||||||
|
|
Loading…
Reference in New Issue