treewide: remove implicit SUBTARGET
authorPaul Spooren <mail@aparcar.org>
Mon, 8 Apr 2024 06:05:29 +0000 (08:05 +0200)
committerPaul Spooren <mail@aparcar.org>
Mon, 8 Apr 2024 19:53:05 +0000 (21:53 +0200)
commitd997477775bf5447000f1d300a027878b566f5d1
tree182215d7e6843ec0d4e02a53d8af567005f0411e
parent3ce1e4c3d3da3885c2f42e1aa5bc97e0d421445b
treewide: remove implicit SUBTARGET

Historically it's possible to leave the `SUBTARGETS` undefined and
automatically fallback to a "generic" subtarget. This however breaks
various downstream scripts which may have expectations around filenames:

While some targets with an explicit generic subtarget contain `generic`
in the filenames of artifacts, implicit "subtargets" don't.

Right now this breaks the CI[1], possibly also scripts using the ImageBuilders.

This commit removes all code that support implicit handling of
subtargets and instead requires every target to define "SUBTARGETS".

[1]: https://github.com/openwrt/openwrt/actions/runs/8592821105/job/23548273630

Signed-off-by: Paul Spooren <mail@aparcar.org>
include/image-commands.mk
include/image.mk
include/kernel.mk
include/version.mk
package/kernel/linux/modules/crypto.mk
target/imagebuilder/Makefile
target/imagebuilder/files/Makefile