[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 006/143] build-sys hack: ensure target directory is there
From: |
Paolo Bonzini |
Subject: |
[PATCH 006/143] build-sys hack: ensure target directory is there |
Date: |
Thu, 6 Aug 2020 21:14:02 +0200 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
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 <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
rules.mak | 1 +
1 file changed, 1 insertion(+)
diff --git a/rules.mak b/rules.mak
index 694865b..56ba540 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)$@")
--
1.8.3.1
- [DRAFT PATCH 000/143] Meson integration for 5.2, Paolo Bonzini, 2020/08/06
- [PATCH 001/143] tests: move socket_scm_helper back to tests/, Paolo Bonzini, 2020/08/06
- [PATCH 003/143] pc-bios/s390-ccw: simplify Makefile, Paolo Bonzini, 2020/08/06
- [PATCH 002/143] optionrom: simplify Makefile, Paolo Bonzini, 2020/08/06
- [PATCH 006/143] build-sys hack: ensure target directory is there,
Paolo Bonzini <=
- [PATCH 007/143] tests/vm: do not pollute configure with --efi-aarch64, Paolo Bonzini, 2020/08/06
- [PATCH 008/143] tests/vm: check for Python YAML parser in the Makefile, Paolo Bonzini, 2020/08/06
- [PATCH 009/143] configure: do not include $(...) variables in config-host.mak, Paolo Bonzini, 2020/08/06
- [PATCH 004/143] trace: switch position of headers to what Meson requires, Paolo Bonzini, 2020/08/06
- [PATCH 010/143] configure: expand path variables for meson configure, Paolo Bonzini, 2020/08/06
- [PATCH 005/143] meson: rename .inc.c files to .inc, Paolo Bonzini, 2020/08/06