[LTP] [PATCH v3 1/2] Makefile: Add kernel modules related make targets
Li Wang
liwang@redhat.com
Thu Aug 7 04:15:43 CEST 2025
On Thu, Aug 7, 2025 at 7:22 AM Li Wang <liwang@redhat.com> wrote:
> Hi Petr,
>
> On Thu, Aug 7, 2025 at 5:14 AM Petr Vorel <pvorel@suse.cz> wrote:
>
>> 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.
>>
>> Add 'modules', 'modules-clean' and 'modules-install' make targets to
>> make it easier to build them.
>>
>
> Maybe better to keep the make target consistent with the kernel build
> command:
> make modules_install
> make modules_clean
>
Also, it looks like LTP mixes using "-" and "_" in its make targets:
lib-all, metadata-all, clean_install_dir, ver_linux
So we may need to use just one selection, which can be done in a separate
patch anyway.
--
Regards,
Li Wang
More information about the ltp
mailing list