mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brendan Jackman <jackmanb@google.com>
To: Shuah Khan <shuah@kernel.org>,
	Paolo Bonzini <pbonzini@redhat.com>,
	 Sean Christopherson <seanjc@google.com>
Cc: Alexandra Sandulescu <aesa@google.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>,  Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	x86@kernel.org,  linux-kselftest@vger.kernel.org,
	linux-kernel@vger.kernel.org,  kvm@vger.kernel.org,
	Brendan Jackman <jackmanb@google.com>
Subject: [PATCH 1/2] selftests: fix installing nested TEST_GEN_MODS_DIR
Date: Mon, 13 Oct 2025 15:13:54 +0000	[thread overview]
Message-ID: <20251013-l1tf-test-v1-1-583fb664836d@google.com> (raw)
In-Reply-To: <20251013-l1tf-test-v1-0-583fb664836d@google.com>

Currently all users of TEST_GEN_MODS_DIR set it to a single-element path
like "test_modules". This means that the $(notdir) call in specified to
be a nop.

However in a subsequent patch a user will be added that needs to nest
the module directory under an arch-specific subdirectory, which means
this $(notdir) breaks the modules installation. So remove it.

Signed-off-by: Brendan Jackman <jackmanb@google.com>
---
 tools/testing/selftests/lib.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
index 5303900339292e618dee4fd7ff8a7c2fa3209a68..787032a66bd5daf8e6c9d00de1df3773901364fb 100644
--- a/tools/testing/selftests/lib.mk
+++ b/tools/testing/selftests/lib.mk
@@ -166,7 +166,7 @@ define INSTALL_RULE
 	$(eval INSTALL_LIST = $(TEST_CUSTOM_PROGS)) $(INSTALL_SINGLE_RULE)
 	$(eval INSTALL_LIST = $(TEST_GEN_PROGS_EXTENDED)) $(INSTALL_SINGLE_RULE)
 	$(eval INSTALL_LIST = $(TEST_GEN_FILES)) $(INSTALL_SINGLE_RULE)
-	$(eval INSTALL_LIST = $(notdir $(TEST_GEN_MODS_DIR))) $(INSTALL_MODS_RULE)
+	$(eval INSTALL_LIST = $(TEST_GEN_MODS_DIR)) $(INSTALL_MODS_RULE)
 	$(eval INSTALL_LIST = $(wildcard config settings)) $(INSTALL_SINGLE_RULE)
 endef
 

-- 
2.50.1


  reply	other threads:[~2025-10-13 15:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-13 15:13 [PATCH 0/2] KVM: x86: selftests: add L1TF exploit test Brendan Jackman
2025-10-13 15:13 ` Brendan Jackman [this message]
2025-10-13 15:13 ` [PATCH 2/2] KVM: x86: selftests: add an " Brendan Jackman
2025-10-13 15:36   ` Brendan Jackman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251013-l1tf-test-v1-1-583fb664836d@google.com \
    --to=jackmanb@google.com \
    --cc=aesa@google.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=seanjc@google.com \
    --cc=shuah@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®