lkml.org 
[lkml]   [2006]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectscripts/namespace.pl is not CROSS_COMPILE happy
All,

I see that this has come up before:

http://lkml.org/lkml/2005/9/20/68

but I don't see the inclusion of these changes in the current Linus
linux-2.6 git tree. Are the changes hanging out somewhere or were they
shot down for some reason?

I've attached an alternate patch which is a ever so slightly more
clean (for some definitions of "clean").

-Aaron

P.S. Please CC me, I'm not on the list.

Index: scripts/namespace.pl
===================================================================
--- old/scripts/namespace.pl (revision 13486)
+++ new/scripts/namespace.pl (working copy)
@@ -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 = ($ENV{'NM'} || "nm") . " -p";
+my $objdump = ($ENV{'OBJDUMP'} || "objdump") . " -s -j .comment";
my $srctree = "";
my $objtree = "";
$srctree = "$ENV{'srctree'}/" if (exists($ENV{'srctree'}));
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-08 19:47    [W:0.045 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site