Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
f25613eb
Commit
f25613eb
authored
9 years ago
by
Mark Charlebois
Committed by
Julian Oes
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Removed extra returns
Signed-off-by:
Mark Charlebois
<
charlebm@gmail.com
>
parent
473fe773
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/toolchains/Toolchain-arm-linux-gnueabihf.cmake
+3
-6
3 additions, 6 deletions
cmake/toolchains/Toolchain-arm-linux-gnueabihf.cmake
with
3 additions
and
6 deletions
cmake/toolchains/Toolchain-arm-linux-gnueabihf.cmake
+
3
−
6
View file @
f25613eb
...
...
@@ -36,15 +36,13 @@ set(CMAKE_SYSTEM_NAME Generic)
set
(
CMAKE_SYSTEM_VERSION 1
)
# specify the cross compiler
find_program
(
C_COMPILER arm-linux-gnueabihf-gcc
)
find_program
(
C_COMPILER arm-linux-gnueabihf-gcc
)
if
(
NOT C_COMPILER
)
message
(
FATAL_ERROR
"could not find arm-linux-gnueabihf-gcc compiler"
)
endif
()
cmake_force_c_compiler
(
${
C_COMPILER
}
GNU
)
find_program
(
CXX_COMPILER arm-linux-gnueabihf-g++
)
find_program
(
CXX_COMPILER arm-linux-gnueabihf-g++
)
if
(
NOT CXX_COMPILER
)
message
(
FATAL_ERROR
"could not find arm-linux-gnueabihf-g++ compiler"
)
endif
()
...
...
@@ -53,8 +51,7 @@ cmake_force_cxx_compiler(${CXX_COMPILER} GNU)
# compiler tools
foreach
(
tool objcopy nm ld
)
string
(
TOUPPER
${
tool
}
TOOL
)
find_program
(
${
TOOL
}
arm-linux-gnueabihf-
${
tool
}
)
find_program
(
${
TOOL
}
arm-linux-gnueabihf-
${
tool
}
)
if
(
NOT
${
TOOL
}
)
message
(
FATAL_ERROR
"could not find arm-linux-gnueabihf-
${
tool
}
"
)
endif
()
...
...
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