diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-17 12:09:52 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-17 12:09:52 +0000 |
commit | b5db14a3fb9fbcd780b4fcb05c2298c8bbef0a54 (patch) | |
tree | adf9bd00191cbaf785782586a22989a46c17cd23 | |
parent | 695fcdc1547838816ccf421cc85f0d5014c94a7b (diff) |
combine the output rules in one place
-rw-r--r-- | Makerules | 7 | ||||
-rw-r--r-- | Rules.mak | 11 |
2 files changed, 7 insertions, 11 deletions
@@ -31,13 +31,20 @@ all_objs: $(ar_objs) endif headers-y: $(headers-y) + @true MAKEFLAGS += --no-print-directory +SHELL_SET_X := set +x ifneq ($(findstring s,$(MAKEFLAGS)),) +export MAKE_IS_SILENT := y +SECHO := -@false DISP := sil Q := @ else +export MAKE_IS_SILENT := n +SECHO := @echo ifneq ($(V)$(VERBOSE),) +SHELL_SET_X := set -x DISP := ver Q := else @@ -113,17 +113,6 @@ check_as=$(shell \ if $(CC) -Wa,$(1) -Wa,-Z -c -o /dev/null -xassembler /dev/null > /dev/null 2>&1; \ then echo "-Wa,$(1)"; fi) -# Setup some shortcuts so that silent mode is silent like it should be -ifeq ($(findstring s,$(MAKEFLAGS)),) -export MAKE_IS_SILENT=n -SECHO=@echo -SHELL_SET_X=set -x -else -export MAKE_IS_SILENT=y -SECHO=-@false -SHELL_SET_X=set +x -endif - ARFLAGS:=cr OPTIMIZATION:= |