asterisk-1.8.x: chan-lantiq: dependency fixes for xrx200
authorJiri Slachta <slachta@cesnet.cz>
Sat, 13 Dec 2014 09:30:54 +0000 (10:30 +0100)
committerJiri Slachta <slachta@cesnet.cz>
Sat, 13 Dec 2014 09:30:54 +0000 (10:30 +0100)
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
net/asterisk-1.8.x/Makefile

index 329d805f97c94e644b7261c3757c4454d8f753b1..b94dd0560e1f248d95c40a0577a1959deb836e46 100644 (file)
@@ -243,8 +243,10 @@ CONFIGURE_ARGS+= \
 define Build/Prepare
        $(call Build/Prepare/Default)
 ifneq ($(CONFIG_TARGET_lantiq),)
+ifneq ($(CONFIG_TARGET_lantiq_xrx200),y)
        $(CP) ./src-lantiq/* $(PKG_BUILD_DIR)/
 endif
+endif
 endef
 
 define Build/Configure
@@ -343,7 +345,7 @@ $(eval $(call BuildAsterisk18Module,func-vmcount,vmcount dialplan,a vmcount dial
 $(eval $(call BuildAsterisk18Module,chan-agent,Agents proxy channel,An implementation of agents proxy channel,,,,chan_agent,))
 $(eval $(call BuildAsterisk18Module,chan-gtalk,GTalk,An implementation of chan_gtalk and res_jabber for GTalk support,+libiksemel,/etc/asterisk/gtalk.conf /etc/asterisk/jabber.conf,gtalk.conf jabber.conf,chan_gtalk res_jabber,))
 $(eval $(call BuildAsterisk18Module,chan-iax2,IAX2 channel,An implementation of IAX2 channel,+asterisk18-res-timing-timerfd,/etc/asterisk/iax.conf /etc/asterisk/iaxprov.conf,iax.conf iaxprov.conf,chan_iax2,))
-$(eval $(call BuildAsterisk18Module,chan-lantiq,Lantiq TAPI channel,An implementation of Lantiq TAPI channel,@TARGET_lantiq +kmod-ltq-vmmc,/etc/asterisk/lantiq.conf,lantiq.conf,chan_lantiq,))
+$(eval $(call BuildAsterisk18Module,chan-lantiq,Lantiq TAPI channel,An implementation of Lantiq TAPI channel,@TARGET_lantiq @!TARGET_lantiq_xrx200 +kmod-ltq-vmmc,/etc/asterisk/lantiq.conf,lantiq.conf,chan_lantiq,))
 $(eval $(call BuildAsterisk18Module,chan-local,Local proxy channel,An implementation of local proxy channel,,,,chan_local,))
 $(eval $(call BuildAsterisk18Module,chan-mgcp,MGCP channel,the channel chan_mgcp,,/etc/asterisk/mgcp.conf,mgcp.conf,chan_mgcp,))
 $(eval $(call BuildAsterisk18Module,chan-ooh323,ooH323 channel,the channel chan_ooh323,,/etc/asterisk/ooh323.conf,ooh323.conf,chan_ooh323,))