[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 004/142] build-sys hack: ensure target directory is there
From: |
Paolo Bonzini |
Subject: |
[PATCH 004/142] build-sys hack: ensure target directory is there |
Date: |
Tue, 28 Jan 2020 18:51:24 +0100 |
From: Marc-André Lureau <address@hidden>
By removing some unnest-vars calls, we miss some directory creation
that may be required by some/dir/object.d.
This will go away once everything is converted to Meson.
Signed-off-by: Marc-André Lureau <address@hidden>
---
rules.mak | 1 +
1 file changed, 1 insertion(+)
diff --git a/rules.mak b/rules.mak
index 967295dd2b..e19ad194af 100644
--- a/rules.mak
+++ b/rules.mak
@@ -66,6 +66,7 @@ expand-objs = $(strip $(sort $(filter %.o,$1)) \
$(filter-out %.o %.mo,$1))
%.o: %.c
+ @mkdir -p $(dir $@)
$(call quiet-command,$(CC) $(QEMU_LOCAL_INCLUDES) $(QEMU_INCLUDES) \
$(QEMU_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) $($@-cflags) \
-c -o $@ $<,"CC","$(TARGET_DIR)$@")
--
2.21.0
[PATCH 005/142] configure: do not include $(...) variables in config-host.mak, Paolo Bonzini, 2020/01/28
[PATCH 006/142] configure: expand path variables for meson configure, Paolo Bonzini, 2020/01/28
[PATCH 008/142] configure: generate Meson cross file, Paolo Bonzini, 2020/01/28
[PATCH 010/142] meson: enable pie, Paolo Bonzini, 2020/01/28