Commit 8af7bed8 authored by Grzegorz Sluja's avatar Grzegorz Sluja
Browse files

Add support of local source build for asterisk


Signed-off-by: Grzegorz Sluja's avatarGrzegorz Sluja <grzegorz.sluja@iopsys.eu>
parent dacfc60c
......@@ -11,11 +11,14 @@ PKG_NAME:=asterisk
PKG_VERSION:=18.4.0
PKG_RELEASE:=1
LOCAL_DEV=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE:=asterisk-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_URL:=https://dev.iopsys.eu/fork/asterisk.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=f750ae5b85377b25b5997f083f6d0045c97bb866
PKG_MIRROR_HASH:=skip
endif
PKG_BUILD_DEPENDS:=libxml2/host
......@@ -705,6 +708,12 @@ AST_MENUSELECT_OPTS = \
--without-newt \
--without-curses
ifeq ($(LOCAL_DEV),1)
define Build/Prepare
rsync -r ~/git/asterisk/ $(PKG_BUILD_DIR)/
endef
endif
define Build/menuselect
CC="$(HOSTCC)" \
CFLAGS="$(HOST_CFLAGS)" \
......
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