mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	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. Signed-off-by: Peter Foley <pefoley2@verizon.net> Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
		
							parent
							
								
									49c57d254e
								
							
						
					
					
						commit
						6a5be57f0f
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -345,6 +345,7 @@ static void parse_dep_file(void *map, size_t len)
 | 
				
			||||||
		memcpy(s, m, p-m); s[p-m] = 0;
 | 
							memcpy(s, m, p-m); s[p-m] = 0;
 | 
				
			||||||
		if (strrcmp(s, "include/generated/autoconf.h") &&
 | 
							if (strrcmp(s, "include/generated/autoconf.h") &&
 | 
				
			||||||
		    strrcmp(s, "arch/um/include/uml-config.h") &&
 | 
							    strrcmp(s, "arch/um/include/uml-config.h") &&
 | 
				
			||||||
 | 
							    strrcmp(s, "include/linux/kconfig.h") &&
 | 
				
			||||||
		    strrcmp(s, ".ver")) {
 | 
							    strrcmp(s, ".ver")) {
 | 
				
			||||||
			/*
 | 
								/*
 | 
				
			||||||
			 * Do not list the source file as dependency, so that
 | 
								 * Do not list the source file as dependency, so that
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue