forked from opencpi/opencpi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProject.exports
274 lines (271 loc) · 13.7 KB
/
Project.exports
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
# This file is protected by Copyright. Please refer to the COPYRIGHT file
# distributed with this source distribution.
#
# This file is part of OpenCPI <http://www.opencpi.org>
#
# OpenCPI is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# OpenCPI is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
################################################################################
#
# THIS IS NOT A PROJECT EXPORTS FILE EVEN THOUGH IT IS SIMILAR
# There are implicit links based on "places", with rules described below.
# + lines means additions to cdk development package
# = lines means additions to cdk runtime and development packages
# - lines means remove links implied by other rules
#
# The "places" rules are about framework headers, libraries, and programs.
# In general, programs go in bin, libraries and swigs go in lib, API headers go into include/aci
#
# For runtime, only driver/plugin libraries go in lib, (and later, dynamic libraries)
# For runtime, tool programs are not exported.
# For programs, they can specify a subdirectory of bin. If that subdirectory is "internal",
# they are not exported at all.
#
# There are other "final" actions that happen during this export:
# - compile python programs and scripts
# exclusions, sometimes only applying to categories
#-runtime/util main
#-runtime/dataplane main
#-runtime/ctests
#+|runtime/ctests/target-<target>/test_[^.]* bin/<target>/ctests/
# In dynamic mode when this library is not statically linked
#+|runtime/ctests/target-<target>/libocpi_ctests.(so|dylib) bin/<target>/ctests/
-tests library
-runtime/dataplane/xfer/tests library
=tools/cdk/default-system.xml
# More or less obsolete env scripts, left in for compatibility, put in runtime just to match
# up with 1.3.1
=env/altera.sh env/
=env/clean-env.sh env/
=env/finish.sh env/
=env/start.sh env/
=env/xilinx.sh env/
# This is what is run from /etc/profile.d/opencpi.sh from RPMs.
# We need to rationalize this with opencpi-setup.sh
=env/rpm_cdk.sh env/
=packaging/dist/env.d/* env.d/
+tools/cdk/python/_opencpi/__init__.py <target>/lib/_opencpi/
+tools/cdk/python/_opencpi/util/__init__.py <target>/lib/_opencpi/util/
+tools/cdk/python/_opencpi/util/__init__.py <target>/lib/_opencpi/util/
+tools/cdk/python/_opencpi/util/file.py <target>/lib/_opencpi//util/
+tools/cdk/python/_opencpi/util/project.py <target>/lib/_opencpi/util/
+tools/cdk/python/_opencpi/util/report.py <target>/lib/_opencpi/util/
+tools/ocpidev/hdltools/__init__.py <target>/lib/_opencpi/hdltools/
+tools/ocpidev/hdltools/quartus.py <target>/lib/_opencpi/hdltools/
+tools/ocpidev/hdltools/vivado.py <target>/lib/_opencpi/hdltools/
+tools/ocpidev/hdltools/_xilinx.py <target>/lib/_opencpi/hdltools/
+tools/ocpidev/hdltools/xst.py <target>/lib/_opencpi/hdltools/
+tools/ocpidev/hdlreportableitem.py <target>/lib/_opencpi/
+tools/ocpidev/hdltargets.py <target>/lib/_opencpi/
+tools/ocpidev/assets/abstract.py <target>/lib/_opencpi/assets/
+tools/ocpidev/assets/application.py <target>/lib/_opencpi/assets/
+tools/ocpidev/assets/assembly.py <target>/lib/_opencpi/assets/
+tools/ocpidev/assets/factory.py <target>/lib/_opencpi/assets/
+tools/ocpidev/assets/__init__.py <target>/lib/_opencpi/assets/
+tools/ocpidev/assets/library.py <target>/lib/_opencpi/assets/
+tools/ocpidev/assets/platform.py <target>/lib/_opencpi/assets/
+tools/ocpidev/assets/project.py <target>/lib/_opencpi/assets/
+tools/ocpidev/assets/registry.py <target>/lib/_opencpi/assets/
+tools/ocpidev/assets/test.py <target>/lib/_opencpi/assets/
+tools/ocpidev/assets/worker.py <target>/lib/_opencpi/assets/
+tools/ocpidev/assets/component.py <target>/lib/_opencpi/assets/
+tools/ocpidev/ocpidev.sh <target>/bin/ocpidev
+tools/ocpidev/ocpidev_run.py scripts/
+tools/ocpidev/ocpishow.py scripts/
+tools/ocpidev/ocpidev_utilization.py scripts/
# generic make scripts
+tools/cdk/include/show.mk include/
+tools/cdk/include/lib.mk include/
+tools/cdk/include/library.mk include/
+tools/cdk/include/util.mk include/
+tools/cdk/include/package.mk include/
+tools/cdk/include/worker.mk include/
+tools/cdk/include/xxx-worker.mk include/
+tools/cdk/include/ocpisetup.mk include/
+tools/cdk/include/test.mk include/
+tools/cdk/include/ocpisetup.mk
+tools/cdk/include/libraries.mk include/
+tools/cdk/include/project.mk include/
+tools/cdk/include/applications.mk include/
+tools/cdk/include/application.mk include/
+tools/cdk/include/aci.mk include/
+tools/cdk/include/setup-target-platform.mk include/
+tools/cdk/include/platform-defaults.mk include/
# CDK scripts we need
+scripts/clean-env.sh scripts/
# This is runtime although this one script deals with initialization issues
# for development time tool. An acceptable "runtime bloat" to keep this gnarly bootstrapping
# stuff in one place.
=tools/cdk/scripts/opencpi-setup.sh
+tools/cdk/scripts/setup-prerequisite.sh scripts/
+tools/cdk/scripts/setup-prereq-dirs.sh scripts/
+tools/cdk/scripts/getPlatform.sh scripts/
# Put this script where the executables are exported to run there - needed?
=runtime/ctests/src/run_tests.sh <target>/bin/ctests/
#+runtime/ctests/src/run_tests.sh scripts/
# this is built like runtime, but needs to be exported for development
# so it is "place" in the internal dir to avoid runtime, and exported explicitly for devel
# we are removing it from the distribution entirely before deciding about the RH stuff
#+build/autotools/target-<target>/staging/bin/internal/ocpisca <target>/bin/
# Allow installations to run this, but not documented yet
# It will run only runtime env tests if that's where it is
# Perhaps migrate this to bin with a new name at some point
=scripts/test-opencpi.sh <target>/bin/ocpitest
+tools/cdk/scripts/makeStaticWorker.sh scripts/
=tools/cdk/scripts/ocpidriver scripts/
=tools/cdk/scripts/ocpisetup.sh scripts/
=tools/cdk/scripts/ocpibootstrap.sh scripts/
=tools/cdk/scripts/ocpisudo scripts/
+tools/cdk/scripts/ocpitarget.sh scripts/
+tools/cdk/scripts/ocpidev scripts/
+tools/cdk/scripts/ocpishow.py scripts/
+tools/cdk/scripts/ocpidev_utilization.py scripts/
+tools/cdk/scripts/ocpidev_run.py scripts/
+tools/cdk/scripts/ocpiassets.py scripts/
+tools/cdk/scripts/ocpiutil.py scripts/
+tools/cdk/scripts/hdltargets.py scripts/
+tools/cdk/scripts/hdlreportableitem.py scripts/
+tools/cdk/scripts/hdltools/__init__.py scripts/hdltools/
+tools/cdk/scripts/hdltools/quartus.py scripts/hdltools/
+tools/cdk/scripts/hdltools/vivado.py scripts/hdltools/
+tools/cdk/scripts/hdltools/_xilinx.py scripts/hdltools/
+tools/cdk/scripts/hdltools/xst.py scripts/hdltools/
+tools/cdk/scripts/upgradeApp_v1_3.py scripts/
+tools/ocpidev/ocpidev_bash_complete.sh scripts/ocpidev_bash_complete
=tools/cdk/scripts/util.sh scripts/
+tools/cdk/scripts/testrunprep.sh scripts/
+tools/cdk/scripts/testrunremote.sh scripts/
+tools/cdk/scripts/testrun.sh scripts/
+tools/cdk/scripts/testutil.sh scripts/
+tools/cdk/scripts/setsid.py scripts/
+tools/cdk/scripts/freeze_project.sh scripts/
+tools/cdk/scripts/thaw_project.sh scripts/
+tools/cdk/scripts/makeProjectExports.sh scripts/
#+scripts/makeExportLinks.sh scripts/
+tools/cdk/scripts/maybeExport.sh scripts/
# user level scripts made available in the bin directory
+tools/cdk/scripts/ocpidev <target>/bin/
+tools/cdk/scripts/ocpi-copy-projects.py <target>/bin/ocpi-copy-projects
=tools/cdk/scripts/ocpidriver <target>/bin/
+tools/cdk/scripts/genProjMetaData.py scripts/
#+tools/cdk/scripts/genProjMetaData.pyc scripts/
#+tools/cdk/scripts/genProjMetaData.pyo scripts/
+tools/cdk/specs/* specs/
+hdl/devices/specs/lime-iq-properties.xml specs/
+hdl/devices/specs/dac-properties.xml specs/
# linux driver
=os/linux/driver/99-opencpi.rules <target>/lib/
=os/linux/driver/mdev-opencpi.rules <target>/lib/
=os/linux/driver/target-<target>/opencpi*.ko <target>/lib/
=os/linux/driver/ocpi_linux_driver scripts/
################################################################################
# Python related exclusions and additions
# It is runtime for systems that have python, but non-python platforms can exclude it
# SWIG:
=runtime/python/opencpi/__init__.py <target>/lib/opencpi/
# Colors for verification scripts:
+tools/cdk/python/opencpi/colors.py <target>/lib/opencpi/
################################################################################
# RCC related exclusions and additions
# We don't want everything so we are selective here. was: +tools/cdk/include/rcc include/rcc
# After more cleanup we may be able to default to everything
+runtime/rcc/include/RCC_Worker.h include/rcc/
+runtime/container/include/OcpiContainerRunConditionApi.h include/rcc/
+os/interfaces/include/OcpiConfigApi.h include/rcc/
+tools/cdk/include/rcc/rcc-targets.mk include/rcc/
+tools/cdk/include/rcc/rcc-make.mk include/rcc/
+tools/cdk/include/rcc/rcc-worker.mk include/rcc/
+tools/cdk/include/rcc/default.mk include/rcc/
# OCL additions
+tools/cdk/include/ocl/ocl-make.mk include/ocl/
+tools/cdk/include/ocl/ocl-worker.mk include/ocl/
+runtime/ocl/include/OCL_Worker.h include/ocl/
# We export everything in tools/cdk/include/hdl, although we could be more careful...
+tools/cdk/include/hdl/* include/hdl/
# These three are links for bootstrapping purposes only
-tools/cdk/include/hdl/altera.mk
-tools/cdk/include/hdl/xilinx.mk
-tools/cdk/include/hdl/vivado.mk
# These should be in a common-to-zynq-platforms dir in "platforms"...
# +tools/cdk/include/rcc/linux-c6-x86_64=linux-zynq-arm.mk include/rcc/
# +tools/cdk/include/rcc/linux-c7-x86_64=linux-zynq-arm.mk include/rcc/
# These are to allow them carefully for RCC workers that access other workers in the app
# They are currently redundant with the top level include, but they are here so we can
# Ultimately control visibility for workers
# Expose API headers to the ACI - this is mostly automated *Api.h
+runtime/application/include/OcpiApi.h include/aci/OcpiApi.hh
# These are horrible, but until we get multiple slaves, we need them
+runtime/application/include/OcpiApi.h include/rcc/OcpiApi.hh
+runtime/application/include/OcpiApi.h include/rcc/OcpiApi.h
+os/interfaces/include/OcpiOsDebugApi.h include/rcc/OcpiOsDebugApi.hh
+runtime/application/include/OcpiApplicationApi.h include/rcc/
+runtime/container/include/OcpiContainerApi.h include/rcc/
+runtime/util/ior/include/OcpiCorbaApi.h include/rcc/
+runtime/util/property/include/OcpiPValueApi.h include/rcc/
+runtime/util/property/include/OcpiUtilDataTypesApi.h include/rcc/
+runtime/util/property/include/OcpiUtilPropertyApi.h include/rcc/
+runtime/util/misc/include/OcpiUtilExceptionApi.h include/rcc/
+runtime/library/include/OcpiLibraryApi.h include/rcc/
# End of undocumented temporary stuff until multi-slaves
################################################################################
# HDL related exclusions and additions
# test executables to suppress
-runtime/hdl-support/target-/testRpl
# -runtime/hdl-support/target-/ocpinft
# test scripts to suppress that we want to keep in the repo
-runtime/hdl-support/scripts/testDMA
-runtime/hdl-support/scripts/donft
-runtime/hdl-support/scripts/dmaTestBasic
# base vendor-specific scripts not in a platform and not in hdl-support
=runtime/hdl-support/altera/altera.mk include/hdl/
=runtime/hdl-support/altera/loadFlash_altera scripts/
=runtime/hdl-support/altera/probeJtag_altera scripts/
=runtime/hdl-support/xilinx/loadFlash_xilinx scripts/
=runtime/hdl-support/xilinx/probeJtag_xilinx scripts/
=runtime/hdl-support/xilinx/findJtagByESN_xilinx scripts/
=runtime/hdl-support/xilinx/getESNfromUSB_xilinx scripts/
=runtime/hdl-support/scripts/loadBitStream scripts/
=runtime/hdl-support/xilinx/xilinx.mk include/hdl/
=runtime/hdl-support/xilinx/vivado* include/hdl/
=runtime/hdl-support/scripts/loadFlash <target>/bin/
=runtime/hdl-support/scripts/probeJtag <target>/bin/
+runtime/hdl-support/scripts/ocpiview <target>/bin/
# Enable all local bitstreams to be seen in one place for convenience of OCPI_LIBRARY_PATH
+hdl/assemblies/*/container-*/target-*/*.bitz lib/hdl/assemblies/
# for backward compatibility of system.xml files
+runtime/dataplane/xfer/drivers/socket/target-<target>/libocpi_socket.* <target>/lib/libocpi_sockets<suffix>
+runtime/dataplane/xfer/drivers/socket/target-<target>/libocpi_socket_s.* <target>/lib/libocpi_sockets_s<suffix>
################################################################################
# SCA/RH related additions.
#+tools/ocpirh/ocpirh_export.sh <target>/bin/ocpirh_export
#+tools/ocpirh/target-<target>/ocpirh_proxy <target>/bin/
################################################################################
# GNU Radio related additions.
+tools/ocpigr/target-<target>/ocpigr <target>/bin/
################################################################################
# Kernel module and main license files
#+LICENSE.txt <target>/lib/
=LICENSE.txt
=COPYRIGHT
################################################################################
# automake related exclusions and additions
#+tools/cdk/include/autoconfig_import.mk include/
# Until wildcards are supported, the cross-compiled platforms:
#+tools/cdk/include/autoconfig_import-zed.mk include/
#+tools/cdk/include/autoconfig_import-pico_t6a.mk include/
=projects/assets/applications/*.xml applications/
=projects/assets/applications/test.input applications/
=projects/assets/applications/run.sh applications/
################################################################################
# XML files required when building containers that are not real workers
+projects/core/hdl/primitives/platform/*.xml include/hdl/