tools/mkimage: Make the path to the dtc binary that mkimage calls configurable
In some cases, such as FreeBSD, the path to an alternative dtc needs to be used. Rather than override the one given in the Makefile on the command line, make this part of the build configuration. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -175,7 +175,7 @@ HOSTCFLAGS_rsa-sign.o += -Wno-deprecated-declarations
|
||||
endif
|
||||
endif
|
||||
|
||||
HOSTCFLAGS_fit_image.o += -DMKIMAGE_DTC=\"$(DTC)\"
|
||||
HOSTCFLAGS_fit_image.o += -DMKIMAGE_DTC=\"$(CONFIG_MKIMAGE_DTC_PATH)\"
|
||||
|
||||
HOSTLOADLIBES_dumpimage := $(HOSTLOADLIBES_mkimage)
|
||||
HOSTLOADLIBES_fit_info := $(HOSTLOADLIBES_mkimage)
|
||||
|
||||
Reference in New Issue
Block a user