Skip to content
Snippets Groups Projects
Commit 242527cc authored by mbm's avatar mbm
Browse files

switch on new verbose system

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4064 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 3eb60d77
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@ RELEASE:=Kamikaze
#--------------------------------------------------------------
TOPDIR=${shell pwd}
export TOPDIR
include $(TOPDIR)/include/verbose.mk
OPENWRTVERSION:=$(RELEASE)
ifneq ($(VERSION),)
......
include $(TOPDIR)/rules.mk
KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
ifneq ($(CONFIG_BIG_ENDIAN),y)
......
# OpenWrt.org 2006
# $Id:$
ifeq ($(DUMP),)
ifndef KBUILD_VERBOSE
KBUILD_VERBOSE=0
ifeq ("$(origin V)", "command line")
KBUILD_VERBOSE=$(V)
endif
ifndef KBUILD_VERBOSE
ifeq ($(DUMP),)
KBUILD_VERBOSE=1
else
KBUILD_VERBOSE=99
endif
ifeq ("$(origin V)", "command line")
KBUILD_VERBOSE=$(V)
endif
endif
ifneq ($(KBUILD_VERBOSE),99)
ifeq ($(QUIET),1)
$(MAKECMDGOALS): trace
trace: FORCE
......@@ -18,6 +23,9 @@ ifeq ($(DUMP),)
}
else
export QUIET:=1
ifeq ($(KBUILD_VERBOSE),0)
MAKE:=&>/dev/null $(MAKE)
endif
MAKE:=3>&1 4>&2 $(MAKE)
endif
......
......@@ -17,11 +17,9 @@ $(STAMP_DIR) $(TARGET_DIR):
$(MAKE) -C $(patsubst %-prepare,%,$@) prepare MAKEFLAGS="$(BUILD_MAKEFLAGS)"
%-compile: $(STAMP_DIR) $(TARGET_DIR)
@echo "-> make $@"
$(MAKE) -C $(patsubst %-compile,%,$@) compile MAKEFLAGS="$(BUILD_MAKEFLAGS)"
%-install: $(STAMP_DIR) $(TARGET_DIR)
@echo "-> make $@"
$(MAKE) -C $(patsubst %-install,%,$@) install MAKEFLAGS="$(BUILD_MAKEFLAGS)"
%-clean: $(STAMP_DIR) $(TARGET_DIR)
......
-include $(TOPDIR)/.config
include $(TOPDIR)/include/verbose.mk
export SHELL=/bin/bash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment