aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2019-01-20Bump version: 0.8.1.199-5c93-dirty → 1.0.0Harald Welte1-8/+8
Change-Id: Ie33252aef4144f9bb825d7c234970fd4e6083bb2
2018-11-27build manuals moved here from osmo-gsm-manuals.gitOliver Smith1-0/+43
Moved to doc/manuals/, with full commit history, in preceding merge commit. Now incorporate in the build system. Build with: $ autoreconf -fi $ ./configure --enable-manuals $ make Shared files from osmo-gsm-manuals.git are found automatically if - the repository is checked out in ../osmo-gsm-manuals; or - if it osmo-gsm-manuals was installed with "make install"; or - OSMO_GSM_MANUALS_DIR is set. Related: OS#3385 Change-Id: I728ebb56ade6dda079a0744c4e592284e1bea4f6
2018-10-27Add OC-2G BTS sourcesOmar Ramadan1-0/+22
Change-Id: I327384fe5ac944dc3996a3f00932d6f1a10d5a35
2018-10-21scheduler_trx.c: Switch to osmo_timerfd() of libosmocore >= 0.12.0Harald Welte1-6/+6
Change-Id: I721d493659fde57eca1543b2e63171df1be1279d Fixes: Coverity CID#178646
2018-09-12Install systemd services with autotoolsPau Espin Pedrol1-0/+18
Change-Id: I87299134696bbfc6721b1226d4de6c73854aa846
2018-07-02Remove unneeded direct libortp dependencyPau Espin Pedrol1-1/+0
All code in osmo-bts goes through APIs in libosmotrau (osmo_ortp.h), hence direct dependency is not needed. Fixes OBS warnings: dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/osmo-bts-trx/usr/bin/osmo-bts-trx was not linked against libortp.so.9 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/osmo-bts-virtual/usr/bin/osmo-bts-omldummy debian/osmo-bts-virtual/usr/bin/osmo-bts-virtual were not linked against libortp.so.9 (they use none of the library's symbols) Change-Id: I96a9b5f0678331dcf66c007928866a124d8700de
2018-07-02build: Install example cfg filesPau Espin Pedrol1-0/+2
Files from doc/examples/foo/bar.cfg are install to /usr/share/doc/osmo-bts/examples/osmo-bts-foo/bar.cfg. Change-Id: I7525d5a3e1a3c83a54f919cce9096303dd506f35
2018-06-28octphy: add support for 16x oversampling modePhilipp Maier1-0/+7
The latest octphy firmware release (octsdr-2g-02.11.00-B1927-alpha), introduces a 16X oversampling option which is not yet supported in osmo-bts. - Add oversampling flag in phy_link.h - Add VTY commands to enable/disable oversampling - Add phy messages to enable/disable oversampling - Add conditional compilation to preserve support for legacy header files and firmware Change-Id: Ib78f92bfe03ff20aa0a257763c90844fb7b87cf0 Related: SYS#4257 Patch-by: Octasic inc.
2018-05-03Bump version: 0.7.0.183-c45a-dirty → 0.8.00.8.0Pau Espin Pedrol1-8/+8
Change-Id: I92b7b584beac870d1dccc9d5637fa54154b6db03
2018-04-09octphy: integrate octasics latest header releasePhilipp Maier1-7/+77
At the moment osmo-bts does not compile with the latest header file release from OCTSDR-2G-02.10.00-B1837-ALPHA as there are struct members removed and new ones added. The changes do not affect actual functionality in the existing code. The only affected parts are vty functions that query status information about the clock sync manager. - Add detection logic in configure.ac to detect if the affected struct members are present - Add conditional compiling to handle the different combinations of available struct members. Change-Id: Ic38d8dc35522205c4ffab583b4e61b5ef03cdba2 Related: SYS#4139 Patch-by: Octasic inc.
2018-03-17Add 'osmo-bts-omldummy' to bring up only OML without RSLHarald Welte1-0/+1
This is used only in integration testing, where in the TTCN-3 testsuite we currently have no A-bis OML implementation, but only a RSL one. Change-Id: Id8e5f34091e6e32621d8c8673de7ea848dfd252f
2018-03-13configure: add --enable-werrorNeels Hofmeyr1-0/+21
Provide a sane means of adding the -Werror compiler flag. Currently, some of our jenkins.sh add -Werror by passing 'CFLAGS="-Werror"', but that actually *overwrites* all the other CFLAGS we might want to have set. Maintain these exceptions from -Werror: a) deprecation (allow upstream to mark deprecation without breaking builds); b) "#warning" pragmas (allow to remind ourselves of errors without breaking builds) As a last configure step before generating the output files, print the complete CFLAGS and CPPFLAGS by means of AC_MSG_RESULT. Change-Id: I5b37602a117350159183fb53ac330294b94f4195
2018-01-22sysmobts: move header check to appropriate placeMax1-11/+8
Move the header check specific to sysmoBTS 2050 next to generic sysmoBTS header check. Change-Id: I165c373b58146658a5a69a2d7222d60cff4db79a
2018-01-21sysmobts: remove weird default header locationMax1-4/+0
The sysmoBTS-specific headers were never looked for in the current directory. None of the CI tests use it as well. None of the other BTS models use such defaults. Let's just drop this to restore expected header location semantics. Change-Id: I0b2906e284e1e22a960c4f0f1f38724de009eda5
2018-01-21Move -I inside *INCDIR variableMax1-7/+7
Previouslywe could end-up passing empty '-I' to compilerif corresponding _INCDIR variable was not defined during the ./configure step. This is apparently tolerated by gcc but still seems like a wrong thingto do. Let's fix this by moving -I inside of *_INCDIR. Change-Id: I80915e5756d1bf64d789cfd5341fdd417ca8eed9
2018-01-21sysmobts: use proper includes for sbts2050 testMax1-1/+1
When testing for sbts2050_header.h during ./configure stage, use proper include path defined earlier. Change-Id: I55e50f612ab2a082b34096d71359dd08da150cf1
2018-01-21Remove unneeded LIBOSMOCORE_CFLAGS from testsMax1-3/+3
When testing for the presence of particular BTS model-specific header during ./configure step, we don't need to add LIBOSMOCORE_CFLAGS because none of those headers use it for compilation. Moreover, adding it might hide the problem if the headers under check are available in the same location where libosmocore headers were checked out. Change-Id: I64bf1acb9db999567e8a2a6690cfc96d6e4b7ee1
2018-01-19Enable optional static buildsMax1-1/+1
The default (for both manual and .deb builds) is to use shared build (as before) - the static build is entirely optional. Change-Id: Iabdebefef5c07dd1cd4b94b29ca40c6be0f8adda
2018-01-19Allow specifying sysmocom headers explicitlyMax1-0/+17
Add configure option --with-sysmobts=$INCDIR (like for LC1.5). Use to fix the jenkins build to fix the build after migration to stow, where we can no longer use a commin -I to include the sysmobts headers as well. Tweaked-by: neels Change-Id: I0416a9f4c428189cd9c3909c8bd016ca2908128a
2018-01-16Move sysmobts-calib into osmo-bts-sysmoMax1-0/+8
It's prerequisite for jenkins tests fix after migration to stow. The sysmobts-calib uses hand-coded Makefile instead of automake which makes it hard to properly propagate build flags. Also, make it optional to enable excluding it from certain jenkins tests. Change-Id: I3b54bfa5ef1d89092f6cf13dc27de10874b31b18
2017-12-21Add --enable-sanitize configure optionMax1-0/+9
Change-Id: I4e31e20ef2361c8f251f3ab04a0ac86e23d2e8a1
2017-10-28configure.ac: Fix Mailing list addressHarald Welte1-1/+1
We've had openbsc.org ages ago but have moved everything to osmocom.org at some point in 2010/2011. This should have been updated back then Change-Id: I5da8e9fba8f15719414fa81e2a6211f906329c2e
2017-10-27update dependencies to latest libosmo-*Harald Welte1-7/+7
We can either try to really build with those old versions or find the minimum version, or we can simply require latest version of all libosmo*, which is the safeest choice for now. Change-Id: I08915540b92d5135b0c325e30b5b6e24f88e6282
2017-10-23Move power loop to generic testsMax1-0/+1
There's nothing sysmobts specific in this test so let's move it into separate directory and run unconditionally. The test itself is unaltered except for intro text. Change-Id: I0d1957cd9cf5497826be095c7a42b7bb4fa10397 Related: OS#2223
2017-10-08Remove build dependency on legacy OpenBSCMax1-17/+1
* copy-paste gsm_data_shared.* from OpenBSC master * remove corresponding configure check and option * remove .deb dependency Actual refactoring with removal of unnecessary structures/parts, moving common OpenBSC/OsmoBSC parts into libraries etc. are left for further patches. Current patch will make coexistence with *BSC easier and will simplify our build infrastructure. Change-Id: I9f004fb5c4c1db29d4792dfd281d388c7063da13 Related: OS#1923
2017-07-22lc15: port lc15bts-mgr dependency changesMax1-0/+1
That's mostly changes related to lc15bts-mgr from https://gitlab.com/nrw_noa/osmo-bts branch nrw/litecell15 based on eb5b7f80510b603579f7af6d7d5ead296c2fa260 commit: * adjust comments to simplify further diffs * add libsystemd dependency to lc15bts-mgr * add software watchdog which uses it * ocxo calibration and gps related code Change-Id: I475a330af771891ba3c897294ce0dd57ec2ba8db Related: SYS#3732
2017-07-13VIRT-PHY: Initial check-in of a new virtual BTSHarald Welte1-0/+1
This patch adds a virtual physical layer designed to simulate the Um air interface between BTS and MS. It does so by encapsulating MAC blocks (Layer 2 PDUs) via GSMTAP and sending them through multicast UDP streams, both in uplink and in downlink. The purpose of this is enable testing without any radio hardware or related licenses. OsmocomBB has recently received as similar patch-set, adding a virty_phy executable that can be run on a PC instead of the classic 'layer1' firmware on a real phone. Using GSMTAP means that one can use unmodified wireshark to decode the messages exchanged on the virtual Um layer. This code was originally started by Harald in January 2016, continued by Sebastian Stumpf in late 2016 and early 2017, and finally completed by Harald in July 2017. Change-Id: I1bf7670975b1e367c1c62983020865a043542622
2017-07-10measurement: fix measurment reportPhilipp Maier1-0/+1
The end of the measurement reporting period is not aligned with the SACCH block where the results are reported. The tables that are used to detect the end of the measurement period are therefore wrong. The frame number of the SACCH block must be used and not the TDMA frame number (modulo 104) of the measurement reporing interval. The tables are oriented to the frame number of the first SACCH block, at the beginning of an interval. However, when a SACCH block is received it will always contain the result of the recently passed measurement reporting period. To match the tables, introduce another lookup table to remap each SACCH block that ends to the matching beginning block number. Change-Id: I1eef894e6f15b4449fc8926bebb118624efc7924
2017-07-10Use release helper from libosmocoreMax1-0/+4
Change-Id: Ib8efd2095fcf759276299b516d495219105c1f2b Related: OS#1861
2017-05-22Remove redundant testMax1-1/+0
After switching to libosmocoding there's no need in low-level bursts test which is part of libosmocoding anyway. Change-Id: Icb8caf62ac653a39a7a82f2225e8edeab7f5afb5
2017-05-22osmo-bts-trx: use libosmocodingMax1-0/+1
Remove built-in functions and use libosmocoding instead. Change-Id: I1b41bb1a8de655639107ec1f3b75afc240fd316f
2017-04-13octphy: set tx/rx antenne IDs via VTYPhilipp Maier1-0/+7
add support for the TX/RX antenna-id feature that has been introduced with release OCTSDR-2G-02.07.00-B1314-BETA. The user can now set individual ID numbers for the TX and for the RX antenna. Change-Id: I872fe3c4d7b593358a4ce2f02cf0726611b9f3aa
2017-04-13octphy: add conditional compilation to support latest octasic header releasePhilipp Maier1-1/+37
With octasics latest release (octsdr-2g-02.07.01-B1351-beta), some struct members are moved or renamed. This patch adds ifdef-logic and configure checks to restore compatibilty. Change-Id: I73287983e8bed8bf64b2ab87e6b810c2c59ea6fd
2017-02-07Add new unit-test for transmit power computation codeHarald Welte1-0/+1
This tests the computations of the tx_power.c code using sysmoBTS 1002, 1020, 1100 and 2050 values, as well as the power ramping code. Change-Id: I1cc88d4c6edff326e2e67d4f869aa02c9b2b1ac5
2016-11-27octphy: multi-trx support: fix AC_CHECK orderPhilipp1-1/+1
The header file octphy/octvc1/gsm/octvc1_gsm_default.h is not visible to the configure script when the octphy header files are referenced via --with-octsdr-2g instead having them installed in /usr/local/include. This results in a failed AC_CHECK_MEMBER check for tOCTVC1_GSM_TRX_CONFIG.usCentreArfcn, even if header files with multi-trx support are used. The configure.ac script manipulates the CPPFLAGS in order to make the octphy include files visible to AC_CHECK_ and restores the original CPPFLAGS when done. This is required when --with-octsdr-2g is used. AC_CHECK_MEMBER is executed before the CPPFLAGS are manipulated. This causes no issues if the headers are properly installed to /usr/local/include, but does not work when --with-octsdr-2g is used. This commit moves the AC_CHECK_MEMBER command into the section where the manipulated CPPFLAGS are valid in order to fix the problem described above See also commit: f5494e84e898f947190466d30d5f932bac0fadf9 Change-Id: I7bdfa4449cd6061c395cce315b372c2833520e37
2016-10-06octphy: reintroducing multi-trx supportPhilipp1-0/+1
The multi-trx had to be removed because of build conflicts with octphy header that lack the struct members for needed to support multi-trx. For details see the following revert-commits: ed6b48e4a5fba07c3ecccf689991799ae13a2aaa c9a1f284acf518cb4e62c3898e20398ed53807c3 This commit reintroduces multi trx support and ads an ifdef decision to ensure that header files without multi-trx support still work. Change-Id: I7f9b2906cc149c817183745b4c96bcc7f9ebdad0
2016-10-02configure: check for pkg-config presenceNeels Hofmeyr1-0/+7
Change-Id: Ifee0434dfa275f9faa517c740fd8577930f37188
2016-10-02build: be robust against install-sh files above the root dirNeels Hofmeyr1-0/+3
Explicitly set AC_CONFIG_AUX_DIR. To reproduce the error avoided by this patch: rm install-sh # in case it was already generated. touch ../install-sh # yes, outside this source tree autoreconf -fi This will produce an error like ... configure.ac:16: error: required file '../ltmain.sh' not found configure.ac:5: installing '../missing' src/Makefile.am: installing '../depcomp' autoreconf: automake failed with exit status: 1 See also automake (vim `which automake`) and look for 'sub locate_aux_dir'. Change-Id: I02153ad52faf1465e9f7821378e04118f17352d2
2016-02-15LC15: configure.ac: Allow specifying an alternate include-dirHarald Welte1-0/+11
The user can now use ./configure --with-litecell15=/my/local/path
2016-02-15LC15: configure.ac: use --enable-litecell15 insteda of --enable-litecell15-btsHarald Welte1-5/+5
2016-02-15LC15: Add initial support for the NuRAN Wireless Litecell 1.5Yves Godin1-0/+9
This commit adds basic support for the Litecell 1.5. Multi-TRX is not supported yet. Instead, multiple instances of the BTS can be launched using command line parameter -n <HW_TRX_NR> to specify if TRX 1 or 2 must be used by the bts. Note that only TRX 1 opens a connection to the PCU. Full support for GPRS on both TRX will come at the same time than the multi-TRX support. The BTS manager has been adapted to match the new hardware but otherwise it has not been improved or changed compared to the one used on the SuperFemto/Litecell (sysmobts).
2016-01-16Add support for Octasic OCTSDR-2G GSM PHYHarald Welte1-0/+20
This adds support for a new PHY to OsmoBTS, the Octasic OCTSDR-2G PHY. This is a proprietary GSM PHY running on a familty of Octasic DSPs.
2015-11-05Don't blindly link against '-lortp' but use pkg-config for thatHarald Welte1-0/+1
This also ensures that a missing ortp library dependency is discovered at configure time already
2015-11-05Revert "configure.ac: Add subdir-objects to suppress warnings"Harald Welte1-1/+1
This reverts commit 94a05abb98fcb1a5002f327888635f3af860c9a9. The tests don't work well with subdir-objects, so we have to live with the warnings meanwhile until somebody finds time to find the magic spell to solve the autotools quest.
2015-10-12configure.ac: Better description for --enable-sysmocom-bts and --enable-trxHarald Welte1-4/+4
2015-10-12configure.ac: Add subdir-objects to suppress warningsHarald Welte1-1/+1
automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities.
2015-10-12configure.ac: Depend on libosmotrau 0.3.2 (ortp statistics)Harald Welte1-1/+1
2015-10-12configure.ac: Only require libgps if building for sysmoBTSHarald Welte1-1/+3
2015-09-22Add test case for successful handover and unsuccessful handoverAndreas Eversberg1-0/+1
2015-09-22TRX: Replaced GSM 06.10 ordering table by table in libosmocodecAndreas Eversberg1-0/+1