Edit Makefile again

This commit is contained in:
Lee Miller 2023-01-13 03:03:51 +02:00
parent 1da3e27066
commit 73b6bdecfd
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -28,7 +28,7 @@ include $(INCLUDE_DIR)/package.mk
# asterisk-chan-quectel needs iconv
include $(INCLUDE_DIR)/nls.mk
define Package/asterisk-chan-quectel
define Package/$(PKG_NAME)
SUBMENU:=Telephony
SECTION:=net
CATEGORY:=Network
@ -37,15 +37,15 @@ define Package/asterisk-chan-quectel
TITLE:=Asterisk Mobile Telephony Module
endef
define Package/asterisk-chan-quectel/description
define Package/$(PKG_NAME)/description
Asterisk channel driver for mobile telephony.
endef
CONFIGURE_ARGS+= \
--with-asterisk=$(STAGING_DIR)/usr/include \
--with-astversion=20 \
--with-iconv=$(ICONV_PREFIX)/include
--with-astversion=20 \
--with-iconv=$(ICONV_PREFIX)/include
TARGET_CFLAGS+= \
-I$(CHAN_quectel_AST_HEADERS)
@ -58,12 +58,12 @@ CONFIGURE_VARS += \
ac_cv_type_ssize_t=yes
define Package/asterisk-chan-quectel/conffiles
define Package/$(PKG_NAME)/conffiles
/etc/asterisk/quectel.conf
endef
define Package/asterisk-chan-quectel/install
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/quectel.conf $(1)/etc/asterisk
$(INSTALL_DIR) $(1)$(MODULES_DIR)