Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Johannes Rudolph
lede-mikrotik
Commits
29b91ef0
Commit
29b91ef0
authored
12 years ago
by
Jo-Philipp Wich
Browse files
Options
Downloads
Patches
Plain Diff
introduce a menuconfig option to turn off static linking of host utilities
SVN-Revision: 33154
parent
8c3ea37f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Config.in
+7
-0
7 additions, 0 deletions
Config.in
include/host-build.mk
+3
-1
3 additions, 1 deletion
include/host-build.mk
with
10 additions
and
1 deletion
Config.in
+
7
−
0
View file @
29b91ef0
...
@@ -153,6 +153,13 @@ menu "Global build settings"
...
@@ -153,6 +153,13 @@ menu "Global build settings"
When this option is enabled, packages are built with the full versions of iconv and GNU gettext
When this option is enabled, packages are built with the full versions of iconv and GNU gettext
instead of the default OpenWrt stubs. If uClibc is used, it is also built with locale support.
instead of the default OpenWrt stubs. If uClibc is used, it is also built with locale support.
config BUILD_STATIC_TOOLS
default y
bool "Attempt to link host utilities statically"
help
Linking host utilities like sed or firmware-utils statically increases the portability of the
generated ImageBuilder and SDK tarballs, however it may fail on some Linux distributions.
config SHADOW_PASSWORDS
config SHADOW_PASSWORDS
bool
bool
prompt "Enable shadow password support"
prompt "Enable shadow password support"
...
...
This diff is collapsed.
Click to expand it.
include/host-build.mk
+
3
−
1
View file @
29b91ef0
...
@@ -66,7 +66,9 @@ HOST_CONFIGURE_ARGS = \
...
@@ -66,7 +66,9 @@ HOST_CONFIGURE_ARGS = \
HOST_CONFIGURE_CMD
=
./configure
HOST_CONFIGURE_CMD
=
./configure
ifneq
($(HOST_OS),Darwin)
ifneq
($(HOST_OS),Darwin)
HOST_STATIC_LINKING
=
-static
ifeq
($(CONFIG_BUILD_STATIC_TOOLS),y)
HOST_STATIC_LINKING
=
-static
endif
endif
endif
define
Host/Configure/Default
define
Host/Configure/Default
...
...
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