add menuconfig option to enable log files during build process

SVN-Revision: 27403
This commit is contained in:
John Crispin 2011-07-03 17:37:31 +00:00
parent 96cc4174e3
commit 4551f2bfcc
2 changed files with 9 additions and 0 deletions

View File

@ -425,6 +425,11 @@ menuconfig DEVEL
In this instance, the --refererence option of git clone will
be used thus creating a quick local clone of your repo.
config BUILD_LOG
bool "Enable log files during build process" if DEVEL
help
If enabled log files will be written to the ./log directory
menuconfig TARGET_OPTIONS
bool "Target Options" if DEVEL

View File

@ -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