HomeFreeBSD

Ensure make -j N universe works correctly, by checking for an up-to-date

Description

Ensure make -j N universe works correctly, by checking for an up-to-date
make before starting the universe targets themselves. Otherwise, all of
the targets would attempt to build make simultaneously, overwriting each
other's copies of the make object files and executable. This could lead
to strange errors, for example when partially-written make executables
are invoked.

Also amend r216620, to make the rest of universe wait properly until the
upgrade_checks target is finished, by adding universe_${target}_prologue
to the .ORDER target. Otherwise, make will be too smart for its own
good, and start building the universe targets simultaneously with the
prologues anyway.

MFC after: 1 week

Details

Provenance
dimAuthored on Apr 9 2013, 8:21 PM
Parents
rG9f905daf6e7e: Proxy allocation requests for the PCI ROM BAR from child devices similar
Branches
Unknown
Tags
Unknown

Event Timeline