build: add buildinfo as single Makefile target
authorPaul Spooren <mail@aparcar.org>
Sun, 13 Oct 2019 19:53:40 +0000 (09:53 -1000)
committerRISCi_ATOM <bob@bobcall.me>
Sat, 19 Oct 2019 00:10:16 +0000 (20:10 -0400)
commit5422ee34021246cb6674c7dc858793b2e8532b41
tree25f165b315d116fce18a4e3a14f495934b16d6f5
parent8c13985825c7d59a88c03a29b59126412b1ea01c
build: add buildinfo as single Makefile target

The prepare target was added some 11 years ago to build tools and
toolchain and was recently extended to  create buildinfo files for
reproducibility, meaning {feeds,version,config}.buildinfo.

As the buildbot workflow is more complex than the single prepare (kmod
feed insertion), prepare is only used to create those buildinfo files.
Running prepare however runs `target/compile` as well, taking time even
everything is already compiled.

Splitting this allows the buildbot to run only the `buildinfo` target
while others can still use the convenience feature `prepare`.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 6caf437652d858e5795ee16bdaf9f0436d2488f9)
Makefile