Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I0b8e5a5a62a229b60b0133541efbaad616093a23
|
|
Since recent system upgrade which pulled in sdcc 4.3.0, build fails with
following error:
/git/libusrp/firmware/include/fx2regs.h:324: syntax error: token -> '+' ; column 26
It seems newer sdcc doesn't like having sums directly in there. Using
parenthesis around the expression fixes the problem.
Related: OS#6157
Change-Id: Iccc0b1ffe95971957f16008c3e3b873d065ba0ea
|
|
Change-Id: Ie9e14cfb70168d0ff2bcdfb2695d3cb0f77cd5db
|
|
None of those follow osmocom coding style.
Change-Id: I2276ca7aa2b246447aeebcaa5a8cb3049147c3c9
|
|
With upgrading the debhelper compat level to v10, parallel building was
enabled by default. But this doesn't work reliably with libusrp, so
disable it. On OBS, out of 18 builds, two failed.
Related: OS#3970
Change-Id: Ic23778320a44ec6ee2fef499216eb8a0c52603d2
|
|
Change-Id: Ic0459bd5585fbcf3af785dfda167811a07107edb
|
|
Related: OS#5958
Change-Id: If42ed8736658d23c99fdd8cbbe511819b1568cbe
|
|
Change RESULT to ERROR so the configure script stops when SDCC is not
found. Otherwise it tries to use "no":
no -I../../firmware/include -c delay.c -o delay.rel
/bin/bash: line 1: no: command not found
Change-Id: Id8defcc72a35e469a1eeb59919d66cc7cf2f6ac8
|
|
Change-Id: I99e104cbcf33eec9f484ff3a8abf7162a1ac821b
|
|
Change-Id: I40c6fa0760fb76382432256ba1e3b663628dfa0d
|
|
Fix for:
/bin/bash: -c: line 11: syntax error near unexpected token `|'
/bin/bash: -c: line 11: `echo "$py_files" | | sed '$!N;$!N;$!N;$!N;$!N;$!N;$!N;s/\n/ /g' | sed '$!N;$!N;$!N;$!N;s/\n/ /g' | \'
Fixes: OS#5609
Change-Id: I5c18b5479c86333a478b61c4a50ede69af7d6700
|
|
Change-Id: I4415a6fc189ffff9ea7d640d28debae70807a242
|
|
Let's move to python3, it's 2020 and the conversion seemed
actually rather trivial (famous last words).
Change-Id: Ib1604b36c32630e1360e06567cbd5f63a78df547
|
|
Change-Id: Ibf5f88d51c36ff9577f748c004562bd8ed2e96bf
Fixes: CID#240717
|
|
Every time the get_proto_filename() is called, a new instance
of std::string is allocated for the first argument. When the
function returns, this instance gets deallocated. Therefore,
the returned user_filename.c_str() points to free()d memory.
Change-Id: Ib0007e9aebd9e77c28531c1ec70c61f1723a2d0d
Fixes: CID#240724
|
|
Change-Id: I3e3ba31e5a68f92a330c5791ee72ad1ffab83da9
Fixes: CID#240737
|
|
Change-Id: I9245df7569f0fed936d5e1a1783fc40203cecba1
|
|
Change-Id: Iaf3545265d8ec28f9b760b55e6170808c35f6ccb
|
|
This hopefully should fix the libusrp build errors on OBS for
Debian testing + unstable.
Change-Id: I6525e90b63c442b5ec69b4730e92f576694ea1a2
|
|
Change-Id: Ic982838b33111c0dd1195cd885bba2228d7bc40e
|
|
Generate the soname from LIBVERSION (initially 1:0:0), instead of VERSION.
This means, we have binary compatibility between each major release
(which we should increase if we ever have a breaking change), instead of
forcing a binary incompatibility for each packaged version (also nightly
packages). This is how we do it in other Osmocom projects, too.
Fix nightly RPM packaging, as we now don't need to add the git commit to
the package name:
[ 135s] libusrp.i586: E: shlib-policy-name-error (Badness: 10000) libusrp-3_4_4_4_c46f0
[ 135s] Your package contains a single shared library but is not named after its
[ 135s] SONAME.
The debian package is already using libusrp1 as package name.
Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Make_a_new_release
Change-Id: I73b222ea7e2fd0117827f9d6f28b23671068533b
|
|
Remove OpenSUSE bug report link, set version to @VERSION@, make it build with
CentOS 8 etc.
Related: OS#4550
Change-Id: I453ff45ec449834dfee298ecc6015e6d54768bea
|
|
Copy the RPM spec file from:
https://build.opensuse.org/project/show/home:mnhauke:osmocom:nightly
Related: OS#4550
Change-Id: I45edbd4ae5bca1194c17452e8fd3538742ca1ef0
|
|
Without this patch, building on an RPI4 ends up with
BOOST_LDFLAGS=-L/usr/lib while libs are actually under
/usr/lib/arm-linux-gnueabihf, and configure will later file during
AX_BOOST_THREAD macro.
Change-Id: I7a6b2dca5ced6a6a5232fe78b071dfafdda0b0f3
|
|
Fetched from:
https://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_base.m4
Change-Id: Id2753b8d13817d3bfa6cb198b272c60f466b6da6
|
|
Sometimes the jenkins job fails to build. I never have this issue
on my workstation. Disabling PARALLEL_MAKE is osmo-trx jenkins.sh (which
requires libusrp build) made libusrp stop failing there, so let's do the
same here.
OS#3970
Change-Id: Iab8eab6d21365e3ee8d018428a707c56cc1b72e5
|
|
Change-Id: If47c3a8f03cfd2eaff84359a9a2bfce02f3b9a10
|
|
Change-Id: I94b2f2d00d73b62dcdbc85ae15d9b26de5a6f879
|
|
No other osmocom project does it.
Change-Id: Ieb3d8070b9a5764bf763fad4fa83f9976df34bd4
|
|
Change-Id: I7f3ace74e30aba8609f435e76256badd93fb0220
|
|
Change-Id: Ib5458af1df08eec82339b4e7f7696b9c390a3078
|
|
See
https://osmocom.org/projects/cellular-infrastructure/wiki/Make_a_new_release
for details.
Change-Id: I3aaa768a9c7afda11852521c548352244bf141ac
|
|
Change-Id: I8b6b8781c95a4930b89e5c5462d322cf04ccda67
|
|
Related: OS#3047
Change-Id: Ic277f37413cb338f4f9bdf4c5fc033d94a2cd5db
|
|
Properly remove lk files to fix the following error during
"make distcheck".
ERROR: files left in build directory after distclean:
./firmware/src/usrp2/eeprom_boot.lk
./firmware/src/usrp2/std.lk
Change-Id: I5f1b1f5ad72112ba7212800da7f85846bb6e7187
|
|
C++11 [-Wdeprecated]'
Change-Id: Ie472e6f92944cfe1af7d63cd644879573d080ca2
|
|
Change-Id: I79cbb834f02dc3f804e5a1476724245407f0eade
|
|
Fix the script so it is python2 and python3 compatible, then let the
distro decide which python version to use.
Change-Id: If805c8167e2cf57ce3d6143dddfd4685ad729142
|
|
The script contains python2-only syntax, so it can only be run with
python2. Make sure to explicitly specify it needs to be run with python2
in order to run it fine on distros where python points to python3.
Change-Id: Ie695c26f1b2a4f84bdc2b67938fe37a4c50681dd
|
|
Change-Id: I29617f080af81921e4ee0f7a53eaae5ba2e3c30b
|
|
We recently re-introduced building the USRP1 FX2 firmware
using SDCC. This needs to be listed as requirement for building
the package, otherwise build are failing.
Change-Id: I23ca8d7ad26437f2c971608cd881a6f40e26a887
|
|
Change-Id: Ide58bb2969a41f5ccb563b7e0ae13e4bf5932127
|
|
Back in df354005f35c072976bfd6f1b031827cf3fa2e98, for some reason
building the USRP1 FX2 firmware was disabled. Let's re-enable it, as
the FX2 firmware is required as an essential part of USRP1 device
operation. It's loaded into the FX2 RAM over USB after the initial USB
attach.
As the firmware code has meanwhile been ported to a more modern
SDCC dialect (SDCC 3.2 or later, released in 2012), we have to adjust
the required minimum SDCC version.
Change-Id: I66ecc66bca3e8c171d2dd0d15c71186e16e8cc3b
|
|
SDCC, at least from version 3 onwards, has change the names of special
attributes like "at" or "sfr". They are now all prefixed with double-
underscores.
Upstream fx2lib has made that change in commit 3071389d9a868ed553b84809b399008648536fcf
which can be obtained from
https://github.com/djmuhlestein/fx2lib/pull/1/commits/3071389d9a868ed553b84809b399008648536fcf
Change-Id: I5df64bc3cc09402bdfacec9c256e96135e3688fd
|
|
When we forked libusrp from the gnuradio source archive, we moved
around the directories, but failed to adjust the FW_INCLUDES.
Change-Id: I51a10da2325f7f6d158bb80f43e42b6ed29006f0
|
|
The .tarball-version file should contain the *source version* uniquely
identifying the git commit, and not the Debian package name.
With https://gerrit.osmocom.org/#/c/osmo-ci/+/10343/ there is a correct
.tarball-version file in the .tar.xz of the nightly source packages.
Related: OS#3449
Change-Id: Idb187930d08b9e427ec07b4d27f138c106f69f99
|
|
AM_PATH_PYTHON is broken, we already dropped it in other osmocom
projects.
Change-Id: I17a79464718c9dcf8f4f579fb1871bfac22075e3
|
|
Related: OS#3218
Change-Id: I5ff1d76f533b9ac68ab3f2c70ead6b66f4413b4f
|
|
Change-Id: I899cde47bb03ed6f00d431e7d744be6f663ae314
|
|
Change-Id: I8f71cf91d4cdbe0fdc4e451b89d95437ff800337
|