Edit Makefile again

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

View File

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