diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-07-03 17:37:31 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-07-03 17:37:31 +0000 |
commit | 913081d31bb50d2c20369f7b8ec47f6f373af565 (patch) | |
tree | e54d10944c1f714d4d61482120ff6e226ca2b872 | |
parent | a79b0f5a1ccb2479c01583b70e63644c0c20547c (diff) |
add menuconfig option to enable log files during build process
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27403 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | Config.in | 5 | ||||
-rw-r--r-- | rules.mk | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -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 @@ -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 |