3 echo "The variable CROSS must be set to point to the cross-compiler prefix"
10 echo "Usage: $0 <module>"
15 [ -n "$KEEP_SYMBOLS" ] || ARGS
="-x -G __this_module --strip-unneeded"
21 -R .note.gnu.build-id \
25 "$MODULE" "$MODULE.tmp"
27 [ -n "$NO_RENAME" ] && {
28 mv "${MODULE}.tmp" "$MODULE"
32 ${CROSS}nm
"$MODULE.tmp" |
awk '
37 $3 && $2 ~ /[brtd]/ && $3 !~ /\$LC/ {
38 print "--redefine-sym "$3"=_"n;
43 ${CROSS}objcopy `cat ${MODULE}.tmp1` ${MODULE}.tmp ${MODULE}.out
44 mv "${MODULE}.out" "${MODULE}"
This page took 0.061741 seconds and 5 git commands to generate.