mirror of
https://git.openwrt.org/feed/routing.git
synced 2025-01-08 11:47:51 +08:00
Control build type by CONFIG_DEBUG option
This commit is contained in:
parent
5a9cd902ab
commit
560504b852
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user