aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-11-23 21:09:48 -0700
committerSimon Glass <sjg@chromium.org>2021-12-05 09:21:44 -0700
commit7945077f7934fff2b9a5fba2860fe330e86093f1 (patch)
treeaab3795cf865edbb9808905c41f2df5ea457e16d /Makefile
parentd5b6e91ba2cac6cb0a2f7437fdbbe792d1acb387 (diff)
downloadu-boot-7945077f7934fff2b9a5fba2860fe330e86093f1.zip
u-boot-7945077f7934fff2b9a5fba2860fe330e86093f1.tar.gz
u-boot-7945077f7934fff2b9a5fba2860fe330e86093f1.tar.bz2
binman: Allow providing tools and blob directories
At present it is necessary to symlink files containing external blobs into the U-Boot tree in order for binman to find them. This is not very convenient. Add two new environment/Makefile variables to help with this. Add documentation as well, fixing a related nit. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 57c3643..1885f36 100644
--- a/Makefile
+++ b/Makefile
@@ -1303,11 +1303,13 @@ default_dt := $(if $(DEVICE_TREE),$(DEVICE_TREE),$(CONFIG_DEFAULT_DEVICE_TREE))
quiet_cmd_binman = BINMAN $@
cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \
+ $(foreach f,$(BINMAN_TOOLPATHS),--toolpath $(f)) \
--toolpath $(objtree)/tools \
$(if $(BINMAN_VERBOSE),-v$(BINMAN_VERBOSE)) \
build -u -d u-boot.dtb -O . -m --allow-missing \
-I . -I $(srctree) -I $(srctree)/board/$(BOARDDIR) \
-I arch/$(ARCH)/dts -a of-list=$(CONFIG_OF_LIST) \
+ $(foreach f,$(BINMAN_INDIRS),-I $(f)) \
-a atf-bl31-path=${BL31} \
-a opensbi-path=${OPENSBI} \
-a default-dt=$(default_dt) \