[LTP] [PATCH v2 1/1] Makefile: Add kernel modules related make targets
Petr Vorel
pvorel@suse.cz
Wed Aug 6 21:49:35 CEST 2025
> Hi!
> > MODULE_DIRS := $(shell \
> > dirname $(grep -l 'include.*module\.mk' $(find testcases/ -type f -name 'Makefile')) | sort -u
> > )
> > Although this works, I wonder if we want to depend on a shell detection like
> > this (I'd appreciate others' opinion).
> Looks okay to me. It's much better than hardcoding the paths, we will
> likely forget to update any hardcoded info.
Good, thanks, going to send v3.
Kind regards,
Petr
More information about the ltp
mailing list