File: Makefile.env

package info (click to toggle)
flashprog 1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,104 kB
  • sloc: ansic: 61,779; makefile: 919; sh: 310
file content (39 lines) | stat: -rw-r--r-- 1,140 bytes parent folder | download
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
# No ccache
$(ALMALINUX_TAGS): CC=cc

# DJGPP is very special
djgpp\:6.1.0: ENV_VARS=CROSS_COMPILE=i586-pc-msdosdjgpp-
djgpp\:6.1.0: CC=ccache i586-pc-msdosdjgpp-gcc
djgpp\:6.1.0: STRIP=i586-pc-msdosdjgpp-strip
djgpp\:6.1.0: LIBS_BASE=../
djgpp\:6.1.0: MAKEARGS+=HAS_LIBPCI=yes CONFIG_LIBPCI_LDFLAGS=-lpci
djgpp\:6.1.0: MAKEARGS+=strip WARNERROR=no
djgpp\:6.1.0: MESONCMD=

# No libftdi1
NO_LIBFTDI1_TAGS := \
	$(ALMALINUX_TAGS) \

$(NO_LIBFTDI1_TAGS): MAKEARGS+=CONFIG_FT2232_SPI=no CONFIG_USBBLASTER_SPI=no

# No libgpiod
NO_LIBGPIOD_TAGS := \
	$(filter %\:8, $(ALMALINUX_TAGS)) \
	$(foreach v, v3.8 v3.9 v3.10, $(filter alpine\:%-$(v), $(MULTIARCH_TAGS))) \

$(NO_LIBGPIOD_TAGS): MAKEARGS+=CONFIG_LINUX_GPIO_SPI=no

# No libjaylink
NO_LIBJAYLINK_TAGS := \
	$(ALMALINUX_TAGS) \
	$(filter alpine\:%, $(MULTIARCH_TAGS)) \

$(NO_LIBJAYLINK_TAGS): MAKEARGS+=CONFIG_JLINK_SPI=no

# No compatible Meson
NO_MESON_TAGS := \
	$(filter %-buster, $(MULTIARCH_TAGS)) \
	$(foreach v, 29 30 31, $(filter fedora\:$(v)-%, $(MULTIARCH_TAGS))) \
	$(foreach v, 3.8 3.9 3.10 3.11, $(filter alpine\:%-v$(v), $(MULTIARCH_TAGS))) \

$(NO_MESON_TAGS): MESONCMD=