[LTP] [PATCH v5 2/2] modules.mk: Add FORCE_MODULES=1 to fail on error

Petr Vorel pvorel@suse.cz
Fri Aug 15 17:07:27 CEST 2025


Hi Cyril, Li,

> Hi!
> > diff --git a/INSTALL b/INSTALL
> > index 10c19d4105..7c25c23347 100644
> > --- a/INSTALL
> > +++ b/INSTALL
> > @@ -172,9 +172,15 @@ LTP contains few kernel modules and tests which are using them.
> >  These require to be built with the same kernel headers as the running kernel (SUT).
> >  Sometimes the best way to achieve this is to compile them on the SUT.

> > +Due Linux Kernel Driver Interface unstability [1], error during building kernel
> > +modules does not break the build. Make errors fatal can be done by FORCE_MODULES=1
> > +make variable.
> > +
> >  'modules', 'modules-clean' and 'modules-install' make targets are shortcuts
> >  to build just these modules and tests.

> > +[1] https://docs.kernel.org/process/stable-api-nonsense.html)
>                                                                ^
> 						Stray ) ?

+1, fixed and merged.

Thank you both for a review.

Kind regards,
Petr


More information about the ltp mailing list