commit | 650f89cd2510820a71dfc1b004634a309f12ecf1 | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.de.marchi@gmail.com> | Wed Nov 28 14:26:23 2012 -0200 |
committer | Lucas De Marchi <lucas.de.marchi@gmail.com> | Wed Nov 28 14:26:23 2012 -0200 |
tree | 70560a3b4ed8ad02947a61dfd8ae32686afc7d22 | |
parent | 5d352563bd3a8d1c6bc07969a5fefe7ddf6bf1c6 [diff] |
depmod: fix checking file extension In depfile_up_to_date_dir() we need to check if name has a kmod extension. "path" variable there will be the directory name, which doesn't contain an extension. Without this, "depmod -A" returns that the modules.dep is up to date, even if it isn't. In depmod_modules_search_file() it's pointless to compare the basename, so pass only the name to be checked.