X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/888927ac1c34c9b49f6f2b1808851c8eefe8fdda..6aff8580dafb32c336411ad5ffc822e840047429:/package/pjsip/Makefile diff --git a/package/pjsip/Makefile b/package/pjsip/Makefile index f1317fffd..42db149ba 100644 --- a/package/pjsip/Makefile +++ b/package/pjsip/Makefile @@ -18,6 +18,8 @@ PKG_INSTALL:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/pjproject-$(PKG_VERSION) +PKG_BUILD_DEPENDS:=TARGET_lantiq:kmod-ltq-tapi TARGET_lantiq:kmod-ltq-vmmc + include $(INCLUDE_DIR)/package.mk define Package/pjsip-template @@ -64,7 +66,7 @@ EXTRA_CFLAGS:=-I$(STAGING_DIR)/usr/include/drv_tapi -I$(STAGING_DIR)/usr/include endif Package/pjsip-oss=$(call Package/pjsip-template,oss,) -Package/pjsip-ltq-tapi=$(call Package/pjsip-template,ltq-tapi,@TARGET_lantiq) +Package/pjsip-ltq-tapi=$(call Package/pjsip-template,ltq-tapi,@TARGET_lantiq +TARGET_lantiq:kmod-ltq-tapi +TARGET_lantiq:kmod-ltq-vmmc) define Build/Prepare $(PKG_UNPACK) @@ -79,7 +81,7 @@ endef define Build/Compile CFLAGS="$(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS) $(LIBGCC_S)" \ $(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) endef