mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	init: use $(call cmd,) for generating include/generated/compile.h
The 'cmd' macro shows the short log only when $(quiet) is quiet_. Do not do it manually. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
		
							parent
							
								
									2728fcfa4f
								
							
						
					
					
						commit
						41eba23efb
					
				
					 1 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
					@ -27,11 +27,11 @@ $(obj)/version.o: include/generated/compile.h
 | 
				
			||||||
# mkcompile_h will make sure to only update the
 | 
					# mkcompile_h will make sure to only update the
 | 
				
			||||||
# actual file if its content has changed.
 | 
					# actual file if its content has changed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
       chk_compile.h = :
 | 
					quiet_cmd_compile.h = CHK     $@
 | 
				
			||||||
 quiet_chk_compile.h = echo '  CHK     $@'
 | 
					      cmd_compile.h = \
 | 
				
			||||||
silent_chk_compile.h = :
 | 
						$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@	\
 | 
				
			||||||
include/generated/compile.h: FORCE
 | 
					 | 
				
			||||||
	@$($(quiet)chk_compile.h)
 | 
					 | 
				
			||||||
	$(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@	\
 | 
					 | 
				
			||||||
	"$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)"	\
 | 
						"$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)"	\
 | 
				
			||||||
	"$(CONFIG_PREEMPT_RT)" $(CONFIG_CC_VERSION_TEXT) "$(LD)"
 | 
						"$(CONFIG_PREEMPT_RT)" $(CONFIG_CC_VERSION_TEXT) "$(LD)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					include/generated/compile.h: FORCE
 | 
				
			||||||
 | 
						$(call cmd,compile.h)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue