* [PATCH] - scripts ignoring Makefile settings
@ 2005-09-19 21:18 Ben Dooks
0 siblings, 0 replies; only message in thread
From: Ben Dooks @ 2005-09-19 21:18 UTC (permalink / raw)
To: linux-kernel; +Cc: patch-out
[-- 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'}));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-19 21:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-19 21:18 [PATCH] - scripts ignoring Makefile settings Ben Dooks
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®