forked from mirrors/linux
		
	Don't clean bounds.h and asm-offsets.h
Since 97965478a6 ("mm: Get rid of __ZONE_COUNT")
mmzone.h includes bounds.h.
Calling make clean after make prepare removes bounds.h
again so when building external modules this fails.
Signed-off-by: Jan Blunck <jblunck@suse.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
--
			
			
This commit is contained in:
		
							parent
							
								
									107f43a0f7
								
							
						
					
					
						commit
						7d3cc8b6d8
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										3
									
								
								Kbuild
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Kbuild
									
									
									
									
									
								
							| 
						 | 
					@ -96,5 +96,4 @@ missing-syscalls: scripts/checksyscalls.sh FORCE
 | 
				
			||||||
	$(call cmd,syscalls)
 | 
						$(call cmd,syscalls)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Delete all targets during make clean
 | 
					# Delete all targets during make clean
 | 
				
			||||||
clean-files := $(addprefix $(objtree)/,$(targets))
 | 
					clean-files := $(addprefix $(objtree)/,$(filter-out $(bounds-file) $(offsets-file),$(targets)))
 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								Makefile
									
									
									
									
									
								
							| 
						 | 
					@ -1114,6 +1114,7 @@ MRPROPER_DIRS  += include/config include2 usr/include
 | 
				
			||||||
MRPROPER_FILES += .config .config.old include/asm .version .old_version \
 | 
					MRPROPER_FILES += .config .config.old include/asm .version .old_version \
 | 
				
			||||||
                  include/linux/autoconf.h include/linux/version.h      \
 | 
					                  include/linux/autoconf.h include/linux/version.h      \
 | 
				
			||||||
                  include/linux/utsrelease.h                            \
 | 
					                  include/linux/utsrelease.h                            \
 | 
				
			||||||
 | 
					                  include/linux/bounds.h include/asm*/asm-offsets.h     \
 | 
				
			||||||
		  Module.symvers tags TAGS cscope*
 | 
							  Module.symvers tags TAGS cscope*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# clean - Delete most, but leave enough to build external modules
 | 
					# clean - Delete most, but leave enough to build external modules
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue