Nico Huber | 6f6a1c3 | 2023-03-17 12:56:49 +0000 | [diff] [blame] | 1 | # No ccache |
| 2 | $(ALMALINUX_TAGS) $(filter centos\:%, $(MULTIARCH_TAGS)): CC=cc |
| 3 | |
| 4 | # DJGPP is very special |
| 5 | djgpp\:6.1.0: CC=ccache i586-pc-msdosdjgpp-gcc |
| 6 | djgpp\:6.1.0: STRIP=i586-pc-msdosdjgpp-strip |
| 7 | djgpp\:6.1.0: LIBS_BASE=../ |
Nico Huber | da09599 | 2023-03-17 13:02:31 +0000 | [diff] [blame] | 8 | djgpp\:6.1.0: MAKEARGS+=HAS_LIBPCI=yes CONFIG_LIBPCI_LDFLAGS=-lpci |
| 9 | djgpp\:6.1.0: MAKEARGS+=strip |
Nico Huber | 6f6a1c3 | 2023-03-17 12:56:49 +0000 | [diff] [blame] | 10 | |
| 11 | # Compiler doesn't like simplified initializers, e.g. `= { 0 };` |
| 12 | $(filter centos\:%, $(MULTIARCH_TAGS)): MAKEARGS+=WARNERROR=no |
| 13 | |
Nico Huber | b1d4b1d | 2023-03-17 13:32:06 +0000 | [diff] [blame] | 14 | # No libftdi1 |
| 15 | NO_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 |
| 22 | NO_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 Huber | 6f6a1c3 | 2023-03-17 12:56:49 +0000 | [diff] [blame] | 30 | # No libjaylink |
Nico Huber | b1d4b1d | 2023-03-17 13:32:06 +0000 | [diff] [blame] | 31 | NO_LIBJAYLINK_TAGS := \ |
| 32 | $(ALMALINUX_TAGS) \ |
| 33 | $(filter alpine\:% centos\:% %-xenial %-stretch, $(MULTIARCH_TAGS)) \ |
Nico Huber | b1d4b1d | 2023-03-17 13:32:06 +0000 | [diff] [blame] | 34 | |
| 35 | $(NO_LIBJAYLINK_TAGS): MAKEARGS+=CONFIG_JLINK_SPI=no |