Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openwrt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Freifunk Luebeck
openwrt
Commits
0f3c406b
Commit
0f3c406b
authored
15 years ago
by
Nicolas Thill
Browse files
Options
Downloads
Patches
Plain Diff
add a config item to specify arguments to strip
SVN-Revision: 19270
parent
946291c8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Config.in
+9
-0
9 additions, 0 deletions
Config.in
rules.mk
+1
-1
1 addition, 1 deletion
rules.mk
with
10 additions
and
1 deletion
Config.in
+
9
−
0
View file @
0f3c406b
...
@@ -173,6 +173,15 @@ choice
...
@@ -173,6 +173,15 @@ choice
endchoice
endchoice
config STRIP_ARGS
string
prompt "Strip arguments"
depends USE_STRIP
default "--strip-unneeded --remove-section=.comment --remove-section=.note" if DEBUG
default "--strip-all"
help
Specifies arguments passed to the strip command when stripping binaries
config USE_MKLIBS
config USE_MKLIBS
bool "Strip unnecessary functions from libraries"
bool "Strip unnecessary functions from libraries"
help
help
...
...
This diff is collapsed.
Click to expand it.
rules.mk
+
1
−
1
View file @
0f3c406b
...
@@ -174,7 +174,7 @@ ifneq ($(CONFIG_NO_STRIP),)
...
@@ -174,7 +174,7 @@ ifneq ($(CONFIG_NO_STRIP),)
STRIP
:=
:
STRIP
:=
:
else
else
ifneq
($(CONFIG_USE_STRIP),)
ifneq
($(CONFIG_USE_STRIP),)
STRIP
:=
$(
TARGET_CROSS
)
strip
STRIP
:=
$(
TARGET_CROSS
)
strip
$(
call qstrip,
$(
CONFIG_STRIP_ARGS
))
else
else
ifneq
($(CONFIG_USE_SSTRIP),)
ifneq
($(CONFIG_USE_SSTRIP),)
STRIP
:=
$(
STAGING_DIR_HOST
)
/bin/sstrip
STRIP
:=
$(
STAGING_DIR_HOST
)
/bin/sstrip
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment