> So, problem solved, at least for me ;)
I was too quick with my conclusion. Incremental compilation does not work as it
should, even on Arch Linux.
git revision: c8ad20f36145bb4cd5a61549fd96bb7cbde0f144
Steps (clean checkout):
```
$ autoreconf -fi
$ ./configure
$ make
# first time
$ ./bg_printenv --help
Usage: bg_printenv [OPTION...]
# ...
# edit tools/bg_setenv.c
$ make
# second time
$ ./bg_printenv --help
Usage: lt-bg_setenv [OPTION...]
# ...
```
1) The first time, ./bg_printenv is an ELF file and everything is fine, i.e.
bg_printenv thinks that it is bg_printenv.
2) The second time, ./bg_printenv is a shell script (generated by libtool) and
hands over control to .libs/lt-bg_setenv.
Thus bg_printenv believes that it is bg_setenv, which is wrong.
Kind regards,
Michael
--
Michael Adler
Siemens AG
T RDA IOT SES-DE
Otto-Hahn-Ring 6
81739 München, Deutschland
Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Jim Hagemann Snabe;
Vorstand: Roland Busch, Vorsitzender; Klaus Helmrich, Cedrik Neike, Matthias
Rebellius, Ralf P. Thomas, Judith Wiese; Sitz der Gesellschaft: Berlin und
München, Deutschland; Registergericht: Berlin-Charlottenburg, HRB 12300,
München, HRB 6684; WEEE-Reg.-Nr. DE 23691322
--
You received this message because you are subscribed to the Google Groups "EFI
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/efibootguard-dev/20211019114350.52o6sn43fomgt3ee%40kratos.