Heinrich Schuchardt | 0f675d9 | 2019-11-07 08:05:17 +0100 | [diff] [blame] | 1 | #if 0 |
| 2 | # SPDX SPDX-License-Identifier: GPL-2.0+ |
| 3 | # |
| 4 | # Constants defining the host architecture in assembler, C, and make files. |
| 5 | # The values are arbitrary. |
| 6 | # |
| 7 | # Copyright 2019 Heinrich Schuchardt <xypron.glpk@gmx.de> |
| 8 | #endif |
| 9 | |
| 10 | #if 0 |
| 11 | export HOST_ARCH_AARCH64=0xaa64 |
| 12 | export HOST_ARCH_ARM=0x00a7 |
| 13 | export HOST_ARCH_RISCV32=0x5032 |
| 14 | export HOST_ARCH_RISCV64=0x5064 |
| 15 | export HOST_ARCH_X86=0x0386 |
| 16 | export HOST_ARCH_X86_64=0x8664 |
| 17 | #endif |
| 18 | |
| 19 | #define HOST_ARCH_AARCH64 0xaa64 |
| 20 | #define HOST_ARCH_ARM 0x00a7 |
| 21 | #define HOST_ARCH_RISCV32 0x5032 |
| 22 | #define HOST_ARCH_RISCV64 0x5064 |
| 23 | #define HOST_ARCH_X86 0x0386 |
| 24 | #define HOST_ARCH_X86_64 0x8664 |