image builder: Add --build-ip-dir option
Co-authored-by: Wade Fife <wade.fife@ni.com> Original-commit: 94b4de39d61ac4165ab18001b7d1a27c34698795
This commit is contained in:
committed by
Joerg Hofrichter
co-authored by
Wade Fife
parent
0e6459250b
commit
523212fa04
@@ -29,9 +29,17 @@ HLS_IP_DIR = $(abspath $(LIB_DIR)/hls)
|
||||
|
||||
MAKEFILE_DIR = $(abspath .)
|
||||
|
||||
IP_BUILD_DIR ?= $(abspath ./build-ip/$(subst /,,$(PART_ID)))
|
||||
BUILD_BASE_DIR ?= $(abspath .)
|
||||
|
||||
# -------------------------------------------------------------------
|
||||
# IP Build Directory. Call with BUILD_IP_DIR to use that as base dir.
|
||||
# -------------------------------------------------------------------
|
||||
ifdef BUILD_IP_DIR
|
||||
IP_BUILD_DIR = $(abspath $(BUILD_IP_DIR)/$(subst /,,$(PART_ID)))
|
||||
else
|
||||
IP_BUILD_DIR = $(abspath $(BUILD_BASE_DIR)/build-ip/$(subst /,,$(PART_ID)))
|
||||
endif
|
||||
|
||||
# -------------------------------------------------------------------
|
||||
# Git Hash Retrieval
|
||||
# -------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user