Re-work the way we distribute the header and firmware files. The header files may be accessed by everyone but the firmware may only be used by owners of our device. Create a header only repository with all the header versions of the firmware and create tarballs for specific releases that will be provided to our customers. Use COMPATIBLE_MACHINE to pick the right firmware and API version depending on sysmoBTSv1 and sysmoBTSv2.
27 lines
629 B
BlitzBasic
27 lines
629 B
BlitzBasic
DESCRIPTION = "sysmoBTS Layer1 API header files"
|
|
SECTION = "kernel"
|
|
LICENSE = "CLOSED"
|
|
|
|
SRC_URI = "git://git.sysmocom.de/sysmo-bts/layer1-api.git;protocol=git;branch=master"
|
|
SRCREV = "superfemto_v2.4"
|
|
PV = "2.4"
|
|
PR = "r1"
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
do_compile() {
|
|
:
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${includedir}/sysmocom/femtobts
|
|
install -d ${D}${libdir}/pkgconfig
|
|
|
|
install -m 0755 ${S}/include/* ${D}${includedir}/sysmocom/femtobts/
|
|
echo "Name: Sysmocom sysmoBTS Layer1 API
|
|
Description: Sysmocom sysmoBTS Layer1 API
|
|
Versions: 2.0
|
|
Libs:
|
|
Cflags: -I${includedir}/sysmocom/femtobts" > ${D}${libdir}/pkgconfig/sysmocom-btsapi.pc
|
|
}
|