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

Cyril Hrubis chrubis@suse.cz
Fri Aug 15 16:12:35 CEST 2025


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 ) ?


Otherwise:

Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list