From e9a85d09aef0aba17873c448603daa525f587aa4 Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Thu, 12 Nov 2020 13:37:20 -0600 Subject: [PATCH] fpga: e31x: Add OOT sources to Makefile.e31x.inc Original-commit: e9454b48a19acc72870f61f1656cefd9e29c65ef --- top/e31x/Makefile.e31x.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/top/e31x/Makefile.e31x.inc b/top/e31x/Makefile.e31x.inc index 5e2b638..5e0f2ce 100644 --- a/top/e31x/Makefile.e31x.inc +++ b/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)