blob: d5969229b5048047a8b997798299132904a27911 (
plain) (
tree)
|
|
# 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
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/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\\//' > $@
|