mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-23 19:23:56 +00:00
build-sys: silence make by default or V=0
Move generic make flags in MAKEFLAGS (SUBDIR_MAKEFLAGS is more qemu specific). Use --quiet to silence make 'is up to date' message. Backports commit 42a77f1ce4934b243df003f95bda88530631387a from qemu
This commit is contained in:
parent
b658f1f36c
commit
cf80a410a9
2 changed files with 3 additions and 1 deletions
|
@ -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))
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue