@@ -179,7 +179,9 @@ generated-files-y += .git-submodule-status
COROUTINE_HEADERS = include/block/block.h block/coroutines.h
block/block-gen.c: $(COROUTINE_HEADERS) $(SRC_PATH)/scripts/coroutine-wrapper.py
- $(call quiet-command, cat $(COROUTINE_HEADERS) | $(SRC_PATH)/scripts/coroutine-wrapper.py > $@,"GEN","$(TARGET_DIR)$@")
+ $(call quiet-command, \
+ cat $(addprefix $(SRC_PATH)/,$(COROUTINE_HEADERS)) | \
+ $(SRC_PATH)/scripts/coroutine-wrapper.py > $@,"GEN","$(TARGET_DIR)$@")
trace-group-name = $(shell dirname $1 | sed -e 's/[^a-zA-Z0-9]/_/g')