[LTP] [PATCH v2 1/1] Makefile: Add kernel modules related make targets
    Cyril Hrubis 
    chrubis@suse.cz
       
    Wed Aug  6 15:29:33 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.
-- 
Cyril Hrubis
chrubis@suse.cz
    
    
More information about the ltp
mailing list