mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
build: don't lose probes.o files
The previous patch fixed an incremental build, but missed that on a fresh checkout, we now have nothing left that stops make from nuking libvirt_qemu_probes.o. * src/Makefile.am ($(libvirt_driver_qemu_la_SOURCES)): Delete, since this variable is empty. (.PRECIOUS): Add %_probes.o, so they don't get nuked as an intermediate by-product after creating %_probes.lo.
This commit is contained in:
parent
fca009fd04
commit
620dda6661
@ -1294,8 +1294,6 @@ BUILT_SOURCES += libvirt_probes.h libvirt_probes.stp libvirt_functions.stp
|
||||
if WITH_QEMU
|
||||
libvirt_driver_qemu_la_LIBADD += libvirt_qemu_probes.lo
|
||||
nodist_libvirt_driver_qemu_la_SOURCES = libvirt_qemu_probes.h
|
||||
|
||||
$(libvirt_driver_qemu_la_SOURCES): libvirt_qemu_probes.h
|
||||
endif
|
||||
|
||||
tapsetdir = $(datadir)/systemtap/tapset
|
||||
@ -1304,6 +1302,7 @@ tapset_DATA = libvirt_probes.stp libvirt_qemu_probes.stp libvirt_functions.stp
|
||||
%_probes.h: %_probes.d
|
||||
$(AM_V_GEN)$(DTRACE) -o $@ -h -s $<
|
||||
|
||||
.PRECIOUS: %_probes.o
|
||||
%_probes.o: %_probes.d
|
||||
$(AM_V_GEN)$(DTRACE) -o $@ -G -s $<
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user