Tell flock to use sh (#1303)
With the new make -jX support flock is used but shells out sometimes. This assumes a bash like shell which isn't always the case. This fix forces flock to use sh. Signed-off-by: Travis F. Collins <travis.collins@analog.com>main
parent
74089397b3
commit
22ff237010
|
@ -118,7 +118,7 @@ $(PROJECT_NAME).sdk/system_top.xsa: $(M_DEPS)
|
||||||
$(HDL_LIBRARY_PATH)%/component.xml: TARGET:=xilinx
|
$(HDL_LIBRARY_PATH)%/component.xml: TARGET:=xilinx
|
||||||
FORCE:
|
FORCE:
|
||||||
$(HDL_LIBRARY_PATH)%/component.xml: FORCE
|
$(HDL_LIBRARY_PATH)%/component.xml: FORCE
|
||||||
flock $(dir $@).lock -c " \
|
flock $(dir $@).lock sh -c " \
|
||||||
if [ -n \"${REQUIRED_VIVADO_VERSION}\" ]; then \
|
if [ -n \"${REQUIRED_VIVADO_VERSION}\" ]; then \
|
||||||
$(MAKE) -C $(dir $@) $(TARGET) REQUIRED_VIVADO_VERSION=${REQUIRED_VIVADO_VERSION}; \
|
$(MAKE) -C $(dir $@) $(TARGET) REQUIRED_VIVADO_VERSION=${REQUIRED_VIVADO_VERSION}; \
|
||||||
else \
|
else \
|
||||||
|
|
Loading…
Reference in New Issue