mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	Most users don't need the standalone API examples. Distributions like SUSE do not supply libgcc for cross-compiling and we cannot do without on ARMv8 for building examples/. Make examples selectable via symbol CONFIG_EXAMPLES. It defaults to yes on ARCH_QEMU to ensure that we compile the API as part of our continuous integration. Cc: Matthias Brugger <mbrugger@suse.com> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Matthias Brugger <mbrugger@suse.com>
		
			
				
	
	
		
			12 lines
		
	
	
		
			189 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			189 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| # SPDX-License-Identifier: GPL-2.0+
 | |
| 
 | |
| ifdef CONFIG_EXAMPLES
 | |
| 
 | |
| ifdef FTRACE
 | |
| subdir-ccflags-y += -finstrument-functions -DFTRACE
 | |
| endif
 | |
| 
 | |
| subdir-y += standalone
 | |
| subdir-$(CONFIG_API) += api
 | |
| endif
 |