mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-25 18:18:19 +01:00 
			
		
		
		
	efi_default_filename.h requires HOST_ARCH to be defined. Up to now we defined it via a CFLAGS. This does not scale. Add the symbol to version_autogenerated.h instead. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
		
			
				
	
	
		
			27 lines
		
	
	
		
			629 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			629 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #if 0
 | |
| # SPDX SPDX-License-Identifier: GPL-2.0+
 | |
| #
 | |
| # Constants defining the host architecture in assembler, C, and make files.
 | |
| # The values are arbitrary.
 | |
| #
 | |
| # Copyright 2019 Heinrich Schuchardt <xypron.glpk@gmx.de>
 | |
| #endif
 | |
| 
 | |
| #if 0
 | |
| export HOST_ARCH_AARCH64=0xaa64
 | |
| export HOST_ARCH_ARM=0x00a7
 | |
| export HOST_ARCH_RISCV32=0x5032
 | |
| export HOST_ARCH_RISCV64=0x5064
 | |
| export HOST_ARCH_X86=0x0386
 | |
| export HOST_ARCH_X86_64=0x8664
 | |
| #endif
 | |
| 
 | |
| #include <version.h>
 | |
| 
 | |
| #define HOST_ARCH_AARCH64 0xaa64
 | |
| #define HOST_ARCH_ARM 0x00a7
 | |
| #define HOST_ARCH_RISCV32 0x5032
 | |
| #define HOST_ARCH_RISCV64 0x5064
 | |
| #define HOST_ARCH_X86 0x0386
 | |
| #define HOST_ARCH_X86_64 0x8664
 |