scripts/namespace.pl is not CROSS_COMPILE happy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux