From e9454b48a19acc72870f61f1656cefd9e29c65ef Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Thu, 12 Nov 2020 13:37:20 -0600 Subject: fpga: e31x: Add OOT sources to Makefile.e31x.inc --- fpga/usrp3/top/e31x/Makefile.e31x.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'fpga') 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) -- cgit v1.2.3