mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
kernel: do not rename module symbols with kallsyms enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30759 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user