release/Makefile.inc1 has git executions that were being ran for each of
these lookups. The results were not needed so just lookup what we want
With an '.info here' in release/Makefile.inc1 this can be seen.
# /usr/bin/time env TARGET=amd64 TARGET_ARCH=amd64 make -f Makefile.inc1 -V LIBCOMPAT_OBJTOP make: "/root/git/freebsd2/release/Makefile.inc1" line 26: here make: "/root/git/freebsd2/release/Makefile.inc1" line 26: here /scratch/obj/root/git/freebsd2/amd64.amd64/obj-lib32 7.19 real 6.57 user 0.63 sys # /usr/bin/time git rev-list --count HEAD 243484 3.47 real 3.27 user 0.20 sys
Sponsored by: Dell EMC