meta-toolchain-sysmobts: Introduce a toolchain target for the BTS

Install the sysmobts firmware headers on top of the Osmocom toolchain.
This way the SDK can be used to re-compile both the OpenBSC and the
osmo-bts software.

Make sure the -dev package of the femtobts-api has not runtime
dependencies to a library that does not exist.
This commit is contained in:
Holger Hans Peter Freyther 2013-03-19 19:48:30 +01:00
parent 7059d16861
commit cd0d240314
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,9 @@
# Depend on the osmocom toolchain
require recipes-osmocom/meta/meta-toolchain-osmo.bb
# Change the name
TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-sysmobts-${DISTRO_VERSION}-${DATETIME}"
# Add API headers..
TOOLCHAIN_TARGET_TASK += "femtobts-api-dev"

View File

@ -7,9 +7,12 @@ SRCREV = "6eb9bcf22ca5163594d4d0d8ec7dd580d411d1ea"
SRCREV_sysmobts-v2 = "6eb9bcf22ca5163594d4d0d8ec7dd580d411d1ea"
SRCREV_sysmobts-v1 = "4dde9443e2aa11868e46a67529cb5ac45462699c"
PV = "${SRCREV}+git${SRCPV}"
PR = "r2"
PR = "r3"
S = "${WORKDIR}/git"
# The API is only a header, nothing to compile
RDEPENDS_${PN}-dev = ""
do_compile() {
: