From: Ben Dooks <ben-linux@fluff.org>
To: linux-kernel@vger.kernel.org
Cc: patch-out@fluff.org
Subject: [PATCH] - scripts ignoring Makefile settings
Date: Mon, 19 Sep 2005 22:18:55 +0100 [thread overview]
Message-ID: <20050919211855.GA22564@home.fluff.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 666 bytes --]
The namespace.pl script is ignoring both
the Makefile set $OBJDUMP and $NM settings
for cross-compiling. Worse, it assumes that
objdump can be found in /usr/bin.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
--- linux-2.6.13-simtec1/scripts/namespace.pl 2005-06-17 20:48:29.000000000 +0100
+++ linux-2.6.13-simtec2/scripts/namespace.pl 2005-09-19 22:13:21.000000000 +0100
@@ -66,8 +66,8 @@
use strict;
use File::Find;
-my $nm = "/usr/bin/nm -p";
-my $objdump = "/usr/bin/objdump -s -j .comment";
+my $nm = "\$NM -p";
+my $objdump = "\$OBJDUMP -s -j .comment";
my $srctree = "";
my $objtree = "";
$srctree = "$ENV{'srctree'}/" if (exists($ENV{'srctree'}));
[-- Attachment #2: scripts-namespacecheck-crosscompile.patch --]
[-- Type: text/plain, Size: 455 bytes --]
--- linux-2.6.13-simtec1/scripts/namespace.pl 2005-06-17 20:48:29.000000000 +0100
+++ linux-2.6.13-simtec2/scripts/namespace.pl 2005-09-19 22:13:21.000000000 +0100
@@ -66,8 +66,8 @@
use strict;
use File::Find;
-my $nm = "/usr/bin/nm -p";
-my $objdump = "/usr/bin/objdump -s -j .comment";
+my $nm = "\$NM -p";
+my $objdump = "\$OBJDUMP -s -j .comment";
my $srctree = "";
my $objtree = "";
$srctree = "$ENV{'srctree'}/" if (exists($ENV{'srctree'}));
[-- Attachment #3: scripts-namespacecheck-crosscompile.patch --]
[-- Type: text/plain, Size: 455 bytes --]
--- linux-2.6.13-simtec1/scripts/namespace.pl 2005-06-17 20:48:29.000000000 +0100
+++ linux-2.6.13-simtec2/scripts/namespace.pl 2005-09-19 22:13:21.000000000 +0100
@@ -66,8 +66,8 @@
use strict;
use File::Find;
-my $nm = "/usr/bin/nm -p";
-my $objdump = "/usr/bin/objdump -s -j .comment";
+my $nm = "\$NM -p";
+my $objdump = "\$OBJDUMP -s -j .comment";
my $srctree = "";
my $objtree = "";
$srctree = "$ENV{'srctree'}/" if (exists($ENV{'srctree'}));
reply other threads:[~2005-09-19 21:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050919211855.GA22564@home.fluff.org \
--to=ben-linux@fluff.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patch-out@fluff.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®