[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fixup! block: generate coroutine-wrapper code
From: |
Eric Blake |
Subject: |
[PATCH] fixup! block: generate coroutine-wrapper code |
Date: |
Tue, 26 May 2020 15:51:59 -0500 |
From: Vladimir Sementsov-Ogievskiy <address@hidden>
Fix Makefile usage for VPATH builds
Signed-off-by: Eric Blake <address@hidden>
---
This fixup lets me build locally with my VPATH build; it probably also
explains why patchew and other CLI tools (which use VPATH) were
failing.
Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index ec15b8ea8900..d194cf067ba7 100644
--- a/Makefile
+++ b/Makefile
@@ -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')
--
2.26.2
- [PATCH v4 0/5] coroutines: generate wrapper code, Vladimir Sementsov-Ogievskiy, 2020/05/25
- [PATCH v4 5/5] block/io: refactor save/load vmstate, Vladimir Sementsov-Ogievskiy, 2020/05/25
- [PATCH v4 1/5] block/io: refactor coroutine wrappers, Vladimir Sementsov-Ogievskiy, 2020/05/25
- [PATCH v4 2/5] block: declare some coroutine functions in block/coroutines.h, Vladimir Sementsov-Ogievskiy, 2020/05/25
- [PATCH v4 3/5] block: generate coroutine-wrapper code, Vladimir Sementsov-Ogievskiy, 2020/05/25
- [PATCH v4 4/5] block: drop bdrv_prwv, Vladimir Sementsov-Ogievskiy, 2020/05/25
- Re: [PATCH v4 0/5] coroutines: generate wrapper code, no-reply, 2020/05/25