diff --git a/qemu/Makefile b/qemu/Makefile index fcb96fde..69910dfd 100644 --- a/qemu/Makefile +++ b/qemu/Makefile @@ -58,7 +58,7 @@ $(call set-vpath, $(SRC_PATH)) LIBS+=-lz $(LIBS_TOOLS) -SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory) BUILD_DIR=$(BUILD_DIR) +SUBDIR_MAKEFLAGS=BUILD_DIR=$(BUILD_DIR) SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(TARGET_DIRS)) SUBDIR_DEVICES_MAK_DEP=$(patsubst %, %-config-devices.mak.d, $(TARGET_DIRS)) diff --git a/qemu/rules.mak b/qemu/rules.mak index f3f24484..5425b91b 100644 --- a/qemu/rules.mak +++ b/qemu/rules.mak @@ -119,6 +119,8 @@ modules: quiet-command = $(if $(V),$1,$(if $(2),@echo $2 && $1, @$1)) +MAKEFLAGS += $(if $(V),,--no-print-directory --quiet) + # cc-option # Usage: CFLAGS+=$(call cc-option, -falign-functions=0, -malign-functions=0)