blob: c4a3f943c7738445ce5417ad4810d82fe9bb2e11 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# See LICENSE file for copyright and license details.
LINUX_VERSION = 6.6
# Changing this number can potentially break the build,
# silently or violently, so make sure everything still
# works afterwards
SUPPORTED_LINUX_ARCHES =\
ALPHA\
AMD64\
AMD64_X32\
ARM_OABI\
ARM_EABI\
IA64\
M68K\
MICROBLAZE\
MIPS_O32\
MIPS_N32\
MIPS_N64\
PARISC_32\
PARISC_64\
POWERPC_32\
POWERPC_64\
POWERPC_NOSPU\
POWERPC_SPU\
S390_32\
S390_64\
SH\
SPARC_32\
SPARC_64\
I386\
XTENSA
OPERATING_SYSTEMS += linux
NPARAMS += 8
NFIELDS += 60
SUPPORTED_LINUX_ARCHES != printf '%s\n' $(SUPPORTED_LINUX_ARCHES) $(SUPPORTED_ARCHES) | sort | uniq -d
TEST_ENV += SUPPORTED_LINUX_ARCHES="$(SUPPORTED_LINUX_ARCHES)"
include linux/download.mk
include linux/errors.mk
include linux/integers.mk
include linux/signals.mk
include linux/syscalls.mk
include linux/syscall-table.mk
include linux/symbols.mk
include linux/types.mk
HDR += generated/linux-arches.h
generated/linux-arches.h: linux/linux-support.mk
mkdir -p -- generated
(printf '\43define LIST_LINUX_ARCHES(X, D)\\\n' && \
printf '\tX(%s) D\\\n' $(SUPPORTED_LINUX_ARCHES); \
) | sed '$$s/ D\\//' > $@
|