blob: ac87cba3d07ca20750b699e7468f769a08c3e533 [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
5djgpp\:6.1.0: CC=ccache i586-pc-msdosdjgpp-gcc
6djgpp\:6.1.0: STRIP=i586-pc-msdosdjgpp-strip
7djgpp\:6.1.0: LIBS_BASE=../
Nico Huberda095992023-03-17 13:02:31 +00008djgpp\:6.1.0: MAKEARGS+=HAS_LIBPCI=yes CONFIG_LIBPCI_LDFLAGS=-lpci
9djgpp\:6.1.0: MAKEARGS+=strip
Nico Huber6f6a1c32023-03-17 12:56:49 +000010
11# Compiler doesn't like simplified initializers, e.g. `= { 0 };`
12$(filter centos\:%, $(MULTIARCH_TAGS)): MAKEARGS+=WARNERROR=no
13
Nico Huberb1d4b1d2023-03-17 13:32:06 +000014# No libftdi1
15NO_LIBFTDI1_TAGS := \
16 $(ALMALINUX_TAGS) \
17 $(filter centos\:%, $(MULTIARCH_TAGS)) \
18
19$(NO_LIBFTDI1_TAGS): MAKEARGS+=CONFIG_FT2232_SPI=no CONFIG_USBBLASTER_SPI=no
20
21# No libgpiod
22NO_LIBGPIOD_TAGS := \
23 $(filter %\:8, $(ALMALINUX_TAGS)) \
24 $(filter centos\:% %-bionic %-xenial %-stretch, $(MULTIARCH_TAGS)) \
25 $(foreach v, fedora\:24 fedora\:25, $(filter $(v)-%, $(MULTIARCH_TAGS))) \
26 $(foreach v, v3.6 v3.7 v3.8 v3.9 v3.10, $(filter alpine\:%-$(v), $(MULTIARCH_TAGS))) \
27
28$(NO_LIBGPIOD_TAGS): MAKEARGS+=CONFIG_LINUX_GPIO_SPI=no
29
Nico Huber6f6a1c32023-03-17 12:56:49 +000030# No libjaylink
Nico Huberb1d4b1d2023-03-17 13:32:06 +000031NO_LIBJAYLINK_TAGS := \
32 $(ALMALINUX_TAGS) \
33 $(filter alpine\:% centos\:% %-xenial %-stretch, $(MULTIARCH_TAGS)) \
34 $(foreach v, 3.15 3.16 3.17, $(filter %/alpine\:$(v), $(OFFICIAL_TAGS))) \
35
36$(NO_LIBJAYLINK_TAGS): MAKEARGS+=CONFIG_JLINK_SPI=no