]> git.ipfire.org Git - thirdparty/linux.git/commit
vfio: selftests: Store libvfio build outputs in $(OUTPUT)/libvfio
authorDavid Matlack <dmatlack@google.com>
Mon, 22 Sep 2025 22:48:57 +0000 (22:48 +0000)
committerAlex Williamson <alex@shazbot.org>
Wed, 5 Nov 2025 19:02:14 +0000 (12:02 -0700)
commita52b1a71120bac2cac691f11b8fd2f64254570f0
treea69bd4809c86d46931f62a9ca3a1912d2af65590
parent6146a0f1dfae5d37442a9ddcba012add260bceb0
vfio: selftests: Store libvfio build outputs in $(OUTPUT)/libvfio

Store the tools/testing/selftests/vfio/lib outputs (e.g. object files)
in $(OUTPUT)/libvfio rather than in $(OUTPUT)/lib. This is in
preparation for building the VFIO selftests library into the KVM
selftests (see Link below).

Specifically this will avoid name conflicts between
tools/testing/selftests/{vfio,kvm/lib and also avoid leaving behind
empty directories under tools/testing/selftests/kvm after a make clean.

Link: https://lore.kernel.org/kvm/20250912222525.2515416-2-dmatlack@google.com/
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20250922224857.2528737-1-dmatlack@google.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
tools/testing/selftests/vfio/lib/libvfio.mk