build: add GLUON_DEBUG flag, if enabled set CONFIG_DEBUG and do not strip binaries (#1028)

This commit is contained in:
Christof Schulze 2017-02-11 23:33:07 +01:00 committed by Matthias Schiffer
parent b38bd942b9
commit b40d94111e
2 changed files with 9 additions and 1 deletions

View File

@ -26,7 +26,7 @@ endif
GLUON_LANGS ?= en GLUON_LANGS ?= en
export GLUON_RELEASE GLUON_ATH10K_MESH GLUON_REGION export GLUON_RELEASE GLUON_ATH10K_MESH GLUON_REGION GLUON_DEBUG
update: FORCE update: FORCE

View File

@ -12,3 +12,11 @@ config 'CONFIG_LUCI_SRCDIET=y'
config 'CONFIG_TARGET_MULTI_PROFILE=y' config 'CONFIG_TARGET_MULTI_PROFILE=y'
config 'CONFIG_TARGET_PER_DEVICE_ROOTFS=y' config 'CONFIG_TARGET_PER_DEVICE_ROOTFS=y'
if [ "$GLUON_DEBUG" ]
then
config 'CONFIG_DEBUG=y'
config 'CONFIG_NO_STRIP=y'
config '# CONFIG_USE_STRIP is not set'
config '# CONFIG_USE_SSTRIP is not set'
fi