Commit 479f5ace authored by Patrik Stridvall's avatar Patrik Stridvall
Browse files

asterisk-1.8.x-mod: Makefile: Added place holders for more easy configuring of...

asterisk-1.8.x-mod: Makefile: Added place holders for more easy configuring of make options DEBUG and OPTIMIZE
parent e2458f90
......@@ -416,11 +416,16 @@ ifeq ($(CONFIG_DEBUG),y)
#MENUSELECT_ARGS+= \
# --enable STATIC_BUILD
DEBUG:=
OPTIMIZE:=
#CONFIGURE_ARGS+= \
# --enable-coverage
else
MENUSELECT_ARGS+= \
--enable LOW_MEMORY
DEBUG:=
OPTIMIZE:=
endif
define Build/Prepare
......@@ -452,8 +457,8 @@ define Build/Compile
ASTKEYDIR="/usr/lib/asterisk" \
ASTDBDIR="/usr/lib/asterisk" \
NOISY_BUILD="1" \
DEBUG="" \
OPTIMIZE="" \
DEBUG="$(DEBUG)" \
OPTIMIZE="$(OPTIMIZE)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install samples
endef
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment