mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 09:20:13 +01:00
Parallel build fix. Multiword variables on the target side of a : get
expanded into individual rules for each word, so parallel builds will start multiple instances to create the server/ symlinks and fail when they already exist.
This commit is contained in:
parent
f1481aa2d7
commit
ccaa15a081
1 changed files with 4 additions and 2 deletions
|
|
@ -57,9 +57,11 @@ include ../Makefile.template
|
|||
|
||||
#INCLUDES += -I../radeon/server
|
||||
|
||||
$(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/
|
||||
|
||||
symlinks: $(SYMLINKS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue