aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/lib/hls/addsub_hls/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'fpga/usrp3/lib/hls/addsub_hls/Makefile.inc')
-rw-r--r--fpga/usrp3/lib/hls/addsub_hls/Makefile.inc17
1 files changed, 7 insertions, 10 deletions
diff --git a/fpga/usrp3/lib/hls/addsub_hls/Makefile.inc b/fpga/usrp3/lib/hls/addsub_hls/Makefile.inc
index 0e2f0737a..03976bce8 100644
--- a/fpga/usrp3/lib/hls/addsub_hls/Makefile.inc
+++ b/fpga/usrp3/lib/hls/addsub_hls/Makefile.inc
@@ -1,22 +1,19 @@
#
-# Copyright 2015-2017 Ettus Research
-# Copyright 2016 Ettus Research, a National Instruments Company
+# Copyright 2020 Ettus Research, a National Instruments Brand
#
# SPDX-License-Identifier: LGPL-3.0-or-later
#
# Add C/C++/tcl files relative to usrp3/lib/hls/<ip> directory
-HLS_IP_ADDSUB_HLS_SRCS = \
+HLS_IP_ADDSUB_HLS_LIB_SRCS = $(addprefix $(HLS_IP_DIR)/addsub_hls/, \
addsub_hls.cpp \
-addsub_hls.tcl
-
-HLS_IP_ADDSUB_HLS_OUTS = $(addprefix $(IP_BUILD_DIR)/addsub_hls/, \
-solution/impl/verilog/addsub_hls.v \
+addsub_hls.tcl \
)
-# Sources in lib directory
-HLS_IP_ADDSUB_HLS_LIB_SRCS = $(addprefix $(HLS_IP_DIR)/addsub_hls/, $(HLS_IP_ADDSUB_HLS_SRCS))
+# HLS output artifact points to the ip/hdl/verilog folder. The build process
+# will glob all the files in this directory, including *.dat files.
+HLS_IP_ADDSUB_HLS_OUTS = $(IP_BUILD_DIR)/addsub_hls/solution/impl/ip/hdl/verilog
# Build with HLS
$(HLS_IP_ADDSUB_HLS_OUTS) : $(HLS_IP_ADDSUB_HLS_LIB_SRCS)
- $(call BUILD_VIVADO_HLS_IP,addsub_hls,$(PART_ID),$(HLS_IP_ADDSUB_HLS_LIB_SRCS),$(HLS_IP_DIR),$(IP_BUILD_DIR),)
+ $(call BUILD_VIVADO_HLS_IP,addsub_hls,$(PART_ID),$(HLS_IP_ADDSUB_HLS_LIB_SRCS),$(HLS_IP_DIR),$(IP_BUILD_DIR),) \ No newline at end of file