From: Brian Date: Wed, 24 Oct 2007 22:24:06 +0000 (-0600) Subject: don't build x86, x86-64 dirs if not needed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=26479fa3b3a7c911617192c56e54fbe298fdd7f3;p=mesa.git don't build x86, x86-64 dirs if not needed --- diff --git a/src/mesa/Makefile b/src/mesa/Makefile index a47cd4c023d..3722593f21b 100644 --- a/src/mesa/Makefile +++ b/src/mesa/Makefile @@ -153,8 +153,13 @@ depend: $(ALL_SOURCES) subdirs: - @ (cd x86 ; $(MAKE)) - @ (cd x86-64 ; $(MAKE)) + @ if [ `echo $(ASM_FLAGS) | grep USE_X86_ASM` ] ; then \ + (cd x86 ; $(MAKE)) ; \ + fi + @ if [ `echo $(ASM_FLAGS) | grep USE_X86_64_ASM` ] ; then \ + (cd x86 ; $(MAKE)) ; \ + (cd x86-64 ; $(MAKE)) ; \ + fi install: default gl.pc