Skip to content

Commit

Permalink
Add sdbfs library as submodule.
Browse files Browse the repository at this point in the history
Provided by the fpga-config-space repository on OHWR. We are using the
'import' branch of the repository, which adds changes from many versions
of sdbfs spread across different projects.
  • Loading branch information
ericonr committed Sep 9, 2022
1 parent 085b976 commit 3b0a1e2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "docopt.cpp"]
path = third_party/docopt.cpp
url = https://github.com/docopt/docopt.cpp.git
[submodule "third_party/fpga-config-space"]
path = third_party/fpga-config-space
url = https://ohwr.org/project/fpga-config-space.git
1 change: 1 addition & 0 deletions third_party/fpga-config-space
Submodule fpga-config-space added at 510d4f
8 changes: 8 additions & 0 deletions third_party/meson.build
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
docopt_lib = static_library('docopt', 'docopt.cpp/docopt.cpp')
docopt_inc = include_directories('docopt.cpp')
docopt = declare_dependency(link_with: docopt_lib, include_directories: docopt_inc)

sdbfs_inc = include_directories(['sdbfs/lib', 'sdbfs/include/linux'])
sdbfs_lib = static_library(
'sdbfs',
['sdbfs/lib/access.c', 'sdbfs/lib/glue.c'],
include_directories: sdbfs_inc
)
sdbfs = declare_dependency(link_with: sdbfs_lib, include_directories: sdbfs_inc)
1 change: 1 addition & 0 deletions third_party/sdbfs

0 comments on commit 3b0a1e2

Please sign in to comment.