summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-17 12:09:52 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-17 12:09:52 +0000
commitb5db14a3fb9fbcd780b4fcb05c2298c8bbef0a54 (patch)
treeadf9bd00191cbaf785782586a22989a46c17cd23
parent695fcdc1547838816ccf421cc85f0d5014c94a7b (diff)
combine the output rules in one place
-rw-r--r--Makerules7
-rw-r--r--Rules.mak11
2 files changed, 7 insertions, 11 deletions
diff --git a/Makerules b/Makerules
index 429b6aa7f..47c0157ec 100644
--- a/Makerules
+++ b/Makerules
@@ -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
diff --git a/Rules.mak b/Rules.mak
index 12eb92d68..212b43a2d 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -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:=