blob: 7264bb5e1080645ddf69c863cbe8471de3ab6665 [file] [log] [blame]
Nico Huber6f6a1c32023-03-17 12:56:49 +00001# No ccache
2$(ALMALINUX_TAGS) $(filter centos\:%, $(MULTIARCH_TAGS)): CC=cc
3
4# DJGPP is very special
Nico Huber619d9c02024-04-20 17:51:20 +02005djgpp\:6.1.0: ENV_VARS=CROSS_COMPILE=i586-pc-msdosdjgpp-
Nico Huber6f6a1c32023-03-17 12:56:49 +00006djgpp\:6.1.0: CC=ccache i586-pc-msdosdjgpp-gcc
7djgpp\:6.1.0: STRIP=i586-pc-msdosdjgpp-strip
8djgpp\:6.1.0: LIBS_BASE=../
Nico Huberda095992023-03-17 13:02:31 +00009djgpp\:6.1.0: MAKEARGS+=HAS_LIBPCI=yes CONFIG_LIBPCI_LDFLAGS=-lpci
10djgpp\:6.1.0: MAKEARGS+=strip
Nico Huber619d9c02024-04-20 17:51:20 +020011djgpp\:6.1.0: MESONCMD=
Nico Huber6f6a1c32023-03-17 12:56:49 +000012
13# Compiler doesn't like simplified initializers, e.g. `= { 0 };`
14$(filter centos\:%, $(MULTIARCH_TAGS)): MAKEARGS+=WARNERROR=no
15
Nico Huberb1d4b1d2023-03-17 13:32:06 +000016# No libftdi1
17NO_LIBFTDI1_TAGS := \
18 $(ALMALINUX_TAGS) \
19 $(filter centos\:%, $(MULTIARCH_TAGS)) \
20
21$(NO_LIBFTDI1_TAGS): MAKEARGS+=CONFIG_FT2232_SPI=no CONFIG_USBBLASTER_SPI=no
22
23# No libgpiod
24NO_LIBGPIOD_TAGS := \
25 $(filter %\:8, $(ALMALINUX_TAGS)) \
26 $(filter centos\:% %-bionic %-xenial %-stretch, $(MULTIARCH_TAGS)) \
27 $(foreach v, fedora\:24 fedora\:25, $(filter $(v)-%, $(MULTIARCH_TAGS))) \
28 $(foreach v, v3.6 v3.7 v3.8 v3.9 v3.10, $(filter alpine\:%-$(v), $(MULTIARCH_TAGS))) \
29
30$(NO_LIBGPIOD_TAGS): MAKEARGS+=CONFIG_LINUX_GPIO_SPI=no
31
Nico Huber6f6a1c32023-03-17 12:56:49 +000032# No libjaylink
Nico Huberb1d4b1d2023-03-17 13:32:06 +000033NO_LIBJAYLINK_TAGS := \
34 $(ALMALINUX_TAGS) \
35 $(filter alpine\:% centos\:% %-xenial %-stretch, $(MULTIARCH_TAGS)) \
Nico Huberb1d4b1d2023-03-17 13:32:06 +000036
37$(NO_LIBJAYLINK_TAGS): MAKEARGS+=CONFIG_JLINK_SPI=no
Nico Huber619d9c02024-04-20 17:51:20 +020038
39# No compatible Meson
40NO_MESON_TAGS := \
41 $(filter anita\:7.%, $(ANITA_TAGS)) \
42 $(filter centos\:% %-bionic %-xenial %-buster %-stretch, $(MULTIARCH_TAGS)) \
43 $(foreach v, 24 25 29 30 31, $(filter fedora\:$(v)-%, $(MULTIARCH_TAGS))) \
44 $(foreach v, 3.6 3.7 3.8 3.9 3.10 3.11, $(filter alpine\:%-v$(v), $(MULTIARCH_TAGS))) \
45
46$(NO_MESON_TAGS): MESONCMD=