projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a9cd90
)
Control build type by CONFIG_DEBUG option
author
Henning Rogge
<hrogge@gmail.com>
Thu, 8 Jun 2017 17:06:40 +0000
(19:06 +0200)
committer
Henning Rogge
<hrogge@gmail.com>
Thu, 8 Jun 2017 17:06:40 +0000
(19:06 +0200)
oonf-olsrd2/Makefile
patch
|
blob
|
history
diff --git
a/oonf-olsrd2/Makefile
b/oonf-olsrd2/Makefile
index f744861886e0315b5b73691d7830ae9fe771b899..c9d3d52be613ac569aa60004adea012f8f0a3f89 100644
(file)
--- a/
oonf-olsrd2/Makefile
+++ b/
oonf-olsrd2/Makefile
@@
-28,7
+28,10
@@
CMAKE_OPTIONAL_PLUGINS:= $(subst $(SPACE),;,$(strip \
$(if $(filter y,$(CONFIG_OONF_GENERIC_HTTP)),http,) \
))
-CMAKE_OPTIONS=-D OONF_NO_WERROR:Bool=true \
+BUILD_TYPE:= $(if $(filter y,$(CONFIG_DEBUG)),Debug,Release)
+
+CMAKE_OPTIONS=-D CMAKE_BUILD_TYPE:String=$(BUILD_TYPE) \
+ -D OONF_NO_WERROR:Bool=true \
-D OONF_LOGGING_LEVEL:String=debug \
-D OONF_NO_TESTING:Bool=true \
-D UCI:Bool=true \