binman: build_from_git: Add optional make path inside git repo
authorLeonard Anderweit <l.anderweit@phytec.de>
Wed, 26 Feb 2025 21:05:00 +0000 (22:05 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 12 Mar 2025 16:25:25 +0000 (10:25 -0600)
commitb48bc416206788da990c34ddcf92d5c3816247ea
tree703b8faa8a7da649e4cb73d86f5512c59703c01a
parent5f2096d2bc58ac265110777d08673a0e4b27cd84
binman: build_from_git: Add optional make path inside git repo

Add optional argument make_path to build_from git. The new argument
allows specifying the path to a Makefile in case it is not in the root
of the git repo.
Also adjust the corresponding test.

Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/bintool.py
tools/binman/bintool_test.py