Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Beam Positoning Monitor - Software
Commits
e8ec4bfd
Commit
e8ec4bfd
authored
Feb 13, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile,libbpmclient/Makefile: use variable for all supported AFCv3 boards
parent
05d338d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
Makefile
Makefile
+8
-2
Makefile
src/libs/libbpmclient/Makefile
+1
-1
No files found.
Makefile
View file @
e8ec4bfd
...
...
@@ -48,6 +48,12 @@ export CFG_DIR
CFG
?=
crude_defconfig
export
CFG
# All of our supported boards
SUPPORTED_ML605_BOARDS
=
ml605
export
SUPPORTED_ML605_BOARDS
SUPPORTED_AFCV3_BOARDS
=
afcv3 afcv3_1
export
SUPPORTED_AFCV3_BOARDS
# Config filename
CFG_FILENAME
=
bpm_sw.cfg
...
...
@@ -85,7 +91,7 @@ CFLAGS_USR = -std=gnu99 -O2
override
CPPFLAGS
+=
override
CXXFLAGS
+=
ifeq
($(BOARD),$(filter
$(BOARD),
afcv3
afcv3_1
))
ifeq
($(BOARD),$(filter
$(BOARD),
$(SUPPORTED_AFCV3_BOARDS)
))
ifeq
($(SHRINK_AFCV3_DDR_SIZE),y)
CFLAGS_USR
+=
-D__SHRINK_AFCV3_DDR_SIZE__
endif
...
...
@@ -96,7 +102,7 @@ ifeq ($(BOARD),ml605)
CFLAGS_USR
+=
-D__BOARD_ML605__
-D__WR_SHIFT_FIX__
=
2
endif
ifeq
($(BOARD),$(filter
$(BOARD),
afcv3
afcv3_1
))
ifeq
($(BOARD),$(filter
$(BOARD),
$(SUPPORTED_AFCV3_BOARDS)
))
CFLAGS_USR
+=
-D__BOARD_AFCV3__
-D__WR_SHIFT_FIX__
=
0
endif
...
...
src/libs/libbpmclient/Makefile
View file @
e8ec4bfd
...
...
@@ -42,7 +42,7 @@ ifeq ($(BOARD),ml605)
CFLAGS_USR
+=
-D__BOARD_ML605__
endif
ifeq
($(BOARD),$(filter
$(BOARD),
afcv3
afcv3_1
))
ifeq
($(BOARD),$(filter
$(BOARD),
$(SUPPORTED_AFCV3_BOARDS)
))
CFLAGS_USR
+=
-D__BOARD_AFCV3__
endif
...
...
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