Skip to content

Commit 534671e

Browse files
committed
parisc: remove arch/parisc/nm
Parisc overrides 'nm' with a shell script. I was hit by a false-positive error of $(NM) because this script returns the exit status of grep instead of ${CROSS_COMPILE}nm. (grep returns 1 if no lines were selected) I tried to fix it, but in the code review, Helge suggested to remove it entirely. [1] This script was added in 2003. [2] Presumably, it was a workaround for old toolchains (but even the parisc maintainer does not know the detail any more). Hopefully, recent tools should work fine. [1]: https://lore.kernel.org/all/[email protected]/ [2]: https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=36eaa6e4c0e0b6950136b956b72fd08155b92ca3 Suggested-by: Helge Deller <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Helge Deller <[email protected]>
1 parent c25e1c5 commit 534671e

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

arch/parisc/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
boot := arch/parisc/boot
1919
KBUILD_IMAGE := $(boot)/bzImage
2020

21-
NM = sh $(srctree)/arch/parisc/nm
2221
CHECKFLAGS += -D__hppa__=1
2322

2423
ifdef CONFIG_64BIT

arch/parisc/nm

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)