Attention is currently required from: osmith, pespin.
fixeria has posted comments on this change by osmith. (
https://gerrit.osmocom.org/c/osmo-dev/+/40770?usp=email )
Change subject: gen_makefile: support new Osmocom erlang makefiles
......................................................................
Patch Set 1:
(1 comment)
File gen_makefile.py:
https://gerrit.osmocom.org/c/osmo-dev/+/40770/comment/389a309f_12c9aa60?usp… :
PS1, Line 375: for i in {build_proj}/default/bin/*; do \\
: if [ -e "$$i" ]; then \\
: install -v -Dm755 "$$i" -t
{shlex.quote(args.install_prefix)}/bin/; \\
Does this really pick the right if-branch in the case of osmo-s1gw?
```
$ make release
...
$ ls -la _build/default/bin/
total 104
drwxr-xr-x 2 fixeria fixeria 4096 июл 29 20:14 .
drwxr-xr-x 6 fixeria fixeria 4096 июл 29 20:17 ..
-rwxr-xr-x 1 fixeria fixeria 95317 июл 29 20:14 setup_gen
```
IIUC, this code will just copy `setup_gen` and not execute `make install`?
Maybe be something like this instead?
```
if grep -q "^install:" Makefile; then
# make install as you do in the else branch
else
for i in {build_proj}/default/bin/*; do
install -v -Dm755 "$$i" -t {shlex.quote(args.install_prefix)}/bin/; \\
fi
fi
```
Feels like I am missing something.
--
To view, visit
https://gerrit.osmocom.org/c/osmo-dev/+/40770?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I92d6fc6eb5a11068d4b3baca55dfb3abdedbbbf1
Gerrit-Change-Number: 40770
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 29 Jul 2025 13:28:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No