mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	Introduce a Makefile under arch/$ARCH/ and include it in the top Makefile (similar to Linux kernel). This allows further refactoringi like moving architecture-specific code out of global makefiles, deprecating config variables (CPU, CPUDIR, SOC) or deprecating arch/$ARCH/config.mk. In contrary to Linux kernel, U-Boot defines the ARCH variable by Kconfig, thus the arch Makefile can only included conditionally after the top config.mk. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Acked-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
		
			
				
	
	
		
			9 lines
		
	
	
		
			127 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			127 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
#
 | 
						|
# SPDX-License-Identifier:	GPL-2.0+
 | 
						|
#
 | 
						|
 | 
						|
head-y := arch/nios2/cpu/start.o
 | 
						|
 | 
						|
libs-y += arch/nios2/cpu/
 | 
						|
libs-y += arch/nios2/lib/
 |