lkml.org 
[lkml]   [2005]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
From
Subject[PATCH] - scripts ignoring Makefile settings
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'}));--- 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'}));--- 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'}));
\
 
 \ /
  Last update: 2005-09-19 23:22    [W:3.163 / U:1.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site