mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-27 09:49:46 -07:00
Some devices availability depends on CONFIG options. Use these options to only link tests when requested device is available. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20200514143433.18569-2-philmd@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
18 lines
685 B
Text
18 lines
685 B
Text
QEMU_PROG_FUZZ=qemu-fuzz-$(TARGET_NAME)$(EXESUF)
|
|
|
|
fuzz-obj-y += tests/qtest/libqtest.o
|
|
fuzz-obj-y += $(libqos-obj-y)
|
|
fuzz-obj-y += tests/qtest/fuzz/fuzz.o # Fuzzer skeleton
|
|
fuzz-obj-y += tests/qtest/fuzz/fork_fuzz.o
|
|
fuzz-obj-y += tests/qtest/fuzz/qos_fuzz.o
|
|
|
|
# Targets
|
|
fuzz-obj-$(CONFIG_PCI_I440FX) += tests/qtest/fuzz/i440fx_fuzz.o
|
|
fuzz-obj-$(CONFIG_VIRTIO_NET) += tests/qtest/fuzz/virtio_net_fuzz.o
|
|
fuzz-obj-$(CONFIG_SCSI) += tests/qtest/fuzz/virtio_scsi_fuzz.o
|
|
|
|
FUZZ_CFLAGS += -I$(SRC_PATH)/tests -I$(SRC_PATH)/tests/qtest
|
|
|
|
# Linker Script to force coverage-counters into known regions which we can mark
|
|
# shared
|
|
FUZZ_LDFLAGS += -Xlinker -T$(SRC_PATH)/tests/qtest/fuzz/fork_fuzz.ld
|