All the code in early_serial_console.c gets compiled out if !CONFIG_EARLY_PRINTK, but early_serial_console.o itself still gets compiled in. Eliminate it from the compile entirely in that case. This does not change the generated code at all, in either case. Signed-off-by: Josh Triplett <josh@joshtriplett.org>
		
			
				
	
	
		
			5 lines
		
	
	
	
		
			80 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
	
		
			80 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
#include "misc.h"
 | 
						|
 | 
						|
int early_serial_base;
 | 
						|
 | 
						|
#include "../early_serial_console.c"
 |