summaryrefslogtreecommitdiffstats
path: root/package/pjsip/Makefile
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-13 11:08:13 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-13 11:08:13 +0000
commit1ea0a3e0e8667a871ccd0bce7d3f5c4ad0a4c28d (patch)
treedfa3a760c0ba7292ee101dc4fd4dd28d2de7aec5 /package/pjsip/Makefile
parent13af496c2adddfa0ab1b1a410fa43de7e96bb604 (diff)
[lantiq] unify tapi deps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33160 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/pjsip/Makefile')
-rw-r--r--package/pjsip/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/pjsip/Makefile b/package/pjsip/Makefile
index d21efc02f..7b46585f6 100644
--- a/package/pjsip/Makefile
+++ b/package/pjsip/Makefile
@@ -20,7 +20,8 @@ PKG_BUILD_PARALLEL:=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)/ltqtapi.mk
+PKG_BUILD_DEPENDS:=$(LTQ_TAPI_BUILD_DEPENDS)
include $(INCLUDE_DIR)/package.mk
@@ -70,7 +71,7 @@ EXTRA_CFLAGS:=-I$(STAGING_DIR)/usr/include/drv_tapi -I$(STAGING_DIR)/usr/include
endif
Package/pjsip-oss=$(call Package/pjsip-template,oss,BROKEN)
-Package/pjsip-ltq-tapi=$(call Package/pjsip-template,ltq-tapi,@TARGET_lantiq +TARGET_lantiq:kmod-ltq-tapi +TARGET_lantiq:kmod-ltq-vmmc)
+Package/pjsip-ltq-tapi=$(call Package/pjsip-template,ltq-tapi,$(LTQ_TAPI_DEPENDS))
USE_LOCAL=$(shell ls ./src/ 2>/dev/null >/dev/null && echo 1)
ifneq ($(USE_LOCAL),)