kbuild: make namespace.pl CROSS_COMPILE happy
authorAaron Brooks <aaron.brooks@sicortex.com>
Mon, 27 Feb 2006 03:25:46 +0000 (22:25 -0500)
committerSam Ravnborg <sam@mars.ravnborg.org>
Mon, 27 Feb 2006 04:05:40 +0000 (05:05 +0100)
commit3a25f0b19f2eefd158955ab809c8947ed8feadf1
treee8ae56ae191e2e99460587a22993da829c0e3aa2
parent4c8fbca5836aaafd165aa8732d92ab5d4f3a6841
kbuild: make namespace.pl CROSS_COMPILE happy

Using the fixed path to /usr/bin/{nm,objdump} does not allow
CROSS_COMPILE environments to use namespace.pl. This patch causes
namespace.pl to use $NM and $OBJDUMP if defined or fall back to the nm
and objdump found in the path.

Signed-off-by: Aaron Brooks <aaron.brooks@sicortex.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/namespace.pl