forked from Mirrors/opensbi
		
	We extend the top-level makefile to allow kconfig based configuration for each platform where each platform has it's own set of configs with "defconfig" being the default config. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Tested-by: Andrew Jones <ajones@ventanamicro.com> Acked-by: Atish Patra <atishp@rivosinc.com> Tested-by: Atish Patra <atishp@rivosinc.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			471 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			471 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# SPDX-License-Identifier: BSD-2-Clause
 | 
						|
 | 
						|
mainmenu "OpenSBI $(OPENSBI_PLATFORM) Configuration"
 | 
						|
 | 
						|
config OPENSBI_SRC_DIR
 | 
						|
	string
 | 
						|
	option env="OPENSBI_SRC_DIR"
 | 
						|
 | 
						|
config OPENSBI_PLATFORM
 | 
						|
	string
 | 
						|
	option env="OPENSBI_PLATFORM"
 | 
						|
 | 
						|
config OPENSBI_PLATFORM_SRC_DIR
 | 
						|
	string
 | 
						|
	option env="OPENSBI_PLATFORM_SRC_DIR"
 | 
						|
 | 
						|
menu "Platform Options"
 | 
						|
source "$(OPENSBI_PLATFORM_SRC_DIR)/Kconfig"
 | 
						|
endmenu
 | 
						|
 | 
						|
source "$(OPENSBI_SRC_DIR)/lib/utils/Kconfig"
 | 
						|
 | 
						|
source "$(OPENSBI_SRC_DIR)/firmware/Kconfig"
 |