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
c6ba19c7
Commit
c6ba19c7
authored
12 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol
SVN-Revision: 33807
parent
0e1f91b6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Config.in
+0
-14
0 additions, 14 deletions
Config.in
include/toolchain-build.mk
+0
-2
0 additions, 2 deletions
include/toolchain-build.mk
toolchain/uClibc/Makefile
+2
-0
2 additions, 0 deletions
toolchain/uClibc/Makefile
toolchain/uClibc/common.mk
+1
-1
1 addition, 1 deletion
toolchain/uClibc/common.mk
with
3 additions
and
17 deletions
Config.in
+
0
−
14
View file @
c6ba19c7
...
...
@@ -495,20 +495,6 @@ menu "Global build settings"
Only say Y, if you don't mind fixing broken packages.
Before reporting build bugs, set this to N and re-run the build.
config TOOLCHAIN_PARALLEL
bool
prompt "Parallelize the toolchain build (May break build)"
depends on PKG_BUILD_PARALLEL
depends on BROKEN
default n
help
Build the toolchain with parallel make jobs.
This speeds up the toolchain build on SMP machines, but may
break the build for certain toolchain versions.
If you say Y, toolchain build might break.
Before reporting build bugs, set this to N and re-run the build.
comment "Stripping options"
choice
...
...
This diff is collapsed.
Click to expand it.
include/toolchain-build.mk
+
0
−
2
View file @
c6ba19c7
...
...
@@ -11,8 +11,6 @@ REAL_STAGING_DIR_HOST:=$(STAGING_DIR_HOST)
STAGING_DIR_HOST
:=
$(
TOOLCHAIN_DIR
)
BUILD_DIR_HOST
:=
$(
BUILD_DIR_TOOLCHAIN
)
TOOLCHAIN_JOBS
?=
$(
if
$(
CONFIG_TOOLCHAIN_PARALLEL
)
,-j
$(
CONFIG_PKG_BUILD_JOBS
))
include
$(INCLUDE_DIR)/host-build.mk
HOST_STAMP_PREPARED
=
$(
HOST_BUILD_DIR
)
/.prepared
...
...
This diff is collapsed.
Click to expand it.
toolchain/uClibc/Makefile
+
2
−
0
View file @
c6ba19c7
...
...
@@ -5,6 +5,8 @@ include ./common.mk
HOST_STAMP_BUILT
:=
$(
HOST_BUILD_DIR
)
/.built
HOST_STAMP_INSTALLED
:=
$(
TOOLCHAIN_DIR
)
/stamp/.uclibc_installed
HOST_BUILD_PARALLEL
:=
1
define
Host/SetToolchainInfo
$(SED)
's,^\(LIBC_TYPE\)=.*,\1=$(PKG_NAME),'
$(TOOLCHAIN_DIR)/info.mk
$(SED) 's,^\(LIBC_URL\)=.*,\1=http
:
//www.uclibc.org/
,
' $(TOOLCHAIN_DIR)/info.mk
...
...
This diff is collapsed.
Click to expand it.
toolchain/uClibc/common.mk
+
1
−
1
View file @
c6ba19c7
...
...
@@ -50,7 +50,7 @@ CPU_CFLAGS = \
-Wno-unused-but-set-variable
\
$(
TARGET_CFLAGS
)
UCLIBC_MAKE
=
PATH
=
'
$(
TOOLCHAIN_DIR
)
/initial/bin:
$(
TARGET_PATH
)
'
$(
MAKE
)
-C
$(
HOST_BUILD_DIR
)
\
UCLIBC_MAKE
=
PATH
=
'
$(
TOOLCHAIN_DIR
)
/initial/bin:
$(
TARGET_PATH
)
'
$(
MAKE
)
$(
HOST_JOBS
)
-C
$(
HOST_BUILD_DIR
)
\
$(
TARGET_CONFIGURE_OPTS
)
\
DEVEL_PREFIX
=
/
\
RUNTIME_PREFIX
=
/
\
...
...
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