d1: define subtarget specifically
authorPaul Spooren <mail@aparcar.org>
Mon, 8 Apr 2024 05:54:45 +0000 (07:54 +0200)
committerPaul Spooren <mail@aparcar.org>
Mon, 8 Apr 2024 19:52:51 +0000 (21:52 +0200)
commit3ce1e4c3d3da3885c2f42e1aa5bc97e0d421445b
tree66217da4480cd0d7f968c0037bff933d01418626
parent0688cf5aebe1dc9a2e7f3820861783c2a7a75d44
d1: define subtarget specifically

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.

Do to the D1 target what's done to other target, explicitly define the
"generic" subtarget.

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

Signed-off-by: Paul Spooren <mail@aparcar.org>
target/linux/d1/Makefile
target/linux/d1/generic/target.mk [new file with mode: 0644]