11all : help
22
3- FEDORA_DISTROS := fedora@35 fedora@34 fedora@33 fedora@31
4- UBUNTU_DISTROS := ubuntu@21.10 ubuntu@21.04 ubuntu@20.04 ubuntu@18.04 ubuntu@16.04
3+ export FEDORA_LATEST := 35
4+ export UBUNTU_LATEST := 21.10
5+
6+ FEDORA_DISTROS := fedora@${FEDORA_LATEST} fedora@34 fedora@33 fedora@31 fedora
7+ UBUNTU_DISTROS := ubuntu@${UBUNTU_LATEST} ubuntu@21.04 ubuntu@20.04 ubuntu@18.04 ubuntu@16.04 ubuntu)
58KORG_DISTROS := korg@11.1.0 korg@10.3.0 korg@9.3.0 korg@8.1.0 korg@5.5.0
69ALL_DISTROS := ${UBUNTU_DISTROS} ${KORG_DISTROS} ${FEDORA_DISTROS}
7- DOCS_DISTRO := docs@21.10
8- X86_DISTRO := ubuntu@21.10
10+ DOCS_DISTRO := docs@${UBUNTU_LATEST}
11+ X86_DISTRO := ubuntu@${UBUNTU_LATEST}
12+ ALIAS_DISTROS := ubuntu fedora
913SUBARCHES := ppc64le ppc64 ppc
1014
1115VERSION :
@@ -34,7 +38,7 @@ kernel@${1}@${2}: image@${1}@${2}
3438clean-kernel@${1}@${2}:
3539 @./scripts/clean.sh $$@
3640
37- KERNEL += kernel@${1}@${2}
41+ KERNEL += $( if $( filter-out ${ALIAS_DISTROS},${2}) , kernel@${1}@${2})
3842endef
3943
4044define SELFTESTS_TEMPLATE =
@@ -44,8 +48,8 @@ ppctests@${1}@${2} selftests@${1}@${2}: image@${1}@${2}
4448clean-selftests@${1}@${2}:
4549 @./scripts/clean.sh $$@
4650
47- PPCTESTS += ppctests@${1}@${2}
48- SELFTESTS += selftests@${1}@${2}
51+ PPCTESTS += $( if $( filter-out ${ALIAS_DISTROS},${2}) , ppctests@${1}@${2})
52+ SELFTESTS += $( if $( filter-out ${ALIAS_DISTROS},${2}) , selftests@${1}@${2})
4953endef
5054
5155define PERF_TEMPLATE =
@@ -55,7 +59,7 @@ perf@${1}@${2}: image@${1}@${2}
5559clean-perf@${1}@${2}:
5660 @./scripts/clean.sh $$@
5761
58- PERF += perf@${1}@${2}
62+ PERF += $( if $( filter-out ${ALIAS_DISTROS},${2}) , perf@${1}@${2})
5963endef
6064
6165define DOCS_TEMPLATE =
0 commit comments