On 25.02.25 19:16, Christopher Obbard wrote:
> Hi Jan,
> 
> On Tue, 25 Feb 2025 at 18:11, Jan Kiszka <[email protected]> wrote:
>>
>> On 25.02.25 19:02, Christopher Obbard wrote:
>>> For some builds, e.g. inside a minimal buildroot image, we may not want the
>>> tests to be built. Add an option --disable-tests to configure to disable
>>> building the tests.
>>
>> Now playing with it again: tests are only build if explicitly requested
>> (make check), not via plain "make". What exactly is the problem you are
>> facing in that case?
> 
> Thanks for that hint. Hmm, I am building efibootguard with buildroot
> using the autoconf built-in abstraction (not entirely sure what
> commands it is calling under the hood), which builds the tests
> (linking to check and lots of other things).
> When building the host tools, building the tests causes some
> additional dependencies. So I am disabling the building of the tests
> to workaround needing to package more things in buildroot.
> 
> I guess I need to check if/how buildroot is calling "make check" in my
> efibootguard package. Again: buildroot is something I don't know well
> enough, but know enough to cause trouble ;-).

buildroot is just many makefiles and a little bit of kconfig ;).

Should be possible to figure out the exact rule it calls for building
(verbose mode?), and maybe you only need to tell it to not run package
tests? But if here is something in addition that causes the tests to be
built, we can still merge this here. I just want to understand the
reason better.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center

-- 
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 visit 
https://groups.google.com/d/msgid/efibootguard-dev/dc22aa55-1e0c-40b7-80c3-9e022c02aefb%40siemens.com.

Reply via email to