Commit 5be91439 authored by Rusty Russell's avatar Rusty Russell Committed by James Bottomley

[PATCH] Don't sort kallsyms symbols twice

From Andrew Morton
parent fba0a9a3
...@@ -31,7 +31,7 @@ encode_symbols() ...@@ -31,7 +31,7 @@ encode_symbols()
} }
# FIXME: Use System.map as input, and regenerate each time in Makefile. # FIXME: Use System.map as input, and regenerate each time in Makefile.
$NM $1 | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > kallsyms.map $NM -n $1 | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > kallsyms.map
encode_symbols kallsyms.map > kallsyms.c encode_symbols kallsyms.map > kallsyms.c
$CC $CFLAGS -c -o $2 kallsyms.c $CC $CFLAGS -c -o $2 kallsyms.c
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment