Skip to content
Snippets Groups Projects
Unverified Commit faceb393 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

config: check if GLUON_DEBUG is 1 rather than nonempty

parent a99fdf79
No related merge requests found
...@@ -35,12 +35,12 @@ $(GLUON_SITEDIR)/site.mk: ...@@ -35,12 +35,12 @@ $(GLUON_SITEDIR)/site.mk:
include $(GLUON_SITEDIR)/site.mk include $(GLUON_SITEDIR)/site.mk
GLUON_WLAN_MESH ?= 11s
GLUON_RELEASE ?= $(error GLUON_RELEASE not set. GLUON_RELEASE can be set in site.mk or on the command line) GLUON_RELEASE ?= $(error GLUON_RELEASE not set. GLUON_RELEASE can be set in site.mk or on the command line)
GLUON_WLAN_MESH ?= 11s
GLUON_DEBUG ?= 0
export GLUON_RELEASE GLUON_WLAN_MESH GLUON_REGION GLUON_DEBUG export GLUON_RELEASE GLUON_REGION GLUON_WLAN_MESH GLUON_DEBUG
show-release: show-release:
@echo '$(GLUON_RELEASE)' @echo '$(GLUON_RELEASE)'
......
...@@ -24,8 +24,7 @@ config 'CONFIG_PACKAGE_ATH_DEBUG=y' ...@@ -24,8 +24,7 @@ config 'CONFIG_PACKAGE_ATH_DEBUG=y'
try_config 'CONFIG_TARGET_MULTI_PROFILE=y' try_config 'CONFIG_TARGET_MULTI_PROFILE=y'
try_config 'CONFIG_TARGET_PER_DEVICE_ROOTFS=y' try_config 'CONFIG_TARGET_PER_DEVICE_ROOTFS=y'
if [ "$GLUON_DEBUG" ] if [ "$GLUON_DEBUG" = 1 ]; then
then
config 'CONFIG_DEBUG=y' config 'CONFIG_DEBUG=y'
config 'CONFIG_NO_STRIP=y' config 'CONFIG_NO_STRIP=y'
config '# CONFIG_USE_STRIP is not set' config '# CONFIG_USE_STRIP is not set'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment