mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
asterisk-1.8.x-mod: Makefile: Added place holders for more easy configuring of make options DEBUG and OPTIMIZE
This commit is contained in:
parent
8564f68eff
commit
009f1fc76a
1 changed files with 7 additions and 2 deletions
|
|
@ -413,11 +413,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
|
||||
|
|
@ -449,8 +454,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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue