From 73b6bdecfd5356dde578039b5b8fae67be1136e7 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Fri, 13 Jan 2023 03:03:51 +0200 Subject: [PATCH] Edit Makefile again --- feed/asterisk-chan-quectel/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/feed/asterisk-chan-quectel/Makefile b/feed/asterisk-chan-quectel/Makefile index 6a31b80..771c616 100644 --- a/feed/asterisk-chan-quectel/Makefile +++ b/feed/asterisk-chan-quectel/Makefile @@ -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)