phase1: do not leak targets between branches
authorPetr Štetiar <ynezz@true.cz>
Sun, 18 Jun 2023 05:26:17 +0000 (07:26 +0200)
committerPetr Štetiar <ynezz@true.cz>
Sat, 22 Jul 2023 09:05:31 +0000 (11:05 +0200)
commit3bbbc02a7f8b677026fbc856a336225e2630c050
tree3d3ee113d2890fe0eb62f503c67a6af7cdb6e2fc
parente56f359a2c2be5d1b6cd08e390087f242768a1b6
phase1: do not leak targets between branches

Robert noticed, that after rename of `ipq807x` target in main branch to
`qualcommax/ipq807x` subtarget, that buildbot is trying to build this
new `qualcommax/ipq807x` subtarget on `openwrt-23.05` branch as well.

Thibaut later explained, that this is by design, his initial idea was to
find exhaustive list of all targets and let the `checkarch` step do the
final triaging.

I find this approach confusing, because if the subtarget is not present
in that branch, we shouldn't have builder for it configured as well.
Furthermore wasting roughly 5 minutes of precious buildworker time to
checkout all feeds and then just find out, that we're not going to use
those seems suboptimal as well.

So lets fix it by using builders for targets as present in respective
branches.

Fixes: #14
Reported-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
phase1/master.cfg