Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dma_ip_drivers
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
dma_ip_drivers
Commits
1908253a
Commit
1908253a
authored
Feb 22, 2022
by
Karen Xie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XDMA makefile: add option to set xdma config bar number config_bar_num=<N>
parent
02df466d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
XDMA/linux-kernel/xdma/Makefile
XDMA/linux-kernel/xdma/Makefile
+4
-0
No files found.
XDMA/linux-kernel/xdma/Makefile
View file @
1908253a
...
@@ -2,6 +2,7 @@ SHELL = /bin/bash
...
@@ -2,6 +2,7 @@ SHELL = /bin/bash
#
#
# optional makefile parameters:
# optional makefile parameters:
# - DEBUG=<0|1>, enable verbose debug print-out in the driver
# - DEBUG=<0|1>, enable verbose debug print-out in the driver
# - config_bar_num=, xdma pci config bar number
# - xvc_bar_num=, xvc pci bar #
# - xvc_bar_num=, xvc pci bar #
# - xvc_bar_offset=, xvc register base offset
# - xvc_bar_offset=, xvc register base offset
#
#
...
@@ -23,6 +24,9 @@ EXTRA_CFLAGS := -I$(topdir)/include $(XVC_FLAGS)
...
@@ -23,6 +24,9 @@ EXTRA_CFLAGS := -I$(topdir)/include $(XVC_FLAGS)
ifeq
($(DEBUG),1)
ifeq
($(DEBUG),1)
EXTRA_CFLAGS
+=
-D__LIBXDMA_DEBUG__
EXTRA_CFLAGS
+=
-D__LIBXDMA_DEBUG__
endif
endif
ifneq
($(config_bar_num),)
EXTRA_CFLAGS
+=
-DXDMA_CONFIG_BAR_NUM
=
$(config_bar_num)
endif
#EXTRA_CFLAGS += -DINTERNAL_TESTING
#EXTRA_CFLAGS += -DINTERNAL_TESTING
ifneq
($(KERNELRELEASE),)
ifneq
($(KERNELRELEASE),)
...
...
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