Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
3e668821
Commit
3e668821
authored
Apr 21, 2021
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: read cross compiler prefix from env variable depending on architecture
Signed-off-by:
Adam Wujek
<
adam.wujek@creotech.pl
>
parent
ca388e8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Makefile
Makefile
+7
-2
No files found.
Makefile
View file @
3e668821
# Tomasz Wlostowski for CERN, 2011,2012
-include
$(CURDIR)/.config
CROSS_COMPILE-$(CONFIG_ARCH_LM32)
?=
lm32-elf-
CROSS_COMPILE-$(CONFIG_ARCH_RISCV)
?=
riscv-elf-
# use a cross compiler depending on architecture
CROSS_COMPILE_LM32
?=
lm32-elf-
CROSS_COMPILE_RISCV
?=
riscv-elf-
CROSS_COMPILE-$(CONFIG_ARCH_LM32)
?=
$(CROSS_COMPILE_LM32)
CROSS_COMPILE-$(CONFIG_ARCH_RISCV)
?=
$(CROSS_COMPILE_RISCV)
# use a cross compiler for all architectures
CROSS_COMPILE
?=
$
(
CROSS_COMPILE-y
)
ifeq
($(CONFIG_ARCH_LM32),y)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment