From: rd.dunlab@gmail.com
To: linux-kbuild@vger.kernel.org
Cc: Randy Dunlap <rd.dunlab@gmail.com>,
Masahiro Yamada <yamada.masahiro@socionext.com>,
rdunlap@infradead.org
Subject: [PATCH 1/4] scripts: namespace.pl: handle lib-ksyms.o as lib.a
Date: Wed, 02 Oct 2019 20:13:13 -0700 [thread overview]
Message-ID: <20191003031312.252507322@gmail.com> (raw)
In-Reply-To: 20191003031312.157994411@gmail.com
[-- Attachment #1: scr-namespace-check-fix002.patch --]
[-- Type: text/plain, Size: 951 bytes --]
Fix these warnings:
No source file found for drivers/firmware/efi/libstub/lib-ksyms.o
No source file found for arch/x86/lib/lib-ksyms.o
No source file found for lib/lib-ksyms.o
In scripts/Makefile.build, any resulting lib-ksyms.o file is renamed to
lib.a, so handle that rename here also.
Signed-off-by: Randy Dunlap <rd.dunlab@gmail.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
---
patch 1/4:
scripts/namespace.pl | 3 +++
1 file changed, 3 insertions(+)
--- linux-next-20191002.orig/scripts/namespace.pl
+++ linux-next-20191002/scripts/namespace.pl
@@ -231,6 +231,9 @@ sub do_nm
return;
}
($source = $basename) =~ s/\.o$//;
+ if ($basename eq "lib-ksyms.o") { # modified in scripts/Makefile.build
+ $basename = "lib.a"; # from lib.a to lib-ksyms.o
+ }
if (-e "$source.c" || -e "$source.S") {
$source = File::Spec->catfile($objtree, $File::Find::dir, $source)
} else {
next prev parent reply other threads:[~2019-10-03 3:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-03 3:13 [PATCH 0/4] scripts: update namespace.pl rd.dunlab
2019-10-03 3:13 ` rd.dunlab [this message]
2019-10-23 5:22 ` [PATCH 1/4] scripts: namespace.pl: handle lib-ksyms.o as lib.a Masahiro Yamada
2019-10-03 3:13 ` [PATCH 2/4] scripts: namespace.pl: add some x86 object files to nmexception rd.dunlab
2019-10-23 5:33 ` Masahiro Yamada
2019-10-03 3:13 ` [PATCH 3/4] scripts: namespace.pl: add .o to nmexception file names and fix "acpica" rd.dunlab
2019-10-23 5:34 ` Masahiro Yamada
2019-10-03 3:13 ` [PATCH 4/4] scripts: namespace.pl: add blank section separator line rd.dunlab
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=20191003031312.252507322@gmail.com \
--to=rd.dunlab@gmail.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=yamada.masahiro@socionext.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.