TEMPORARY: fpga: tools: Allow specifying the BUILD_DIR

This commit is contained in:
Wade Fife 2024-05-03 22:35:11 -05:00
parent 114521f2ad
commit c46c3b1435

View File

@ -26,11 +26,13 @@ HLS_IP_DIR = $(abspath $(LIB_DIR)/hls)
BUILD_BASE_DIR ?= .
ifndef BUILD_DIR
ifdef NAME
BUILD_DIR = $(abspath $(BUILD_BASE_DIR)/build-$(NAME))
else
BUILD_DIR = $(abspath $(BUILD_BASE_DIR)/build)
endif
endif
IP_BUILD_DIR = $(abspath ./build-ip/$(subst /,,$(PART_ID)))