aboutsummaryrefslogtreecommitdiffstats
path: root/fpga
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2020-11-12 13:37:20 -0600
committerWade Fife <wade.fife@ettus.com>2020-11-13 14:01:13 -0600
commite9454b48a19acc72870f61f1656cefd9e29c65ef (patch)
treeba04533159c20653d2ee410ee729b4b8baa08abc /fpga
parenta61bbb55ebe6fddfe031e7f51bd6aebe706ac582 (diff)
downloaduhd-e9454b48a19acc72870f61f1656cefd9e29c65ef.tar.gz
uhd-e9454b48a19acc72870f61f1656cefd9e29c65ef.tar.bz2
uhd-e9454b48a19acc72870f61f1656cefd9e29c65ef.zip
fpga: e31x: Add OOT sources to Makefile.e31x.inc
Diffstat (limited to 'fpga')
-rw-r--r--fpga/usrp3/top/e31x/Makefile.e31x.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/fpga/usrp3/top/e31x/Makefile.e31x.inc b/fpga/usrp3/top/e31x/Makefile.e31x.inc
index 5e2b63853..5e0f2ce33 100644
--- a/fpga/usrp3/top/e31x/Makefile.e31x.inc
+++ b/fpga/usrp3/top/e31x/Makefile.e31x.inc
@@ -31,9 +31,17 @@ include $(LIB_DIR)/packet_proc/Makefile.srcs
include $(LIB_DIR)/dsp/Makefile.srcs
include $(LIB_DIR)/io_cap_gen/Makefile.srcs
include $(LIB_DIR)/rfnoc/Makefile.srcs
+# For the sake of convenience, we include the Makefile.srcs for the DDC, DUC,
+# and the radio. Any other block needs to use the RFNOC_OOT_MAKEFILE_SRCS
+# variable (see below).
include $(LIB_DIR)/rfnoc/blocks/rfnoc_block_radio/Makefile.srcs
include $(LIB_DIR)/rfnoc/blocks/rfnoc_block_ddc/Makefile.srcs
include $(LIB_DIR)/rfnoc/blocks/rfnoc_block_duc/Makefile.srcs
+# If out-of-tree modules want to be compiled into this image, then they need to
+# pass in the RFNOC_OOT_MAKEFILE_SRCS as a list of Makefile.srcs files.
+# Those files need to amend the RFNOC_OOT_SRCS variable with a list of actual
+# source files.
+-include $(RFNOC_OOT_MAKEFILE_SRCS)
IMAGE_CORE ?= $(DEFAULT_RFNOC_IMAGE_CORE_FILE)
EDGE_FILE ?= $(DEFAULT_EDGE_FILE)