kernel: do not rename module symbols with kallsyms enabled
[openwrt.git] / scripts / strip-kmod.sh
index 68da9e9..57207e3 100755 (executable)
@@ -22,6 +22,11 @@ ${CROSS}objcopy \
        -G __this_module \
        -x "$MODULE" "$MODULE.tmp"
 
+[ -n "$NO_RENAME" ] && {
+       mv "${MODULE}.tmp" "$MODULE"
+       exit 0
+}
+
 ${CROSS}nm "$MODULE.tmp" | awk '
 BEGIN {
        n = 0
This page took 0.020349 seconds and 4 git commands to generate.