summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2007-02-20 12:48:50 -0500
committerAdam Jackson <[email protected]>2007-02-20 12:48:50 -0500
commitd44027dbbd8837b2a32466b0617283649e770907 (patch)
treeca04e20d4c69573e2e2afe991dc24fa165c8996a
parent906fd23e1d32bd19237525a261100e6d71f38f5e (diff)
Fix parallel make in r300 driver.
-rw-r--r--src/mesa/drivers/dri/r300/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/Makefile b/src/mesa/drivers/dri/r300/Makefile
index 5abb91d9876..2ee23289341 100644
--- a/src/mesa/drivers/dri/r300/Makefile
+++ b/src/mesa/drivers/dri/r300/Makefile
@@ -90,9 +90,11 @@ COMMON_SYMLINKS = \
include ../Makefile.template
-$(SYMLINKS):
+server:
mkdir -p server
- for i in $(SYMLINKS) ; do rm -f $$i && test -f ../radeon/$$i && ln -s ../../radeon/$$i $$i ; done
+
+$(SYMLINKS): server
+ @[ -e $@ ] || ln -sf ../../radeon/$@ server/
$(COMMON_SYMLINKS):
@[ -e $@ ] || ln -sf ../radeon/$@ ./