Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Ardupilot
Commits
b1c6931a
Commit
b1c6931a
authored
10 years ago
by
John Williams
Committed by
Andrew Tridgell
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Build: added zynq make target
parent
ae873999
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
mk/environ.mk
+5
-0
5 additions, 0 deletions
mk/environ.mk
mk/find_tools.mk
+9
-0
9 additions, 0 deletions
mk/find_tools.mk
mk/targets.mk
+6
-0
6 additions, 0 deletions
mk/targets.mk
with
20 additions
and
0 deletions
mk/environ.mk
+
5
−
0
View file @
b1c6931a
...
@@ -145,6 +145,11 @@ HAL_BOARD = HAL_BOARD_LINUX
...
@@ -145,6 +145,11 @@ HAL_BOARD = HAL_BOARD_LINUX
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_LINUX_ERLE
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_LINUX_ERLE
endif
endif
ifneq
($(findstring zynq, $(MAKECMDGOALS)),)
HAL_BOARD
=
HAL_BOARD_LINUX
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_LINUX_ZYNQ
endif
ifneq
($(findstring pxf, $(MAKECMDGOALS)),)
ifneq
($(findstring pxf, $(MAKECMDGOALS)),)
HAL_BOARD
=
HAL_BOARD_LINUX
HAL_BOARD
=
HAL_BOARD_LINUX
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_LINUX_PXF
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_LINUX_PXF
...
...
This diff is collapsed.
Click to expand it.
mk/find_tools.mk
+
9
−
0
View file @
b1c6931a
...
@@ -73,6 +73,15 @@ RPI_LD := arm-linux-gnueabihf-g++
...
@@ -73,6 +73,15 @@ RPI_LD := arm-linux-gnueabihf-g++
RPI_GDB
:=
arm-linux-gnueabihf-gdb
RPI_GDB
:=
arm-linux-gnueabihf-gdb
RPI_OBJCOPY
:=
arm-linux-gnueabihf-obj
RPI_OBJCOPY
:=
arm-linux-gnueabihf-obj
# toolchains for zynq
ZYNQ_CXX
:=
arm-xilinx-linux-gnueabi-g++
ZYNQ_CC
:=
arm-xilinx-linux-gnueabi-gcc
ZYNQ_AS
:=
arm-xilinx-linux-gnueabi-gcc
ZYNQ_AR
:=
arm-xilinx-linux-gnueabi-ar
ZYNQ_LD
:=
arm-xilinx-linux-gnueabi-g++
ZYNQ_GDB
:=
arm-xilinx-linux-gnueabi-gdb
ZYNQ_OBJCOPY
:=
arm-xilinx-linux-gnueabi-objcopy
# enable ccache if installed
# enable ccache if installed
CCACHE
:=
$(
call FIND_TOOL,ccache
)
CCACHE
:=
$(
call FIND_TOOL,ccache
)
...
...
This diff is collapsed.
Click to expand it.
mk/targets.mk
+
6
−
0
View file @
b1c6931a
...
@@ -31,6 +31,12 @@ erle: HAL_BOARD = HAL_BOARD_LINUX
...
@@ -31,6 +31,12 @@ erle: HAL_BOARD = HAL_BOARD_LINUX
erle
:
TOOLCHAIN = BBONE
erle
:
TOOLCHAIN = BBONE
erle
:
all
erle
:
all
zynq
:
HAL_BOARD = HAL_BOARD_LINUX
zynq
:
TOOLCHAIN = ZYNQ
zynq
:
all
zynq-hil
:
EXTRAFLAGS += "-DHILMODE=HIL_MODE_ATTITUDE -DHIL_MODE=HIL_MODE_SENSORS "
zynq-hil
:
zynq
pxf
:
HAL_BOARD = HAL_BOARD_LINUX
pxf
:
HAL_BOARD = HAL_BOARD_LINUX
pxf
:
TOOLCHAIN = BBONE
pxf
:
TOOLCHAIN = BBONE
pxf
:
all
pxf
:
all
...
...
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