Honor V=1 build flag when building tests recursively

Allow to display the verbose command lines even when building the test
programs.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>

BUG=None
TEST="make tests" with and without V=1

Change-Id: Ib1195c7e069d7823c2eb7b2311bd5f3c6cd6c835
This commit is contained in:
Vincent Palatin
2012-02-02 19:51:26 +00:00
parent 40528fe87f
commit 71219213f5

View File

@@ -49,7 +49,8 @@ qemu-test-targets=$(foreach t,$(test-list),qemu-$(t))
$(test-targets): test-%:
@set -e ; \
echo " BUILD $(out)/$*" ; \
$(MAKE) -s BOARD=$(BOARD) PROJECT=$* out=$(out)/$*
$(MAKE) --no-print-directory BOARD=$(BOARD) PROJECT=$* \
V=$(V) out=$(out)/$*
$(qemu-test-targets): qemu-%: test-%
$(call quiet,qemu,TEST )