projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8653b07
)
add menuconfig option to enable log files during build process
author
John Crispin
<blogic@openwrt.org>
Sun, 3 Jul 2011 17:37:31 +0000
(17:37 +0000)
committer
John Crispin
<blogic@openwrt.org>
Sun, 3 Jul 2011 17:37:31 +0000
(17:37 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27403
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
Config.in
patch
|
blob
|
history
rules.mk
patch
|
blob
|
history
diff --git
a/Config.in
b/Config.in
index
61d87a0
..
f36221c
100644
(file)
--- a/
Config.in
+++ b/
Config.in
@@
-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
diff --git
a/rules.mk
b/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