]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lib32: Fix lib/libpmc/pmu-events files ending up in source directory.
authorbdrewery <bdrewery@FreeBSD.org>
Fri, 15 Jun 2018 18:50:24 +0000 (18:50 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Fri, 15 Jun 2018 18:50:24 +0000 (18:50 +0000)
commit1df055488a5b3fbeecb5d1529e1d96f647b8065d
tree81b85287b37c28162e7906780ebad381f8a342ba
parenta21bf86bf25e1ad8352414f359fe81c030d0a14e
lib32: Fix lib/libpmc/pmu-events files ending up in source directory.

This could happen with either WITHOUT_AUTO_OBJ=yes or MAKELEVEL>0 for
the initial 'make buildworld' command.

This now ensures that build-tools targets have 'make obj' ran if needed.

This is especially problematic for pmu-events since it is not directly
connected in the build.  Normally the 'make includes' call right before
this implicitly creates the objdir with a 'make obj' already but
misses pmu-events because it is disconnected from lib/libpmc.  Fixing that
would make this new 'make obj' pointless but it is being added to avoid
this problem in the future should another tool be connected like this.

Reported by: rgrimes, kib, kevans
Sponsored by: Dell EMC
Makefile.libcompat