OpenWrt Forum Archive

Topic: To strip or not to strip

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I ported some software to OpenWRT without a problem. However, I noticed during the packaging stage, the build process strips binary and shared libraries. Is it possible to disable the stripping process?

I asked the same question on #openwrt-devel IRC channel and got some responses from jow_laptop to include a STRIP=true (i.e. make package/foo/compile STRIP=true). Jow_laptop noted that STRIP=true does not mean "enable stripping" but it means "replace .../bin/strip" with ".../bin/true". This has also been updated to the Wiki Debugging (under Add and modify compiler debug flags section).

The discussion might have continued from here.