From 54f30d4f460d9d9ae73a60d2c51cd3932310c720 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Mon, 6 Aug 2012 18:56:38 +0000
Subject: [PATCH] fixes tapi dependencies

SVN-Revision: 33029
---
 package/ltq-tapi/Makefile     | 2 +-
 package/ltq-tapidemo/Makefile | 2 +-
 package/ltq-vmmc/Makefile     | 2 +-
 package/owsip/Makefile        | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/ltq-tapi/Makefile b/package/ltq-tapi/Makefile
index ecaac2eeb4..3027ec490a 100644
--- a/package/ltq-tapi/Makefile
+++ b/package/ltq-tapi/Makefile
@@ -22,7 +22,7 @@ define KernelPackage/ltq-tapi
   SUBMENU:=Voice over IP
   TITLE:=Lantiq TAPI subsystem
   URL:=http://www.lantiq.com/
-  DEPENDS:=+kmod-ltq-ifxos @TARGET_lantiq
+  DEPENDS:=+kmod-ltq-ifxos @(TARGET_lantiq_danube||TARGET_lantiq_falcon)
   FILES:=$(PKG_BUILD_DIR)/src/drv_tapi.ko
   AUTOLOAD:=$(call AutoLoad,20,drv_tapi)
   MAINTAINER:=John Crispin <blogic@openwrt.org>
diff --git a/package/ltq-tapidemo/Makefile b/package/ltq-tapidemo/Makefile
index 0fbcce0c59..1c1d2b4356 100644
--- a/package/ltq-tapidemo/Makefile
+++ b/package/ltq-tapidemo/Makefile
@@ -26,7 +26,7 @@ define Package/ltq-tapidemo
   CATEGORY:=Network
   TITLE:=TAPIdemo application for Lantiq boards
   URL:=http://www.lantiq.com/
-  DEPENDS:=+kmod-ltq-tapi +kmod-ltq-vmmc +libpthread
+  DEPENDS:=+kmod-ltq-tapi +kmod-ltq-vmmc +libpthread @(TARGET_lantiq_danube||TARGET_lantiq_falcon)
   MAINTAINER:=John Crispin <blogic@openwrt.org>
   MENU:=1
 endef
diff --git a/package/ltq-vmmc/Makefile b/package/ltq-vmmc/Makefile
index a0af1e5304..74724eb8be 100644
--- a/package/ltq-vmmc/Makefile
+++ b/package/ltq-vmmc/Makefile
@@ -22,7 +22,7 @@ define KernelPackage/ltq-vmmc
   SUBMENU:=Voice over IP
   TITLE:=TAPI LL driver for Voice Macro
   URL:=http://www.lantiq.com/
-  DEPENDS:=+kmod-ltq-tapi @(TARGET_lantiq_danube||TARGET_lantiq_falcon||TARGET_lantiq_falcon_stable)
+  DEPENDS:=+kmod-ltq-tapi @(TARGET_lantiq_danube||TARGET_lantiq_falcon)
   FILES:=$(PKG_BUILD_DIR)/src/drv_vmmc.ko
   AUTOLOAD:=$(call AutoLoad,25,drv_vmmc)
   MAINTAINER:=John Crispin <blogic@openwrt.org>
diff --git a/package/owsip/Makefile b/package/owsip/Makefile
index d36036b9d8..37d5d8cee9 100644
--- a/package/owsip/Makefile
+++ b/package/owsip/Makefile
@@ -34,7 +34,7 @@ define Package/owsip-template
 endef
 
 Package/owsip-oss=$(call Package/owsip-template,oss,OSS,BROKEN)
-Package/owsip-ltq-tapi=$(call Package/owsip-template,ltq-tapi,Lantiq VMMC,@TARGET_lantiq +kmod-ltq-kpi2udp)
+Package/owsip-ltq-tapi=$(call Package/owsip-template,ltq-tapi,Lantiq VMMC,@(TARGET_lantiq_danube||TARGET_lantiq_falcon) +kmod-ltq-kpi2udp)
 
 define Package/owsip-$(BUILD_VARIANT)/description
 	OpenWrt sip daemon - $(BUILD_VARIANT)
-- 
GitLab