use immediate evaluation for shell calls

This reworks the shell calls in the makefiles to use immediate
evaluation and should improve parallel building.

X-Gentoo-Bug: 289264
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=289264
This commit is contained in:
William Hubbs
2011-01-29 17:32:38 -06:00
parent c2529c1ed6
commit cca7e9f7e1
11 changed files with 35 additions and 35 deletions

View File

@@ -11,16 +11,16 @@ _OLDNET_SH= case "${MKOLDNET}" in \
[Yy][Ee][Ss]) echo "net doc";; \
*) echo "";; \
esac
_OLDNET!= ${_OLDNET_SH}
SUBDIR+= ${_OLDNET}$(shell ${_OLDNET_SH})
_OLDNET:= $(shell ${_OLDNET_SH})
SUBDIR+= ${_OLDNET}
# Build pkgconfig or not
_PKGCONFIG_SH= case "${MKPKGCONFIG}" in \
[Yy][Ee][Ss]|"") echo "pkgconfig";; \
*) echo "";; \
esac
_PKGCONFIG!= ${_PKGCONFIG_SH}
SUBDIR+= ${_PKGCONFIG}$(shell ${_PKGCONFIG_SH})
_PKGCONFIG:= $(shell ${_PKGCONFIG_SH})
SUBDIR+= ${_PKGCONFIG}
# We need to ensure that runlevels is done last
SUBDIR+= runlevels