diff options
author | John Crispin <blogic@openwrt.org> | 2011-11-11 22:23:26 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2011-11-11 22:23:26 +0000 |
commit | 5a34f62218c5e932b3fec0cf12a32f1025d8e4ad (patch) | |
tree | d3031540135a97ac8ee5db76dd54e9ecb650c4d5 /package/pjsip/Makefile | |
parent | 796b2be4f5f2c227f9aa427dd75186e5fc9254f1 (diff) | |
download | upstream-5a34f62218c5e932b3fec0cf12a32f1025d8e4ad.tar.gz upstream-5a34f62218c5e932b3fec0cf12a32f1025d8e4ad.tar.bz2 upstream-5a34f62218c5e932b3fec0cf12a32f1025d8e4ad.zip |
pjsip: bump to 1.10 and improve ltq_tapi backend
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28963 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/pjsip/Makefile')
-rw-r--r-- | package/pjsip/Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/package/pjsip/Makefile b/package/pjsip/Makefile index 42db149baf..b7628089e2 100644 --- a/package/pjsip/Makefile +++ b/package/pjsip/Makefile @@ -8,13 +8,15 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pjsip -PKG_VERSION:=1.8.5 -PKG_RELEASE:=2 +PKG_VERSION:=1.10 +PKG_RELEASE:=3 PKG_SOURCE:=pjproject-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.pjsip.org/release/$(PKG_VERSION)/ -PKG_MD5SUM:=f9aa9e58b4d697245eb4bfa7d81a54a3 +PKG_MD5SUM:=e215d0637d3422d49a63c2cde6673951 + PKG_INSTALL:=1 +PKG_BUILD_PARALLEL:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/pjproject-$(PKG_VERSION) @@ -36,6 +38,7 @@ CONFIGURE_PREFIX=/usr/pjsip-$(BUILD_VARIANT) ifeq ($(BUILD_VARIANT),oss) CONFIGURE_ARGS += \ + --disable-floating-point \ --enable-g711-codec \ --disable-l16-codec \ --disable-g722-codec \ @@ -51,6 +54,7 @@ endif ifeq ($(BUILD_VARIANT),ltq-tapi) CONFIGURE_ARGS += \ + --disable-floating-point \ --enable-g711-codec \ --disable-l16-codec \ --disable-g722-codec \ @@ -80,15 +84,15 @@ define Build/Configure endef define Build/Compile - CFLAGS="$(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS) $(LIBGCC_S)" \ - $(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) + CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \ + CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS) $(LIBGCC_S) -lm" \ + $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) endef define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/ - $(CP) $(PKG_INSTALL_DIR)/usr/pjsip-$(BUILD_VARIANT) \ - $(1)/usr/ + $(INSTALL_DIR) $(1)/usr + $(CP) $(PKG_INSTALL_DIR)/usr/pjsip-$(BUILD_VARIANT) $(1)/usr endef define Package/pjsip-$(BUILD_VARIANT)/install |