From 98a510d68e12751917dba29522c69de9964decf6 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 25 Oct 2019 10:56:09 -0700 Subject: rfnoc: image builder: Fix include paths The -I option was broken in multiple ways: - Multiple -I options would only keep the last one - The call to make did not actually append RFNOC_OOT_MAKEFILE_SRCS --- host/utils/bin/rfnoc_image_builder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/utils/bin/rfnoc_image_builder') diff --git a/host/utils/bin/rfnoc_image_builder b/host/utils/bin/rfnoc_image_builder index 731fad0b2..e221787c1 100755 --- a/host/utils/bin/rfnoc_image_builder +++ b/host/utils/bin/rfnoc_image_builder @@ -67,8 +67,8 @@ def setup_parser(): parser.add_argument( "-I", "--include-dir", help="Path directory of the RFNoC Out-of-Tree module", - nargs='+', - default=None) + action='append', default=[] + ) parser.add_argument( "-b", "--grc-blocks", help="Path directory of GRC block descriptions (needed for --grc-config only)", -- cgit v1.2.3