Attention is currently required from: osmith, pespin.

fixeria has posted comments on this change by fixeria. ( 
https://gerrit.osmocom.org/c/osmocom-bb/+/43828?usp=email )

Change subject: trxcon/trx_if: migrate to libosmo-trx
......................................................................


Patch Set 1:

(1 comment)

Commit Message:

https://gerrit.osmocom.org/c/osmocom-bb/+/43828/comment/adf401cc_d223f932?usp=email
 :
PS1, Line 17: flag (default auto), so that building the rest of osmocom-bb 
doesn't
> This will enable the feature for some people who happen to have 
> libosmo-trx-dev installed, and not for others, who may then see a strange 
> error somewhere down the road when things don't work.

Not sure what kind of errors you mean. If a user does not need / care about 
trxcon, this change is irrelevant to them and they don't have to install any 
additional dependencies. If a user does need trxcon, then they'll see no binary 
and will need to inspect the configure / build logs to understand why and 
what's missing.

To me "auto" actually looks like an acceptable approach here. And this is not 
new: in `src/host/layer23/configure.ac` we conditionally enable LUA scripting 
(`BUILD_LUA`) and GAPK I/O (`BUILD_GAPK`) if the respective dependencies are 
available, i.e. automatically. Other projects like Wireshark also automatically 
enable/disable certain features at configure-time depending on available 
dependencies.


If we go for `no` as the default, then it simply does not make sense to have 
`trxcon` target in the top-level `Makefile` because it will not build the 
actual binary. I would rather make it `yes` by default and simply remove 
`trxcon` from the `nofirmware` recipe. But to me, honestly, this is still a 
less favorable approach.



--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/43828?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I4604f4b12ca903e936dedf167b478455bd28a2e8
Gerrit-Change-Number: 43828
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-Attention: osmith <[email protected]>
Gerrit-Attention: pespin <[email protected]>
Gerrit-Comment-Date: Fri, 09 Oct 2026 15:43:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: osmith <[email protected]>
Comment-In-Reply-To: pespin <[email protected]>

Reply via email to