add menuconfig option to enable log files during build process
[openwrt/svn-archive/archive.git] / rules.mk
index 7be2d61..874066e 100644 (file)
--- 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