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
a2c03945
Commit
a2c03945
authored
13 years ago
by
Imre Kaloz
Browse files
Options
Downloads
Patches
Plain Diff
simplify configuration
SVN-Revision: 27353
parent
7845c7b5
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
toolchain/gcc/Config.in
+1
-1
1 addition, 1 deletion
toolchain/gcc/Config.in
toolchain/gcc/common.mk
+4
-11
4 additions, 11 deletions
toolchain/gcc/common.mk
with
5 additions
and
12 deletions
toolchain/gcc/Config.in
+
1
−
1
View file @
a2c03945
...
@@ -25,7 +25,7 @@ endchoice
...
@@ -25,7 +25,7 @@ endchoice
config GCC_USE_GRAPHITE
config GCC_USE_GRAPHITE
bool
bool
prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
depends
GCC_VERSION_4_4 || GCC_VERSION_4_5 || GCC_VERSION_4_6
depends
!GCC_VERSION_LLVM
config GCC_USE_SYSTEM_PPL_CLOOG
config GCC_USE_SYSTEM_PPL_CLOOG
bool
bool
...
...
This diff is collapsed.
Click to expand it.
toolchain/gcc/common.mk
+
4
−
11
View file @
a2c03945
...
@@ -104,27 +104,20 @@ GCC_CONFIGURE:= \
...
@@ -104,27 +104,20 @@ GCC_CONFIGURE:= \
$(
if
$(
CONFIG_mips64
)$(
CONFIG_mips64el
)
,--with-arch
=
mips64
--with-abi
=
64
)
\
$(
if
$(
CONFIG_mips64
)$(
CONFIG_mips64el
)
,--with-arch
=
mips64
--with-abi
=
64
)
\
$(
if
$(
CONFIG_GCC_VERSION_LLVM
)
,--enable-llvm
=
$(
BUILD_DIR_BASE
)
/host/llvm
)
\
$(
if
$(
CONFIG_GCC_VERSION_LLVM
)
,--enable-llvm
=
$(
BUILD_DIR_BASE
)
/host/llvm
)
\
ifneq
($(CONFIG_GCC_VERSION_4_4)$(CONFIG_GCC_VERSION_4_5)$(CONFIG_GCC_VERSION_4_6),)
ifneq
($(CONFIG_mips)$(CONFIG_mipsel),)
GCC_CONFIGURE
+=
--with-mips-plt
endif
endif
ifeq
($(CONFIG_GCC_LLVM),)
ifeq
($(CONFIG_GCC_LLVM),)
GCC_BUILD_TARGET_LIBGCC
:=
y
GCC_BUILD_TARGET_LIBGCC
:=
y
GCC_CONFIGURE
+=
\
GCC_CONFIGURE
+=
\
--with-gmp
=
$(
TOPDIR
)
/staging_dir/host
\
--with-gmp
=
$(
TOPDIR
)
/staging_dir/host
\
--with-mpfr
=
$(
TOPDIR
)
/staging_dir/host
\
--with-mpfr
=
$(
TOPDIR
)
/staging_dir/host
\
--disable-decimal-float
--disable-decimal-float
ifneq
($(CONFIG_mips)$(CONFIG_mipsel),)
GCC_CONFIGURE
+=
--with-mips-plt
endif
endif
endif
ifneq
($(CONFIG_GCC_VERSION_4_5)$(CONFIG_GCC_VERSION_4_6),)
ifneq
($(CONFIG_GCC_VERSION_4_5)$(CONFIG_GCC_VERSION_4_6),)
GCC_BUILD_TARGET_LIBGCC
:=
y
GCC_CONFIGURE
+=
\
GCC_CONFIGURE
+=
\
--with-gmp
=
$(
TOPDIR
)
/staging_dir/host
\
--with-mpc
=
$(
TOPDIR
)
/staging_dir/host
--with-mpc
=
$(
TOPDIR
)
/staging_dir/host
\
--with-mpfr
=
$(
TOPDIR
)
/staging_dir/host
\
--disable-decimal-float
endif
endif
ifneq
($(CONFIG_SSP_SUPPORT),)
ifneq
($(CONFIG_SSP_SUPPORT),)
...
...
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