]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
release: make dependencies, not recursive make
authorColin Percival <cperciva@FreeBSD.org>
Thu, 9 May 2024 07:52:25 +0000 (00:52 -0700)
committerColin Percival <cperciva@FreeBSD.org>
Thu, 9 May 2024 07:52:25 +0000 (00:52 -0700)
commitce7756fdca1f0a89a74bc406cd3d3ac1d1be1ffb
tree5703fab88ef5b526ba7f9b3696ec59d9e454a371
parentc2a005a0a97d98472d81c5c9606e5d6e546dd40a
release: make dependencies, not recursive make

For historical reasons, the vm-release and cloudware-release targets
were written as recursive makes of ${VMTARGETS} and ${CLOUDTARGETS};
this worked fine until we started running `make release -jN` and
had both VM and cloud targets depending on ${QEMUTGT}, at which
point things exploded when we tried to build the port twice at the
same time.

Switch vm-release and cloudware-release to have make dependencies on
their individual components; this way a single make process runs and
is aware of the duplicate dependency (and only runs it once).

MFC after: 5 days
release/Makefile.vm