History

fixdep: fix extraneous dependencies

The introduction of include/linux/kconfig.h created 3 extraneous dependencies: include/config/.h include/config/h.h include/config/foo.h Fix this by excluding kconfig.h from fixdep calculations.

Peter Foley committed 15 years ago

Commit 6a5be571 parent 49c57d21 file · +1 −0Browse files

Showing the changes to scripts/basic (1 of 1 file). Show all

Unified · Split

scripts/basic/fixdep.c+1−0
@@ -345,6 +345,7 @@ static void parse_dep_file(void *map, size_t len) · 344 unmodified lines
345345 memcpy(s, m, p-m); s[p-m] = 0;
346346 if (strrcmp(s, "include/generated/autoconf.h") &&
347347 strrcmp(s, "arch/um/include/uml-config.h") &&
348+ strrcmp(s, "include/linux/kconfig.h") &&
348349 strrcmp(s, ".ver")) {
349350 /*
350351 * Do not list the source file as dependency, so that

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t