aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-07-03 17:37:31 +0000
committerJohn Crispin <john@openwrt.org>2011-07-03 17:37:31 +0000
commit4551f2bfcc97fb2a614b56e27e9b8ef7e814c194 (patch)
treea5f5654f7c25db86845728eb9c42f006f2cd4aa0 /rules.mk
parent96cc4174e3fc26c3892b6f033060ab6434363cef (diff)
downloadupstream-4551f2bfcc97fb2a614b56e27e9b8ef7e814c194.tar.gz
upstream-4551f2bfcc97fb2a614b56e27e9b8ef7e814c194.tar.bz2
upstream-4551f2bfcc97fb2a614b56e27e9b8ef7e814c194.zip
add menuconfig option to enable log files during build process
SVN-Revision: 27403
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index 7be2d6195d..874066e378 100644
--- a/rules.mk
+++ b/rules.mk
@@ -239,6 +239,10 @@ else
TAR_OPTIONS:=-xf -
endif
+ifeq ($(CONFIG_BUILD_LOG),y)
+ BUILD_LOG:=1
+endif
+
define shvar
V_$(subst .,_,$(subst -,_,$(subst /,_,$(1))))
endef